public class UnmappedSampler extends InternalSampler
InternalAggregation.CommonFields, InternalAggregation.ReduceContext, InternalAggregation.Type
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Modifier and Type | Field and Description |
---|---|
static AggregationStreams.Stream |
STREAM |
static InternalAggregation.Type |
TYPE |
metaData, name
EMPTY_PARAMS
Constructor and Description |
---|
UnmappedSampler(String name,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
InternalAggregation |
doReduce(List<InternalAggregation> aggregations,
InternalAggregation.ReduceContext reduceContext) |
XContentBuilder |
doXContentBody(XContentBuilder builder,
ToXContent.Params params) |
static void |
registerStreams() |
InternalAggregation.Type |
type() |
newAggregation
create, doReadFrom, doWriteTo, getAggregations, getDocCount, getProperty
getMetaData, getName, getProperty, pipelineAggregators, readFrom, readSize, reduce, toXContent, writeSize, writeTo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAggregations, getDocCount
getMetaData, getName, getProperty
public static final InternalAggregation.Type TYPE
public static final AggregationStreams.Stream STREAM
public static void registerStreams()
public InternalAggregation.Type type()
type
in class InternalSampler
InternalAggregation.Type
of this aggregationpublic InternalAggregation doReduce(List<InternalAggregation> aggregations, InternalAggregation.ReduceContext reduceContext)
doReduce
in class InternalSingleBucketAggregation
public XContentBuilder doXContentBody(XContentBuilder builder, ToXContent.Params params) throws IOException
doXContentBody
in class InternalSingleBucketAggregation
IOException
Copyright © 2009–2016. All rights reserved.