public abstract class BucketMetricsPipelineAggregationBuilder<AF extends BucketMetricsPipelineAggregationBuilder<AF>> extends AbstractPipelineAggregationBuilder<AF>
Writeable.Reader<V>, Writeable.Writer<V>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
BUCKETS_PATH_FIELD, metaData, type
bucketsPaths, name
EMPTY_PARAMS
Modifier | Constructor and Description |
---|---|
protected |
BucketMetricsPipelineAggregationBuilder(StreamInput in,
java.lang.String type)
Read from a stream.
|
protected |
BucketMetricsPipelineAggregationBuilder(java.lang.String name,
java.lang.String type,
java.lang.String[] bucketsPaths) |
Modifier and Type | Method and Description |
---|---|
protected abstract 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) |
protected abstract XContentBuilder |
doXContentBody(XContentBuilder builder,
ToXContent.Params params) |
java.lang.String |
format()
Gets the format to use on the output of this aggregation.
|
AF |
format(java.lang.String format)
Sets the format to use on the output of this aggregation.
|
protected DocValueFormat |
formatter() |
BucketHelpers.GapPolicy |
gapPolicy()
Gets the gap policy to use for this aggregation.
|
AF |
gapPolicy(BucketHelpers.GapPolicy gapPolicy)
Sets the gap policy to use for this aggregation.
|
protected abstract boolean |
innerEquals(BucketMetricsPipelineAggregationBuilder<AF> other) |
protected abstract int |
innerHashCode() |
protected abstract void |
innerWriteTo(StreamOutput out) |
protected XContentBuilder |
internalXContent(XContentBuilder builder,
ToXContent.Params params) |
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
getWriteableName
isFragment
protected BucketMetricsPipelineAggregationBuilder(java.lang.String name, java.lang.String type, java.lang.String[] bucketsPaths)
protected BucketMetricsPipelineAggregationBuilder(StreamInput in, java.lang.String type) throws java.io.IOException
java.io.IOException
protected final void doWriteTo(StreamOutput out) throws java.io.IOException
doWriteTo
in class AbstractPipelineAggregationBuilder<AF extends BucketMetricsPipelineAggregationBuilder<AF>>
java.io.IOException
protected abstract void innerWriteTo(StreamOutput out) throws java.io.IOException
java.io.IOException
public AF format(java.lang.String format)
public java.lang.String format()
protected DocValueFormat formatter()
public AF gapPolicy(BucketHelpers.GapPolicy gapPolicy)
public BucketHelpers.GapPolicy gapPolicy()
protected abstract PipelineAggregator createInternal(java.util.Map<java.lang.String,java.lang.Object> metaData) throws java.io.IOException
createInternal
in class AbstractPipelineAggregationBuilder<AF extends BucketMetricsPipelineAggregationBuilder<AF>>
java.io.IOException
public void doValidate(AggregatorFactory<?> parent, AggregatorFactory<?>[] aggFactories, java.util.List<PipelineAggregationBuilder> pipelineAggregatorFactories)
doValidate
in class AbstractPipelineAggregationBuilder<AF extends BucketMetricsPipelineAggregationBuilder<AF>>
protected final XContentBuilder internalXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
internalXContent
in class AbstractPipelineAggregationBuilder<AF extends BucketMetricsPipelineAggregationBuilder<AF>>
java.io.IOException
protected abstract XContentBuilder doXContentBody(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
java.io.IOException
protected final int doHashCode()
doHashCode
in class AbstractPipelineAggregationBuilder<AF extends BucketMetricsPipelineAggregationBuilder<AF>>
protected abstract int innerHashCode()
protected final boolean doEquals(java.lang.Object obj)
doEquals
in class AbstractPipelineAggregationBuilder<AF extends BucketMetricsPipelineAggregationBuilder<AF>>
protected abstract boolean innerEquals(BucketMetricsPipelineAggregationBuilder<AF> other)