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