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