Class SumBucketPipelineAggregationBuilder
- java.lang.Object
-
- org.elasticsearch.search.aggregations.PipelineAggregationBuilder
-
- org.elasticsearch.search.aggregations.pipeline.AbstractPipelineAggregationBuilder<AF>
-
- org.elasticsearch.search.aggregations.pipeline.bucketmetrics.BucketMetricsPipelineAggregationBuilder<SumBucketPipelineAggregationBuilder>
-
- org.elasticsearch.search.aggregations.pipeline.bucketmetrics.sum.SumBucketPipelineAggregationBuilder
-
- All Implemented Interfaces:
NamedWriteable
,Writeable
,ToXContent
,ToXContentFragment
,BaseAggregationBuilder
public class SumBucketPipelineAggregationBuilder extends BucketMetricsPipelineAggregationBuilder<SumBucketPipelineAggregationBuilder>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NAME
static PipelineAggregator.Parser
PARSER
-
Fields inherited from class org.elasticsearch.search.aggregations.pipeline.AbstractPipelineAggregationBuilder
BUCKETS_PATH_FIELD, metaData, type
-
Fields inherited from class org.elasticsearch.search.aggregations.PipelineAggregationBuilder
bucketsPaths, name
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Constructor Summary
Constructors Constructor Description SumBucketPipelineAggregationBuilder(java.lang.String name, java.lang.String bucketsPath)
SumBucketPipelineAggregationBuilder(StreamInput in)
Read from a stream.
-
Method Summary
Modifier and Type Method Description protected PipelineAggregator
createInternal(java.util.Map<java.lang.String,java.lang.Object> metaData)
protected XContentBuilder
doXContentBody(XContentBuilder builder, ToXContent.Params params)
java.lang.String
getWriteableName()
Returns the name of the writeable objectprotected boolean
innerEquals(BucketMetricsPipelineAggregationBuilder<SumBucketPipelineAggregationBuilder> other)
protected int
innerHashCode()
protected void
innerWriteTo(StreamOutput out)
-
Methods inherited from class org.elasticsearch.search.aggregations.pipeline.bucketmetrics.BucketMetricsPipelineAggregationBuilder
doEquals, doHashCode, doValidate, doWriteTo, format, format, formatter, gapPolicy, gapPolicy, internalXContent
-
Methods inherited from class org.elasticsearch.search.aggregations.pipeline.AbstractPipelineAggregationBuilder
create, equals, getType, hashCode, overrideBucketsPath, setMetaData, toXContent, type, validate, validateSequentiallyOrderedParentAggs, writeTo
-
Methods inherited from class org.elasticsearch.search.aggregations.PipelineAggregationBuilder
getBucketsPaths, getName, subAggregations, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
PARSER
public static final PipelineAggregator.Parser PARSER
-
-
Constructor Detail
-
SumBucketPipelineAggregationBuilder
public SumBucketPipelineAggregationBuilder(java.lang.String name, java.lang.String bucketsPath)
-
SumBucketPipelineAggregationBuilder
public SumBucketPipelineAggregationBuilder(StreamInput in) throws java.io.IOException
Read from a stream.- Throws:
java.io.IOException
-
-
Method Detail
-
innerWriteTo
protected void innerWriteTo(StreamOutput out) throws java.io.IOException
- Specified by:
innerWriteTo
in classBucketMetricsPipelineAggregationBuilder<SumBucketPipelineAggregationBuilder>
- Throws:
java.io.IOException
-
createInternal
protected PipelineAggregator createInternal(java.util.Map<java.lang.String,java.lang.Object> metaData) throws java.io.IOException
- Specified by:
createInternal
in classBucketMetricsPipelineAggregationBuilder<SumBucketPipelineAggregationBuilder>
- Throws:
java.io.IOException
-
doXContentBody
protected XContentBuilder doXContentBody(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
- Specified by:
doXContentBody
in classBucketMetricsPipelineAggregationBuilder<SumBucketPipelineAggregationBuilder>
- Throws:
java.io.IOException
-
innerHashCode
protected int innerHashCode()
- Specified by:
innerHashCode
in classBucketMetricsPipelineAggregationBuilder<SumBucketPipelineAggregationBuilder>
-
innerEquals
protected boolean innerEquals(BucketMetricsPipelineAggregationBuilder<SumBucketPipelineAggregationBuilder> other)
- Specified by:
innerEquals
in classBucketMetricsPipelineAggregationBuilder<SumBucketPipelineAggregationBuilder>
-
getWriteableName
public java.lang.String getWriteableName()
Description copied from interface:NamedWriteable
Returns the name of the writeable object
-
-