NamedWriteable, Writeable, ToXContent, ToXContentFragment, Aggregation, Sampler, SingleBucketAggregation, HasAggregationspublic class UnmappedSampler extends InternalSampler
Aggregation.CommonFieldsInternalAggregation.ReduceContextToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
NAME |
TYPED_KEYS_DELIMITERmetaData, namePARSER_NAMEEMPTY_PARAMS| Constructor | Description |
|---|---|
UnmappedSampler(StreamInput in) |
Read from a stream.
|
| Modifier and Type | Method | 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
|
getMetaData, getNameequals, getMetaData, getName, getProperty, hashCode, pipelineAggregators, readSize, reduce, toString, toXContent, writeSize, writeTogetType, newAggregationcreate, doEquals, doHashCode, doWriteTo, getAggregations, getDocCount, getPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAggregations, getDocCounttoXContentisFragmentpublic 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