NamedWriteable
, Writeable
, ToXContent
, ToXContentFragment
, Aggregation
, Sampler
, SingleBucketAggregation
, HasAggregations
public class UnmappedSampler extends InternalSampler
Aggregation.CommonFields
InternalAggregation.ReduceContext
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Writeable.Reader<V>, Writeable.Writer<V>
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
NAME |
TYPED_KEYS_DELIMITER
metaData, name
PARSER_NAME
EMPTY_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, getName
equals, getMetaData, getName, getProperty, hashCode, pipelineAggregators, readSize, reduce, toString, toXContent, writeSize, writeTo
getType, newAggregation
create, doEquals, doHashCode, doWriteTo, getAggregations, getDocCount, getProperty
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAggregations, getDocCount
toXContent
isFragment
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