public class InternalSampler extends InternalSingleBucketAggregation implements Sampler
InternalAggregation.CommonFields, InternalAggregation.ReduceContext, InternalAggregation.Type
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Writeable.Reader<V>, Writeable.Writer<V>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
metaData, name
EMPTY_PARAMS
Constructor and Description |
---|
InternalSampler(StreamInput in)
Read from a stream.
|
Modifier and Type | Method and Description |
---|---|
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, getProperty
getMetaData, getName, getProperty, pipelineAggregators, readSize, reduce, toXContent, writeSize, writeTo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAggregations, getDocCount
getMetaData, getName, getProperty
public static final java.lang.String NAME
public InternalSampler(StreamInput in) throws java.io.IOException
java.io.IOException
public java.lang.String getWriteableName()
NamedWriteable
getWriteableName
in interface NamedWriteable
protected InternalSingleBucketAggregation newAggregation(java.lang.String name, long docCount, InternalAggregations subAggregations)
InternalSingleBucketAggregation
newAggregation
in class InternalSingleBucketAggregation