public abstract static class SegmentInfos.FindSegmentsFile extends Object
| Constructor and Description | 
|---|
| SegmentInfos.FindSegmentsFile(Directory directory)Sole constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract Object | doBody(String segmentFileName)Subclass must implement this. | 
| Object | run()Locate the most recent  segmentsfile and
  rundoBody(java.lang.String)on it. | 
| Object | run(IndexCommit commit)Run  doBody(java.lang.String)on the provided commit. | 
public SegmentInfos.FindSegmentsFile(Directory directory)
public Object run() throws IOException
segments file and
  run doBody(java.lang.String) on it.IOExceptionpublic Object run(IndexCommit commit) throws IOException
doBody(java.lang.String) on the provided commit.IOExceptionprotected abstract Object doBody(String segmentFileName) throws IOException
IOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.