public class UnmappedSampler extends InternalSampler
InternalAggregation.CommonFields, InternalAggregation.ReduceContext, InternalAggregation.TypeToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field and Description |
|---|---|
static AggregationStreams.Stream |
STREAM |
static InternalAggregation.Type |
TYPE |
metaData, nameEMPTY_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() |
newAggregationcreate, doReadFrom, doWriteTo, getAggregations, getDocCount, getPropertygetMetaData, getName, getProperty, pipelineAggregators, readFrom, readSize, reduce, toXContent, writeSize, writeToclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAggregations, getDocCountgetMetaData, getName, getPropertypublic static final InternalAggregation.Type TYPE
public static final AggregationStreams.Stream STREAM
public static void registerStreams()
public InternalAggregation.Type type()
type in class InternalSamplerInternalAggregation.Type of this aggregationpublic InternalAggregation doReduce(List<InternalAggregation> aggregations, InternalAggregation.ReduceContext reduceContext)
doReduce in class InternalSingleBucketAggregationpublic XContentBuilder doXContentBody(XContentBuilder builder, ToXContent.Params params) throws IOException
doXContentBody in class InternalSingleBucketAggregationIOExceptionCopyright © 2009–2017. All rights reserved.