public abstract class IndexCommitDelegate
extends org.apache.lucene.index.IndexCommit
IndexCommit calls to a delegated
IndexCommit.| Modifier and Type | Field and Description |
|---|---|
protected org.apache.lucene.index.IndexCommit |
delegate |
| Constructor and Description |
|---|
IndexCommitDelegate(org.apache.lucene.index.IndexCommit delegate)
Constructs a new
IndexCommit that will delegate all calls
to the provided delegate. |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
boolean |
equals(java.lang.Object other) |
org.apache.lucene.store.Directory |
getDirectory() |
java.util.Collection<java.lang.String> |
getFileNames() |
long |
getGeneration() |
int |
getSegmentCount() |
java.lang.String |
getSegmentsFileName() |
java.util.Map<java.lang.String,java.lang.String> |
getUserData() |
int |
hashCode() |
boolean |
isDeleted() |
public IndexCommitDelegate(org.apache.lucene.index.IndexCommit delegate)
IndexCommit that will delegate all calls
to the provided delegate.delegate - The delegatepublic java.lang.String getSegmentsFileName()
getSegmentsFileName in class org.apache.lucene.index.IndexCommitpublic java.util.Collection<java.lang.String> 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 boolean isDeleted()
isDeleted in class org.apache.lucene.index.IndexCommitpublic int getSegmentCount()
getSegmentCount in class org.apache.lucene.index.IndexCommitpublic boolean equals(java.lang.Object other)
equals in class org.apache.lucene.index.IndexCommitpublic int hashCode()
hashCode in class org.apache.lucene.index.IndexCommitpublic long getGeneration()
getGeneration in class org.apache.lucene.index.IndexCommitpublic java.util.Map<java.lang.String,java.lang.String> getUserData()
throws java.io.IOException
getUserData in class org.apache.lucene.index.IndexCommitjava.io.IOException