public interface UpdatableIndex<Key,Value,Input> extends InvertedIndex<Key,Value,Input>
ARE_COMPOSITE_INDEXERS_ENABLED
Modifier and Type | Method and Description |
---|---|
void |
cleanupForNextTest() |
void |
cleanupMemoryStorage() |
IndexExtension<Key,Value,Input> |
getExtension() |
java.util.Map<Key,Value> |
getIndexedFileData(int fileId) |
java.util.concurrent.locks.ReadWriteLock |
getLock() |
long |
getModificationStamp() |
default java.util.concurrent.locks.Lock |
getReadLock() |
default java.util.concurrent.locks.Lock |
getWriteLock() |
boolean |
isIndexedStateForFile(int fileId,
IndexedFile file) |
boolean |
processAllKeys(Processor<? super Key> processor,
GlobalSearchScope scope,
IdFilter idFilter) |
void |
removeTransientDataForFile(int inputId) |
void |
removeTransientDataForKeys(int inputId,
java.util.Collection<? extends Key> keys) |
void |
resetIndexedStateForFile(int fileId) |
void |
setBufferingEnabled(boolean enabled) |
void |
setIndexedStateForFile(int fileId,
IndexedFile file) |
void |
updateWithMap(AbstractUpdateData<Key,Value> updateData) |
boolean processAllKeys(Processor<? super Key> processor, GlobalSearchScope scope, IdFilter idFilter) throws StorageException
StorageException
default java.util.concurrent.locks.Lock getReadLock()
default java.util.concurrent.locks.Lock getWriteLock()
java.util.concurrent.locks.ReadWriteLock getLock()
java.util.Map<Key,Value> getIndexedFileData(int fileId) throws StorageException
StorageException
void setIndexedStateForFile(int fileId, IndexedFile file)
void resetIndexedStateForFile(int fileId)
boolean isIndexedStateForFile(int fileId, IndexedFile file)
long getModificationStamp()
void removeTransientDataForFile(int inputId)
void removeTransientDataForKeys(int inputId, java.util.Collection<? extends Key> keys)
IndexExtension<Key,Value,Input> getExtension()
void updateWithMap(AbstractUpdateData<Key,Value> updateData) throws StorageException
StorageException
void setBufferingEnabled(boolean enabled)
void cleanupMemoryStorage()
void cleanupForNextTest()