NamedWriteable
, Writeable
, ToXContent
, ToXContentFragment
, Aggregation
, Global
, SingleBucketAggregation
, HasAggregations
public class InternalGlobal extends InternalSingleBucketAggregation implements Global
Aggregation.CommonFields
InternalAggregation.ReduceContext
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Writeable.Reader<V>, Writeable.Writer<V>
TYPED_KEYS_DELIMITER
metaData, name
EMPTY_PARAMS
Constructor | Description |
---|---|
InternalGlobal(StreamInput in) |
Read from a stream.
|
Modifier and Type | Method | Description |
---|---|---|
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, getType
equals, getMetaData, getName, getProperty, getType, 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 InternalGlobal(StreamInput in) throws java.io.IOException
java.io.IOException
public java.lang.String getWriteableName()
NamedWriteable
getWriteableName
in interface NamedWriteable
protected InternalSingleBucketAggregation newAggregation(java.lang.String name, long docCount, InternalAggregations subAggregations)
InternalSingleBucketAggregation
newAggregation
in class InternalSingleBucketAggregation