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, wait
ignoreMappingIndexUpdate
public SnapshotInputMappings(IndexExtension<Key,Value,FileContent> indexExtension) throws java.io.IOException
java.io.IOException
public 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.IOException
public InputData<Key,Value> readData(FileContent content) throws java.io.IOException
readData
in interface SnapshotInputMappingIndex<Key,Value,FileContent>
java.io.IOException
public InputData<Key,Value> putData(FileContent content, InputData<Key,Value> data) throws java.io.IOException
putData
in interface UpdatableSnapshotInputMappingIndex<Key,Value,FileContent>
java.io.IOException
public 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.IOException
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
public void setSubIndexerRetriever(PersistentSubIndexerRetriever<?,?> retriever)