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