public class SnapshotInputMappings<Key,Value> extends java.lang.Object implements UpdatableSnapshotInputMappingIndex<Key,Value,FileContent>
FORCE_IGNORE_MAPPING_INDEX_UPDATE| Constructor and Description |
|---|
SnapshotInputMappings(IndexExtension<Key,Value,FileContent> indexExtension) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
close() |
void |
flush() |
HashIdForwardIndexAccessor<Key,Value,FileContent> |
getForwardIndexAccessor() |
java.io.File |
getInputIndexStorageFile() |
static int |
getVersion() |
InputData<Key,Value> |
putData(FileContent content,
InputData<Key,Value> data) |
InputData<Key,Value> |
readData(FileContent content) |
java.util.Map<Key,Value> |
readData(int hashId) |
void |
setSubIndexerRetriever(PersistentSubIndexerRetriever<?,?> retriever) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitignoreMappingIndexUpdatepublic SnapshotInputMappings(IndexExtension<Key,Value,FileContent> indexExtension) throws java.io.IOException
java.io.IOExceptionpublic static int getVersion()
public HashIdForwardIndexAccessor<Key,Value,FileContent> getForwardIndexAccessor()
public java.io.File getInputIndexStorageFile()
public java.util.Map<Key,Value> readData(int hashId) throws java.io.IOException
readData in interface UpdatableSnapshotInputMappingIndex<Key,Value,FileContent>java.io.IOExceptionpublic InputData<Key,Value> readData(FileContent content) throws java.io.IOException
readData in interface SnapshotInputMappingIndex<Key,Value,FileContent>java.io.IOExceptionpublic InputData<Key,Value> putData(FileContent content, InputData<Key,Value> data) throws java.io.IOException
putData in interface UpdatableSnapshotInputMappingIndex<Key,Value,FileContent>java.io.IOExceptionpublic void flush()
flush in interface UpdatableSnapshotInputMappingIndex<Key,Value,FileContent>public void clear()
throws java.io.IOException
clear in interface UpdatableSnapshotInputMappingIndex<Key,Value,FileContent>java.io.IOExceptionpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablepublic void setSubIndexerRetriever(PersistentSubIndexerRetriever<?,?> retriever)