public class UnmappedSampler extends InternalSampler
InternalAggregation.ReduceContext
Aggregation.CommonFields
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Writeable.Reader<V>, Writeable.Writer<V>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
PARSER_NAME
metaData, name
TYPED_KEYS_DELIMITER
EMPTY_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, newAggregation
create, doEquals, doHashCode, doWriteTo, getAggregations, getDocCount, getProperty
equals, getMetaData, getName, getProperty, hashCode, pipelineAggregators, readSize, reduce, toString, toXContent, writeSize, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAggregations, getDocCount
getMetaData, getName
isFragment
toXContent
public static final java.lang.String NAME
public UnmappedSampler(StreamInput in) throws java.io.IOException
java.io.IOException
public java.lang.String getWriteableName()
NamedWriteable
getWriteableName
in interface NamedWriteable
getWriteableName
in class InternalSampler
public InternalAggregation doReduce(java.util.List<InternalAggregation> aggregations, InternalAggregation.ReduceContext reduceContext)
doReduce
in class InternalSingleBucketAggregation
public XContentBuilder doXContentBody(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
doXContentBody
in class InternalSingleBucketAggregation
java.io.IOException