public class CommitPoints extends Object implements Iterable<CommitPoint>
Constructor and Description |
---|
CommitPoints(List<CommitPoint> commitPoints) |
Modifier and Type | Method and Description |
---|---|
List<CommitPoint> |
commits() |
CommitPoint.FileInfo |
findNameFile(String name) |
CommitPoint.FileInfo |
findPhysicalIndexFile(String physicalName) |
static CommitPoint |
fromXContent(byte[] data) |
boolean |
hasVersion(long version) |
Iterator<CommitPoint> |
iterator() |
static byte[] |
toXContent(CommitPoint commitPoint) |
public CommitPoints(List<CommitPoint> commitPoints)
public List<CommitPoint> commits()
public boolean hasVersion(long version)
public CommitPoint.FileInfo findPhysicalIndexFile(String physicalName)
public CommitPoint.FileInfo findNameFile(String name)
public Iterator<CommitPoint> iterator()
iterator
in interface Iterable<CommitPoint>
public static byte[] toXContent(CommitPoint commitPoint) throws Exception
Exception
public static CommitPoint fromXContent(byte[] data) throws Exception
Exception
Copyright © 2009–2016. All rights reserved.