public class InternalSampler extends InternalSingleBucketAggregation implements Sampler
InternalAggregation.ReduceContext
Aggregation.CommonFields
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Writeable.Reader<V>, Writeable.Writer<V>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
static java.lang.String |
PARSER_NAME |
metaData, name
TYPED_KEYS_DELIMITER
EMPTY_PARAMS
Constructor and Description |
---|
InternalSampler(StreamInput in)
Read from a stream.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getType() |
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
isFragment, toXContent
public static final java.lang.String NAME
public static final java.lang.String PARSER_NAME
public InternalSampler(StreamInput in) throws java.io.IOException
java.io.IOException
public java.lang.String getWriteableName()
NamedWriteable
getWriteableName
in interface NamedWriteable
public java.lang.String getType()
getType
in interface Aggregation
getType
in class InternalAggregation
protected InternalSingleBucketAggregation newAggregation(java.lang.String name, long docCount, InternalAggregations subAggregations)
InternalSingleBucketAggregation
newAggregation
in class InternalSingleBucketAggregation