public class CumulativeSumPipelineAggregationBuilder extends AbstractPipelineAggregationBuilder<CumulativeSumPipelineAggregationBuilder>
Writeable.Reader<V>, Writeable.Writer<V>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
BUCKETS_PATH_FIELD, metaData, type
bucketsPaths, name
EMPTY_PARAMS
Constructor and Description |
---|
CumulativeSumPipelineAggregationBuilder(StreamInput in)
Read from a stream.
|
CumulativeSumPipelineAggregationBuilder(java.lang.String name,
java.lang.String bucketsPath) |
Modifier and Type | Method and Description |
---|---|
protected PipelineAggregator |
createInternal(java.util.Map<java.lang.String,java.lang.Object> metaData) |
protected boolean |
doEquals(java.lang.Object obj) |
protected int |
doHashCode() |
void |
doValidate(AggregatorFactory<?> parent,
AggregatorFactory<?>[] aggFactories,
java.util.List<PipelineAggregationBuilder> pipelineAggregatorFactories) |
protected void |
doWriteTo(StreamOutput out) |
java.lang.String |
format()
Gets the format to use on the output of this aggregation.
|
CumulativeSumPipelineAggregationBuilder |
format(java.lang.String format)
Sets the format to use on the output of this aggregation.
|
protected DocValueFormat |
formatter() |
java.lang.String |
getWriteableName()
Returns the name of the writeable object
|
protected XContentBuilder |
internalXContent(XContentBuilder builder,
ToXContent.Params params) |
static CumulativeSumPipelineAggregationBuilder |
parse(java.lang.String pipelineAggregatorName,
QueryParseContext context) |
create, equals, getType, hashCode, overrideBucketsPath, setMetaData, toXContent, type, validate, writeTo
getBucketsPaths, getName, subAggregations
buildAsBytes, buildAsBytes, toString, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isFragment
public static final java.lang.String NAME
public CumulativeSumPipelineAggregationBuilder(java.lang.String name, java.lang.String bucketsPath)
public CumulativeSumPipelineAggregationBuilder(StreamInput in) throws java.io.IOException
java.io.IOException
protected final void doWriteTo(StreamOutput out) throws java.io.IOException
doWriteTo
in class AbstractPipelineAggregationBuilder<CumulativeSumPipelineAggregationBuilder>
java.io.IOException
public CumulativeSumPipelineAggregationBuilder format(java.lang.String format)
public java.lang.String format()
protected DocValueFormat formatter()
protected PipelineAggregator createInternal(java.util.Map<java.lang.String,java.lang.Object> metaData) throws java.io.IOException
createInternal
in class AbstractPipelineAggregationBuilder<CumulativeSumPipelineAggregationBuilder>
java.io.IOException
public void doValidate(AggregatorFactory<?> parent, AggregatorFactory<?>[] aggFactories, java.util.List<PipelineAggregationBuilder> pipelineAggregatorFactories)
doValidate
in class AbstractPipelineAggregationBuilder<CumulativeSumPipelineAggregationBuilder>
protected final XContentBuilder internalXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
internalXContent
in class AbstractPipelineAggregationBuilder<CumulativeSumPipelineAggregationBuilder>
java.io.IOException
public static CumulativeSumPipelineAggregationBuilder parse(java.lang.String pipelineAggregatorName, QueryParseContext context) throws java.io.IOException
java.io.IOException
protected int doHashCode()
doHashCode
in class AbstractPipelineAggregationBuilder<CumulativeSumPipelineAggregationBuilder>
protected boolean doEquals(java.lang.Object obj)
doEquals
in class AbstractPipelineAggregationBuilder<CumulativeSumPipelineAggregationBuilder>
public java.lang.String getWriteableName()
NamedWriteable