NamedWriteable
, Writeable
, ToXContent
, ToXContentFragment
, Aggregation
, Sampler
, SingleBucketAggregation
, HasAggregations
UnmappedSampler
public class InternalSampler extends InternalSingleBucketAggregation implements Sampler
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 |
|
static java.lang.String |
PARSER_NAME |
TYPED_KEYS_DELIMITER
metaData, name
EMPTY_PARAMS
Constructor | Description |
---|---|
InternalSampler(StreamInput in) |
Read from a stream.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getType() |
|
java.lang.String |
getWriteableName() |
Returns the name of the writeable object
|
protected InternalSingleBucketAggregation |
newAggregation(java.lang.String name,
long docCount,
InternalAggregations subAggregations) |
Create a new empty sub aggregation.
|
getMetaData, getName
equals, getMetaData, getName, getProperty, hashCode, pipelineAggregators, readSize, reduce, toString, toXContent, writeSize, writeTo
create, doEquals, doHashCode, doReduce, doWriteTo, doXContentBody, getAggregations, getDocCount, getProperty
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAggregations, getDocCount
toXContent
isFragment
public static final java.lang.String NAME
public static final java.lang.String PARSER_NAME
public InternalSampler(StreamInput in) throws java.io.IOException
java.io.IOException
public java.lang.String getWriteableName()
NamedWriteable
getWriteableName
in interface NamedWriteable
public java.lang.String getType()
getType
in interface Aggregation
getType
in class InternalAggregation
protected InternalSingleBucketAggregation newAggregation(java.lang.String name, long docCount, InternalAggregations subAggregations)
InternalSingleBucketAggregation
newAggregation
in class InternalSingleBucketAggregation