private class IndexDeletionPolicyWrapper.IndexCommitWrapper
extends org.apache.lucene.index.IndexCommit
Modifier and Type | Field and Description |
---|---|
(package private) org.apache.lucene.index.IndexCommit |
delegate |
Constructor and Description |
---|
IndexCommitWrapper(org.apache.lucene.index.IndexCommit delegate) |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
boolean |
equals(java.lang.Object o) |
org.apache.lucene.store.Directory |
getDirectory() |
java.util.Collection |
getFileNames() |
long |
getGeneration() |
int |
getSegmentCount() |
java.lang.String |
getSegmentsFileName() |
long |
getTimestamp() |
java.util.Map |
getUserData() |
long |
getVersion() |
int |
hashCode() |
boolean |
isDeleted() |
IndexCommitWrapper(org.apache.lucene.index.IndexCommit delegate)
public java.lang.String getSegmentsFileName()
getSegmentsFileName
in class org.apache.lucene.index.IndexCommit
public java.util.Collection getFileNames() throws java.io.IOException
getFileNames
in class org.apache.lucene.index.IndexCommit
java.io.IOException
public org.apache.lucene.store.Directory getDirectory()
getDirectory
in class org.apache.lucene.index.IndexCommit
public void delete()
delete
in class org.apache.lucene.index.IndexCommit
public int getSegmentCount()
getSegmentCount
in class org.apache.lucene.index.IndexCommit
public boolean equals(java.lang.Object o)
equals
in class org.apache.lucene.index.IndexCommit
public int hashCode()
hashCode
in class org.apache.lucene.index.IndexCommit
public long getVersion()
getVersion
in class org.apache.lucene.index.IndexCommit
public long getGeneration()
getGeneration
in class org.apache.lucene.index.IndexCommit
public boolean isDeleted()
isDeleted
in class org.apache.lucene.index.IndexCommit
public long getTimestamp() throws java.io.IOException
getTimestamp
in class org.apache.lucene.index.IndexCommit
java.io.IOException
public java.util.Map getUserData() throws java.io.IOException
getUserData
in class org.apache.lucene.index.IndexCommit
java.io.IOException