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
- Specified by:
getSegmentsFileName
in classorg.apache.lucene.index.IndexCommit
-
getFileNames
- Specified by:
getFileNames
in classorg.apache.lucene.index.IndexCommit
- Throws:
IOException
-
getDirectory
public org.apache.lucene.store.Directory getDirectory()- Specified by:
getDirectory
in classorg.apache.lucene.index.IndexCommit
-
delete
public void delete()- Specified by:
delete
in classorg.apache.lucene.index.IndexCommit
-
isDeleted
public boolean isDeleted()- Specified by:
isDeleted
in classorg.apache.lucene.index.IndexCommit
-
getSegmentCount
public int getSegmentCount()- Specified by:
getSegmentCount
in classorg.apache.lucene.index.IndexCommit
-
getGeneration
public long getGeneration()- Specified by:
getGeneration
in classorg.apache.lucene.index.IndexCommit
-
getUserData
- Specified by:
getUserData
in classorg.apache.lucene.index.IndexCommit
- Throws:
IOException
-
toString
-