public class PersistentSubIndexerRetriever<SubIndexerType,SubIndexerVersion>
extends java.lang.Object
implements java.io.Closeable
| Constructor and Description |
|---|
PersistentSubIndexerRetriever(ID<?,?> id,
int indexVersion,
CompositeDataIndexer<?,?,SubIndexerType,SubIndexerVersion> indexer) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
close() |
void |
flush() |
int |
getFileIndexerId(IndexedFile file) |
boolean |
isIndexed(int fileId,
IndexedFile file) |
void |
setIndexedState(int fileId,
IndexedFile file) |
public PersistentSubIndexerRetriever(ID<?,?> id, int indexVersion, CompositeDataIndexer<?,?,SubIndexerType,SubIndexerVersion> indexer) throws java.io.IOException
java.io.IOExceptionpublic void clear()
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic void flush()
throws java.io.IOException
java.io.IOExceptionpublic void setIndexedState(int fileId,
IndexedFile file)
throws java.io.IOException
java.io.IOExceptionpublic boolean isIndexed(int fileId,
IndexedFile file)
throws java.io.IOException
java.io.IOExceptionpublic int getFileIndexerId(IndexedFile file) throws java.io.IOException
java.io.IOException