public static class TermsAggregator.BucketCountThresholds extends java.lang.Object implements Writeable, ToXContent
Writeable.Reader<V>, Writeable.Writer<V>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
BucketCountThresholds(long minDocCount,
long shardMinDocCount,
int requiredSize,
int shardSize) |
BucketCountThresholds(StreamInput in)
Read from a stream.
|
BucketCountThresholds(TermsAggregator.BucketCountThresholds bucketCountThresholds) |
Modifier and Type | Method and Description |
---|---|
void |
ensureValidity() |
boolean |
equals(java.lang.Object obj) |
long |
getMinDocCount() |
int |
getRequiredSize() |
long |
getShardMinDocCount() |
int |
getShardSize() |
int |
hashCode() |
void |
setMinDocCount(long minDocCount) |
void |
setRequiredSize(int requiredSize) |
void |
setShardMinDocCount(long shardMinDocCount) |
void |
setShardSize(int shardSize) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isFragment
public BucketCountThresholds(long minDocCount, long shardMinDocCount, int requiredSize, int shardSize)
public BucketCountThresholds(StreamInput in) throws java.io.IOException
java.io.IOException
public BucketCountThresholds(TermsAggregator.BucketCountThresholds bucketCountThresholds)
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
public void ensureValidity()
public long getShardMinDocCount()
public void setShardMinDocCount(long shardMinDocCount)
public long getMinDocCount()
public void setMinDocCount(long minDocCount)
public int getRequiredSize()
public void setRequiredSize(int requiredSize)
public int getShardSize()
public void setShardSize(int shardSize)
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object