public static class MergePolicy.OneMerge extends Object
Modifier and Type | Field and Description |
---|---|
long |
estimatedMergeBytes |
List<SegmentInfo> |
segments |
int |
totalDocCount |
Constructor and Description |
---|
MergePolicy.OneMerge(List<SegmentInfo> segments) |
Modifier and Type | Method and Description |
---|---|
boolean |
getPause() |
String |
segString(Directory dir) |
void |
setPause(boolean paused) |
long |
totalBytesSize()
Returns the total size in bytes of this merge.
|
int |
totalNumDocs()
Returns the total number of documents that are included with this merge.
|
public long estimatedMergeBytes
public final List<SegmentInfo> segments
public final int totalDocCount
public MergePolicy.OneMerge(List<SegmentInfo> segments)
public void setPause(boolean paused)
public boolean getPause()
public long totalBytesSize() throws IOException
IOException
public int totalNumDocs() throws IOException
IOException