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 |
static java.lang.String |
PARSER_NAME |
metaData, nameTYPED_KEYS_DELIMITEREMPTY_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, doEquals, doHashCode, doReduce, doWriteTo, doXContentBody, getAggregations, getDocCount, getPropertyequals, getMetaData, getName, getProperty, hashCode, pipelineAggregators, readSize, reduce, toString, toXContent, writeSize, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAggregations, getDocCountgetMetaData, getNameisFragmenttoXContentpublic 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