public static class MergePolicy.OneMerge extends Object
Modifier and Type | Field | Description |
---|---|---|
long |
estimatedMergeBytes |
|
List<SegmentInfo> |
segments |
|
int |
totalDocCount |
Constructor | Description |
---|---|
OneMerge(List<SegmentInfo> segments) |
Modifier and Type | Method | 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 OneMerge(List<SegmentInfo> segments)
public void setPause(boolean paused)
public boolean getPause()
public long totalBytesSize() throws IOException
IOException
public int totalNumDocs() throws IOException
IOException
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.