public class RefQueueIndex extends FileBasedIndexExtension<java.lang.Void,java.lang.Void>
EXTENSION_POINT_NAME
Constructor and Description |
---|
RefQueueIndex() |
Modifier and Type | Method and Description |
---|---|
boolean |
dependsOnFileContent() |
DataIndexer<java.lang.Void,java.lang.Void,FileContent> |
getIndexer() |
FileBasedIndex.InputFilter |
getInputFilter() |
KeyDescriptor<java.lang.Void> |
getKeyDescriptor() |
ID<java.lang.Void,java.lang.Void> |
getName() |
DataExternalizer<java.lang.Void> |
getValueExternalizer() |
int |
getVersion() |
getCacheSize, getFileTypesWithSizeLimitNotApplicable, hasSnapshotMapping, indexDirectories, keyIsUniqueForIndexedFile, needsForwardIndexWhenSharing, traceKeyHashToVirtualFileMapping
public ID<java.lang.Void,java.lang.Void> getName()
getName
in class FileBasedIndexExtension<java.lang.Void,java.lang.Void>
public DataIndexer<java.lang.Void,java.lang.Void,FileContent> getIndexer()
getIndexer
in class IndexExtension<java.lang.Void,java.lang.Void,FileContent>
public KeyDescriptor<java.lang.Void> getKeyDescriptor()
getKeyDescriptor
in class IndexExtension<java.lang.Void,java.lang.Void,FileContent>
public DataExternalizer<java.lang.Void> getValueExternalizer()
getValueExternalizer
in class IndexExtension<java.lang.Void,java.lang.Void,FileContent>
public FileBasedIndex.InputFilter getInputFilter()
getInputFilter
in class FileBasedIndexExtension<java.lang.Void,java.lang.Void>
IndexExtension.getIndexer()
.
Usually DefaultFileTypeSpecificInputFilter
can be used here to index only files with given file-type.
Note that check only file's extension is usually error-prone way and prefer to check VirtualFile.getFileType()
:
for example user can enforce language file as plain text one.public boolean dependsOnFileContent()
dependsOnFileContent
in class FileBasedIndexExtension<java.lang.Void,java.lang.Void>
public int getVersion()
getVersion
in class IndexExtension<java.lang.Void,java.lang.Void,FileContent>