public class UnmappedSampler extends InternalSampler
InternalAggregation.ReduceContextAggregation.CommonFieldsToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
PARSER_NAMEmetaData, nameTYPED_KEYS_DELIMITEREMPTY_PARAMS| Constructor and Description |
|---|
UnmappedSampler(StreamInput in)
Read from a stream.
|
| Modifier and Type | Method and Description |
|---|---|
InternalAggregation |
doReduce(java.util.List<InternalAggregation> aggregations,
InternalAggregation.ReduceContext reduceContext) |
XContentBuilder |
doXContentBody(XContentBuilder builder,
ToXContent.Params params) |
java.lang.String |
getWriteableName()
Returns the name of the writeable object
|
getType, newAggregationcreate, doEquals, doHashCode, doWriteTo, 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 UnmappedSampler(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getWriteableName()
NamedWriteablegetWriteableName in interface NamedWriteablegetWriteableName in class InternalSamplerpublic InternalAggregation doReduce(java.util.List<InternalAggregation> aggregations, InternalAggregation.ReduceContext reduceContext)
doReduce in class InternalSingleBucketAggregationpublic XContentBuilder doXContentBody(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
doXContentBody in class InternalSingleBucketAggregationjava.io.IOException