Class LuceneMetadataInfo.LuceneInfo
java.lang.Object
com.apple.foundationdb.record.lucene.LuceneMetadataInfo.LuceneInfo
- Enclosing class:
- LuceneMetadataInfo
Information about an individual Lucene directory.
-
Constructor Summary
ConstructorsConstructorDescriptionLuceneInfo
(int documentCount, int fieldInfoCount, List<LuceneMetadataInfo.LuceneFileInfo> detailedFileInfos) LuceneInfo
(int documentCount, Collection<String> files, int fieldInfoCount) -
Method Summary
Modifier and TypeMethodDescriptionboolean
The detailed file info from the directory.int
The number of documents that lucene thinks are in the index.int
The number of FieldInfos in the directory; seeFieldInfosStorage
.getFiles()
The file listing from the directory.int
hashCode()
-
Constructor Details
-
LuceneInfo
-
LuceneInfo
public LuceneInfo(int documentCount, int fieldInfoCount, @Nonnull List<LuceneMetadataInfo.LuceneFileInfo> detailedFileInfos)
-
-
Method Details
-
getDocumentCount
public int getDocumentCount()The number of documents that lucene thinks are in the index.- Returns:
- the number of documents
-
getFiles
The file listing from the directory.- Returns:
- the list of files in the directory
-
getFieldInfoCount
public int getFieldInfoCount()The number of FieldInfos in the directory; seeFieldInfosStorage
.- Returns:
- the number of field infos in the directory
-
getDetailedFileInfos
The detailed file info from the directory. (Optional) - if the request did not specify that this is needed, this would be null.- Returns:
- the list of fileInfos in the directory
-
equals
-
hashCode
public int hashCode()
-