public class SegmentInfoPerCommit extends Object
| Modifier and Type | Field and Description |
|---|---|
SegmentInfo |
info |
| Constructor and Description |
|---|
SegmentInfoPerCommit(SegmentInfo info,
int delCount,
long delGen) |
| Modifier and Type | Method and Description |
|---|---|
SegmentInfoPerCommit |
clone() |
Collection<String> |
files() |
int |
getDelCount() |
long |
getDelGen() |
long |
getNextDelGen() |
boolean |
hasDeletions() |
void |
setDelGen(long delGen) |
long |
sizeInBytes() |
String |
toString() |
String |
toString(Directory dir,
int pendingDelCount) |
public final SegmentInfo info
public SegmentInfoPerCommit(SegmentInfo info, int delCount, long delGen)
public long sizeInBytes()
throws IOException
IOExceptionpublic Collection<String> files() throws IOException
IOExceptionpublic void setDelGen(long delGen)
public boolean hasDeletions()
public long getNextDelGen()
public long getDelGen()
public int getDelCount()
public SegmentInfoPerCommit clone()
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.