public abstract class SingleEntryFileBasedIndexExtension<V> extends FileBasedIndexExtension<java.lang.Integer,V>
EXTENSION_POINT_NAME| Constructor and Description |
|---|
SingleEntryFileBasedIndexExtension() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
dependsOnFileContent() |
int |
getCacheSize() |
static int |
getFileKey(VirtualFile file)
Use this method to get key for extracting the value from index
|
abstract SingleEntryIndexer<V> |
getIndexer() |
KeyDescriptor<java.lang.Integer> |
getKeyDescriptor() |
boolean |
keyIsUniqueForIndexedFile() |
getFileTypesWithSizeLimitNotApplicable, getInputFilter, getName, hasSnapshotMapping, indexDirectories, needsForwardIndexWhenSharing, traceKeyHashToVirtualFileMappinggetValueExternalizer, getVersionpublic final KeyDescriptor<java.lang.Integer> getKeyDescriptor()
getKeyDescriptor in class IndexExtension<java.lang.Integer,V,FileContent>public boolean dependsOnFileContent()
dependsOnFileContent in class FileBasedIndexExtension<java.lang.Integer,V>public int getCacheSize()
getCacheSize in class FileBasedIndexExtension<java.lang.Integer,V>FileBasedIndexExtension.DEFAULT_CACHE_SIZEpublic abstract SingleEntryIndexer<V> getIndexer()
getIndexer in class IndexExtension<java.lang.Integer,V,FileContent>public boolean keyIsUniqueForIndexedFile()
keyIsUniqueForIndexedFile in class FileBasedIndexExtension<java.lang.Integer,V>public static int getFileKey(VirtualFile file)