com.liferay.portal.search.lucene.dump
Class IndexCommitMetaInfo

java.lang.Object
  extended by com.liferay.portal.search.lucene.dump.IndexCommitMetaInfo
All Implemented Interfaces:
java.io.Serializable

public class IndexCommitMetaInfo
extends java.lang.Object
implements java.io.Serializable

Author:
Shuyang Zhou
See Also:
Serialized Form

Nested Class Summary
 class IndexCommitMetaInfo.Segment
           
 
Constructor Summary
IndexCommitMetaInfo(org.apache.lucene.index.IndexCommit indexCommit)
           
 
Method Summary
 long getGeneration()
           
 java.util.List<IndexCommitMetaInfo.Segment> getSegments()
           
 boolean isEmpty()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IndexCommitMetaInfo

public IndexCommitMetaInfo(org.apache.lucene.index.IndexCommit indexCommit)
                    throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getGeneration

public long getGeneration()

getSegments

public java.util.List<IndexCommitMetaInfo.Segment> getSegments()

isEmpty

public boolean isEmpty()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object