public static class TermsAggregator.BucketCountThresholds extends java.lang.Object implements Writeable, ToXContentFragment
Writeable.Reader<V>, Writeable.Writer<V>ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_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, waitisFragmentpublic BucketCountThresholds(long minDocCount,
long shardMinDocCount,
int requiredSize,
int shardSize)
public BucketCountThresholds(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic BucketCountThresholds(TermsAggregator.BucketCountThresholds bucketCountThresholds)
public void writeTo(StreamOutput out) throws java.io.IOException
Writeablepublic 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 ToXContentjava.io.IOExceptionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object