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.IndexCommitpublic java.util.Collection getFileNames()
throws java.io.IOException
getFileNames in class org.apache.lucene.index.IndexCommitjava.io.IOExceptionpublic org.apache.lucene.store.Directory getDirectory()
getDirectory in class org.apache.lucene.index.IndexCommitpublic void delete()
delete in class org.apache.lucene.index.IndexCommitpublic int getSegmentCount()
getSegmentCount in class org.apache.lucene.index.IndexCommitpublic boolean equals(java.lang.Object o)
equals in class org.apache.lucene.index.IndexCommitpublic int hashCode()
hashCode in class org.apache.lucene.index.IndexCommitpublic long getVersion()
getVersion in class org.apache.lucene.index.IndexCommitpublic long getGeneration()
getGeneration in class org.apache.lucene.index.IndexCommitpublic boolean isDeleted()
isDeleted in class org.apache.lucene.index.IndexCommitpublic long getTimestamp()
throws java.io.IOException
getTimestamp in class org.apache.lucene.index.IndexCommitjava.io.IOExceptionpublic java.util.Map getUserData()
throws java.io.IOException
getUserData in class org.apache.lucene.index.IndexCommitjava.io.IOException