Class FilterIndexCommit

java.lang.Object
org.apache.lucene.index.IndexCommit
org.elasticsearch.common.lucene.FilterIndexCommit
All Implemented Interfaces:
Comparable<org.apache.lucene.index.IndexCommit>

public abstract class FilterIndexCommit extends org.apache.lucene.index.IndexCommit
  • Field Details

    • in

      protected final org.apache.lucene.index.IndexCommit in
  • Constructor Details

    • FilterIndexCommit

      public FilterIndexCommit(org.apache.lucene.index.IndexCommit in)
  • Method Details

    • getIndexCommit

      public org.apache.lucene.index.IndexCommit getIndexCommit()
    • getSegmentsFileName

      public String getSegmentsFileName()
      Specified by:
      getSegmentsFileName in class org.apache.lucene.index.IndexCommit
    • getFileNames

      public Collection<String> getFileNames() throws IOException
      Specified by:
      getFileNames in class org.apache.lucene.index.IndexCommit
      Throws:
      IOException
    • getDirectory

      public org.apache.lucene.store.Directory getDirectory()
      Specified by:
      getDirectory in class org.apache.lucene.index.IndexCommit
    • delete

      public void delete()
      Specified by:
      delete in class org.apache.lucene.index.IndexCommit
    • isDeleted

      public boolean isDeleted()
      Specified by:
      isDeleted in class org.apache.lucene.index.IndexCommit
    • getSegmentCount

      public int getSegmentCount()
      Specified by:
      getSegmentCount in class org.apache.lucene.index.IndexCommit
    • getGeneration

      public long getGeneration()
      Specified by:
      getGeneration in class org.apache.lucene.index.IndexCommit
    • getUserData

      public Map<String,​String> getUserData() throws IOException
      Specified by:
      getUserData in class org.apache.lucene.index.IndexCommit
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Object