Package | Description |
---|---|
org.treetank.access |
Access to Treetank
|
org.treetank.access.conf |
Configuration ofTreetank
|
org.treetank.api |
TreeTank API
This package contains the public TreeTank API.
|
org.treetank.bucket |
Bucket Layer for Treetank
|
org.treetank.bucket.interfaces | |
org.treetank.data | |
org.treetank.filelistener.file.data | |
org.treetank.io |
This package represent the interaction of treetank with the
backend (namely a file, a berkley-db, a database).
|
org.treetank.io.berkeley |
Implementation for the BerkeleyDB as the backend.
|
org.treetank.io.combined | |
org.treetank.io.jclouds | |
org.treetank.node |
Node Page Layer for Treetank
|
org.treetank.node.delegates | |
org.treetank.service.xml.diff.algorithm.fmes |
Provides the fast match / edit script (FMES) tree to tree correction
algorithm as described in "Change detection in hierarchically structured
information" by S.
|
org.treetank.service.xml.serialize |
Serializer Package
|
Modifier and Type | Method and Description |
---|---|
void |
BucketWriteTrx.clearLog() |
void |
FilelistenerWriteTrx.close()
Close this transaction
|
void |
FilelistenerReadTrx.close()
Close this transaction
|
void |
IscsiWriteTrx.close()
Close this transaction
|
void |
IscsiReadTrx.close()
Close this transaction
|
boolean |
BucketWriteTrx.close()
Close the transaction.
|
boolean |
BucketReadTrx.close()
Closing this Readtransaction.
|
static boolean |
Storage.createStorage(StorageConfiguration pStorageConfig)
Creating a storage.
|
protected static long[] |
BucketReadTrx.dereferenceLeafOfTree(IBackendReader pReader,
long pStartKey,
long pSeqBucketKey)
Find reference pointing to leaf bucket of an indirect tree.
|
boolean |
Session.deregisterBucketTrx(IBucketReadTrx pTrx)
Deregisters a registered bucket transaction.
|
IData |
BucketWriteTrx.getData(long pDataKey)
Getting the data related to a key.
|
IData |
BucketReadTrx.getData(long pDataKey)
Getting the data related to the given data key.
|
File |
FilelistenerWriteTrx.getFullFile(String pRelativePath)
This method allows you to get a full file using the node key of the
header
|
File |
FilelistenerReadTrx.getFullFile(String pRelativePath)
This method allows you to get a full file using the node key of the
header
|
long |
Session.getMostRecentVersion()
Getting the most recent version from the storage.
|
long |
BucketWriteTrx.getRevision()
Getting the revision number of this transaction
|
long |
BucketReadTrx.getRevision()
Getting the revision number of this transaction
|
protected List<DataBucket> |
BucketReadTrx.getSnapshotBuckets(long pSeqDataBucketKey)
Dereference data bucket reference.
|
boolean |
NodeWriteTrx.moveTo(long pKey)
Move cursor to a node by its node key.
|
boolean |
NodeReadTrx.moveTo(long pNodeKey)
Move cursor to a node by its node key.
|
boolean |
NodeWriteTrx.moveToAttribute(int pIndex)
Move cursor to attribute by its index.
|
boolean |
NodeReadTrx.moveToAttribute(int mIndex)
Move cursor to attribute by its index.
|
boolean |
NodeWriteTrx.moveToNamespace(int pIndex)
Move cursor to namespace declaration by its index.
|
boolean |
NodeReadTrx.moveToNamespace(int mIndex)
Move cursor to namespace declaration by its index.
|
void |
Session.waitForRunningCommit()
Waiting and blocking for running commit.
|
Modifier and Type | Method and Description |
---|---|
static StorageConfiguration |
StorageConfiguration.deserialize(File pFile)
Generate a StorageConfiguration out of a file.
|
static ResourceConfiguration |
ResourceConfiguration.deserialize(File pFile,
String pResource)
Deserializing a Resourceconfiguration out of a JSON-file from the persistent storage.
|
static Properties |
StandardSettings.getProps(String pathToStorage,
String resource) |
static void |
ResourceConfiguration.serialize(ResourceConfiguration pConfig) |
static void |
StorageConfiguration.serialize(StorageConfiguration pConfig)
Serializing a
StorageConfiguration to a json file. |
Modifier and Type | Method and Description |
---|---|
void |
IFilelistenerReadTrx.close()
Close this transaction
|
void |
IIscsiReadTrx.close()
Close this transaction
|
boolean |
IBucketReadTrx.close()
Close the transaction.
|
boolean |
ISession.deregisterBucketTrx(IBucketReadTrx pTrx)
Deregisters a registered bucket transaction.
|
IData |
IDataFactory.deserializeData(DataInput pData)
Create a data out of a serialized byte-representation.
|
IMetaEntry |
IMetaEntryFactory.deserializeEntry(DataInput pData)
Create a meta-entry out of a serialized byte-representation.
|
IData |
IBucketReadTrx.getData(long pKey)
Getting the data related to a key.
|
File |
IFilelistenerReadTrx.getFullFile(String pRelativePath)
This method allows you to get a full file using the node key of the
header
|
long |
ISession.getMostRecentVersion()
Getting the most recent version from the storage.
|
long |
IBucketReadTrx.getRevision()
Getting the revision number of this transaction
|
boolean |
INodeReadTrx.moveTo(long pKey)
Move cursor to a node by its node key.
|
boolean |
INodeReadTrx.moveToAttribute(int pIndex)
Move cursor to attribute by its index.
|
boolean |
INodeReadTrx.moveToNamespace(int pIndex)
Move cursor to namespace declaration by its index.
|
void |
IMetaEntry.serialize(DataOutput pOutput)
Serializing to given dataput
|
void |
IData.serialize(DataOutput pOutput)
Serializing to given dataput
|
void |
ISession.waitForRunningCommit()
Waiting and blocking for running commit.
|
Modifier and Type | Method and Description |
---|---|
IBucket |
BucketFactory.deserializeBucket(DataInput pInput)
Create bucket.
|
IData |
DumbDataFactory.deserializeData(DataInput pSource)
Create a data out of a serialized byte-representation.
|
IMetaEntry |
DumbMetaEntryFactory.deserializeEntry(DataInput pData)
Create a meta-entry out of a serialized byte-representation.
|
void |
UberBucket.serialize(DataOutput pOutput)
Serializing to given dataput
|
void |
RevisionRootBucket.serialize(DataOutput pOutput)
Serializing to given dataput
|
void |
MetaBucket.serialize(DataOutput pOutput)
Serializing to given dataput
|
void |
IndirectBucket.serialize(DataOutput pOutput)
Serializing to given dataput
|
void |
DumbMetaEntryFactory.DumbKey.serialize(DataOutput pOutput)
Serializing to given dataput
|
void |
DumbMetaEntryFactory.DumbValue.serialize(DataOutput pOutput)
Serializing to given dataput
|
void |
DumbDataFactory.DumbData.serialize(DataOutput pOutput)
Serializing to given dataput
|
void |
DataBucket.serialize(DataOutput pOutput)
Serializing to given dataput
|
void |
DataBucket.DeletedData.serialize(DataOutput pOutput)
Serializing to given dataput
|
Modifier and Type | Method and Description |
---|---|
void |
IBucket.serialize(DataOutput pOutput)
Serializing to given dataput
|
Modifier and Type | Method and Description |
---|---|
IData |
BlockDataElementFactory.deserializeData(DataInput input)
Create a data out of a serialized byte-representation.
|
void |
BlockDataElement.serialize(DataOutput output)
Serializing to given dataput
|
Modifier and Type | Method and Description |
---|---|
IData |
FileDataFactory.deserializeData(DataInput input)
Create a data out of a serialized byte-representation.
|
IMetaEntry |
FilelistenerMetaDataFactory.deserializeEntry(DataInput input) |
void |
FilelistenerMetaDataFactory.MetaKey.serialize(DataOutput output)
Serializing to given dataput
|
void |
FilelistenerMetaDataFactory.MetaValue.serialize(DataOutput output)
Serializing to given dataput
|
void |
FileData.serialize(DataOutput output)
Serializing to given dataput
|
Modifier and Type | Method and Description |
---|---|
void |
MemoryLog.close() |
void |
LRULog.close()
Closing the log.
|
void |
ILog.close()
Closing the log.
|
void |
IBackendWriter.close()
Closing the write access.
|
void |
IBackendReader.close()
Closing the storage.
|
static boolean |
IOUtils.createFolderStructure(File pFile,
IConfigurationPath[] pPaths)
Creating a folder structure based on a set of paths given as parameter and returning a boolean
determining the success.
|
LogValue |
MemoryLog.get(LogKey pKey) |
LogValue |
LRULog.get(LogKey pKey)
Getting a
LogValue for a given key |
LogValue |
ILog.get(LogKey pKey)
Getting a
LogValue for a given key |
void |
IBackend.initialize()
Initializing the storage.
|
void |
MemoryLog.put(LogKey pKey,
LogValue pValue) |
void |
LRULog.put(LogKey pKey,
LogValue pValue)
Putting a new entry to the log, overriding already existing entries.
|
void |
ILog.put(LogKey pKey,
LogValue pValue)
Putting a new entry to the log, overriding already existing entries.
|
IBucket |
IBackendReader.read(long pKey)
Getting a reference for the given pointer.
|
UberBucket |
IBackendReader.readUber()
Reading the UberBucket
|
Constructor and Description |
---|
LRULog(File pFile,
IDataFactory pDataFac,
IMetaEntryFactory pMetaFac)
Creates a new LRU cache.
|
Modifier and Type | Method and Description |
---|---|
void |
BerkeleyWriter.close()
Closing the write access.
|
void |
BerkeleyStorage.close()
Closing this storage.
|
void |
BerkeleyReader.close()
Closing the storage.
|
IBackendReader |
BerkeleyStorage.getReader()
Getting a reader.
|
IBackendWriter |
BerkeleyStorage.getWriter()
Getting a writer.
|
void |
BerkeleyStorage.initialize()
Initializing the storage.
|
IBucket |
BerkeleyWriter.read(long pKey)
Getting a reference for the given pointer.
|
IBucket |
BerkeleyReader.read(long pKey)
Getting a reference for the given pointer.
|
UberBucket |
BerkeleyWriter.readUber()
Reading the UberBucket
|
UberBucket |
BerkeleyReader.readUber()
Reading the UberBucket
|
void |
BerkeleyWriter.write(IBucket bucket)
Writing a bucket related to the reference.
|
Constructor and Description |
---|
BerkeleyStorage(Properties pProperties,
IDataFactory pDataFac,
IMetaEntryFactory pMetaFac,
IByteHandler.IByteHandlerPipeline pByteHandler)
Simple constructor.
|
BerkeleyWriter(com.sleepycat.je.Environment pEnv,
com.sleepycat.je.Database pDatabase,
com.sleepycat.bind.tuple.TupleBinding<IBucket> pBucketBinding)
Simple constructor starting with an
Environment and a Storage . |
Modifier and Type | Method and Description |
---|---|
void |
CombinedWriter.close()
Closing the write access.
|
void |
CombinedReader.close()
Closing the storage.
|
void |
CombinedStorage.initialize()
Initializing the storage.
|
IBucket |
CombinedWriter.read(long pKey)
Getting a reference for the given pointer.
|
IBucket |
CombinedReader.read(long pKey)
Getting a reference for the given pointer.
|
UberBucket |
CombinedWriter.readUber()
Reading the UberBucket
|
UberBucket |
CombinedReader.readUber()
Reading the UberBucket
|
Constructor and Description |
---|
CombinedStorage(Properties pProperties,
IDataFactory pDataFac,
IMetaEntryFactory pMetaFac,
IByteHandler.IByteHandlerPipeline pByteHandler)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
JCloudsWriter.close()
Closing the write access.
|
void |
JCloudsReader.close()
Closing the storage.
|
void |
JCloudsStorage.initialize() |
IBucket |
JCloudsWriter.read(long pKey)
Getting a reference for the given pointer.
|
IBucket |
JCloudsReader.read(long pKey)
Getting a reference for the given pointer.
|
UberBucket |
JCloudsWriter.readUber()
Reading the UberBucket
|
UberBucket |
JCloudsReader.readUber()
Reading the UberBucket
|
void |
JCloudsWriter.write(IBucket pBucket)
Writing a bucket related to the reference.
|
Modifier and Type | Method and Description |
---|---|
IData |
TreeNodeFactory.deserializeData(DataInput input)
Create a data out of a serialized byte-representation.
|
IMetaEntry |
NodeMetaPageFactory.deserializeEntry(DataInput pData)
Create a meta-entry out of a serialized byte-representation.
|
void |
TextNode.serialize(DataOutput pOutput)
Serializing to given dataput
|
void |
NodeMetaPageFactory.MetaKey.serialize(DataOutput pOutput)
Serializing to given dataput
|
void |
NodeMetaPageFactory.MetaValue.serialize(DataOutput pOutput)
Serializing to given dataput
|
void |
NamespaceNode.serialize(DataOutput pOutput)
Serializing to given dataput
|
void |
ElementNode.serialize(DataOutput pOutput)
Serializing to given dataput
|
void |
DocumentRootNode.serialize(DataOutput pOutput)
Serializing to given dataput
|
void |
AttributeNode.serialize(DataOutput pOutput)
Serializing to given dataput
|
void |
AtomicValue.serialize(DataOutput pOutput)
Serializing to given dataput
|
Modifier and Type | Method and Description |
---|---|
void |
ValNodeDelegate.serialize(DataOutput pOutput)
Serializing to given dataput
|
void |
StructNodeDelegate.serialize(DataOutput pOutput)
Serializing to given dataput
|
void |
NodeDelegate.serialize(DataOutput pOutput)
Serializing to given dataput
|
void |
NameNodeDelegate.serialize(DataOutput pOutput)
Serializing to given dataput
|
Modifier and Type | Method and Description |
---|---|
void |
Matching.add(INode paramNodeX,
INode paramNodeY)
Adds the matching x -> y.
|
long |
Matching.containedChildren(INode paramNodeX,
INode paramNodeY)
Counts the number of child nodes in the subtrees of x and y that are also
in the matching.
|
void |
LabelFMESVisitor.visit(ElementNode pNode)
Visiting an
ElementNode . |
void |
FMESVisitor.visit(ElementNode pNode)
Visiting an
ElementNode |
void |
LabelFMESVisitor.visit(TextNode pNode)
Visiting a
TextNode |
void |
FMESVisitor.visit(TextNode pNode)
Visiting a
TextNode . |
Modifier and Type | Method and Description |
---|---|
protected void |
XMLSerializer.emitStartElement(INodeReadTrx paramRTX)
Emit node (start element or characters).
|
protected void |
SAXSerializer.emitStartElement(INodeReadTrx rtx)
Emit start tag.
|
Copyright © 2013. All Rights Reserved.