NamedWriteable, Writeable, ToXContent, ToXContentFragment, Aggregation, Sampler, SingleBucketAggregation, HasAggregationsUnmappedSamplerpublic class InternalSampler extends InternalSingleBucketAggregation implements Sampler
Aggregation.CommonFieldsInternalAggregation.ReduceContextToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
NAME |
|
static java.lang.String |
PARSER_NAME |
TYPED_KEYS_DELIMITERmetaData, nameEMPTY_PARAMS| Constructor | Description |
|---|---|
InternalSampler(StreamInput in) |
Read from a stream.
|
| Modifier and Type | Method | 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.
|
getMetaData, getNameequals, getMetaData, getName, getProperty, hashCode, pipelineAggregators, readSize, reduce, toString, toXContent, writeSize, writeTocreate, doEquals, doHashCode, doReduce, doWriteTo, doXContentBody, getAggregations, getDocCount, getPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAggregations, getDocCounttoXContentisFragmentpublic static final java.lang.String NAME
public static final java.lang.String PARSER_NAME
public InternalSampler(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getWriteableName()
NamedWriteablegetWriteableName in interface NamedWriteablepublic java.lang.String getType()
getType in interface AggregationgetType in class InternalAggregationprotected InternalSingleBucketAggregation newAggregation(java.lang.String name, long docCount, InternalAggregations subAggregations)
InternalSingleBucketAggregationnewAggregation in class InternalSingleBucketAggregation