public class TankerImpl extends Tanker
| Constructor and Description |
|---|
TankerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
append(BarrelReader a)
Add the given Barrel to this Tanker.
|
void |
close()
Close this Tanker.
|
void |
commit()
Save the state of the tanker object.
|
void |
destroy()
Description of the Method
|
DocumentData |
expandDocMetadata(DocumentData ofBarrel,
Token[] interest)
Retrives the document data, but restrict the data block to the part relevant to
some tokens of our interest.
|
void |
initializeTanker(String indexDir,
DataRepository repo,
boolean useBerkeleyGP,
boolean MTE,
int capacity)
Init a tanker with Egothor dynamizer.
|
void |
initializeTanker(String indexDir,
DataRepository repo,
boolean useBerkeleyGP,
boolean MTE,
int capacity,
int mergeFactor)
Init a tanker with Standard dynamizer.
|
Properties |
loadState()
Read properties of the Tanker
|
boolean |
removeDoc(long gid)
Remove the document with the given ID and return whether the
operation was successful.
|
elements, getRootVersionID, isDirty, optimizedeleted, expand, forEach, getBitmap, getCache, getCWI, getIListMeta, getMeta, initializeCache, initializeCache, initializeCache, initializeCache, iterate, open, openIList, query, query, query, resolve, setBitmap, sizepublic void initializeTanker(String indexDir, DataRepository repo, boolean useBerkeleyGP, boolean MTE, int capacity) throws IOException
indexDir - repo - useBerkeleyGP - MTE - capacity - IOExceptionpublic void initializeTanker(String indexDir, DataRepository repo, boolean useBerkeleyGP, boolean MTE, int capacity, int mergeFactor) throws IOException
indexDir - repo - useBerkeleyGP - MTE - capacity - mergeFactor - IOExceptionpublic void append(BarrelReader a)
Tankerappend in interface BarrelWriterappend in class Tankera - the Barrel to addpublic boolean removeDoc(long gid)
Grouppublic Properties loadState() throws IOException
IOExceptionpublic DocumentData expandDocMetadata(DocumentData ofBarrel, Token[] interest)
GroupexpandDocMetadata in class Tankerpublic void commit()
public void destroy()
public void close()
Tankerclose in interface AutoCloseableclose in interface Barrelclose in interface BarrelWriterclose in class TankerCopyright © 2016 Egothor. All Rights Reserved.