Class LuceneMetadataInfo.LuceneInfo

java.lang.Object
com.apple.foundationdb.record.lucene.LuceneMetadataInfo.LuceneInfo
Enclosing class:
LuceneMetadataInfo

public static class LuceneMetadataInfo.LuceneInfo extends Object
Information about an individual Lucene directory.
  • Constructor Details

    • LuceneInfo

      public LuceneInfo(int documentCount, Collection<String> files, int fieldInfoCount)
  • Method Details

    • getDocumentCount

      public int getDocumentCount()
      The number of documents that lucene thinks are in the index.
      Returns:
      the number of documents
    • getFiles

      public Collection<String> 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; see FieldInfosStorage.
      Returns:
      the number of field infos in the directory
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object