public interface Commits
Modifier and Type | Method and Description |
---|---|
Optional<Commit> |
getCommit(long commitGen)
Returns a commit of the specified generation.
|
List<File> |
getFiles(long commitGen)
Returns index files for the specified generation.
|
Map<String,String> |
getSegmentAttributes(long commitGen,
String name)
Returns internal codec attributes map for the specified segment.
|
Optional<Codec> |
getSegmentCodec(long commitGen,
String name)
Returns codec for the specified segment.
|
Map<String,String> |
getSegmentDiagnostics(long commitGen,
String name)
Returns diagnotics for the specified segment.
|
List<Segment> |
getSegments(long commitGen)
Returns segments for the specified generation.
|
List<Commit> |
listCommits()
Returns commits that exists in this Directory.
|
List<Commit> listCommits()
LukeException
- - if an internal error occurs when accessing indexOptional<Commit> getCommit(long commitGen)
commitGen
- - generationLukeException
- - if an internal error occurs when accessing indexList<File> getFiles(long commitGen)
commitGen
- - generationLukeException
- - if an internal error occurs when accessing indexList<Segment> getSegments(long commitGen)
commitGen
- - generationLukeException
- - if an internal error occurs when accessing indexMap<String,String> getSegmentAttributes(long commitGen, String name)
commitGen
- - generationname
- - segment nameLukeException
- - if an internal error occurs when accessing indexMap<String,String> getSegmentDiagnostics(long commitGen, String name)
commitGen
- - generationname
- - segment nameLukeException
- - if an internal error occurs when accessing indexOptional<Codec> getSegmentCodec(long commitGen, String name)
commitGen
- - generationname
- - segment nameLukeException
- - if an internal error occurs when accessing indexCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.