public class InternalSampler extends InternalSingleBucketAggregation implements Sampler
InternalAggregation.ReduceContextAggregation.CommonFieldsToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
metaData, nameTYPED_KEYS_DELIMITEREMPTY_PARAMS| Constructor and Description |
|---|
InternalSampler(StreamInput in)
Read from a stream.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getType()
Returns a string representing the type of the aggregation.
|
java.lang.String |
getWriteableName()
Returns the name of the writeable object
|
protected InternalSingleBucketAggregation |
newAggregation(java.lang.String name,
long docCount,
InternalAggregations subAggregations)
Create a new empty sub aggregation.
|
create, doReduce, doWriteTo, doXContentBody, getAggregations, getDocCount, getPropertygetMetaData, getName, getProperty, pipelineAggregators, readSize, reduce, toXContent, writeSize, writeToclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAggregations, getDocCountgetMetaData, getNameisFragmentpublic static final java.lang.String NAME
public InternalSampler(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getWriteableName()
NamedWriteablegetWriteableName in interface NamedWriteableprotected java.lang.String getType()
InternalAggregationgetType in class InternalAggregationprotected InternalSingleBucketAggregation newAggregation(java.lang.String name, long docCount, InternalAggregations subAggregations)
InternalSingleBucketAggregationnewAggregation in class InternalSingleBucketAggregation