Class DerivativePipelineAggregationBuilder
java.lang.Object
org.opensearch.search.aggregations.PipelineAggregationBuilder
org.opensearch.search.aggregations.pipeline.AbstractPipelineAggregationBuilder<DerivativePipelineAggregationBuilder>
org.opensearch.search.aggregations.pipeline.DerivativePipelineAggregationBuilder
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.NamedWriteable
,org.opensearch.core.common.io.stream.Writeable
,org.opensearch.core.xcontent.ToXContent
,org.opensearch.core.xcontent.ToXContentFragment
,Rewriteable<PipelineAggregationBuilder>
,BaseAggregationBuilder
public class DerivativePipelineAggregationBuilder
extends AbstractPipelineAggregationBuilder<DerivativePipelineAggregationBuilder>
Aggregation Builder for derivative agg
- Opensearch.internal:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensearch.search.aggregations.PipelineAggregationBuilder
PipelineAggregationBuilder.ValidationContext
Nested classes/interfaces inherited from interface org.opensearch.core.xcontent.ToXContent
org.opensearch.core.xcontent.ToXContent.DelegatingMapParams, org.opensearch.core.xcontent.ToXContent.MapParams, org.opensearch.core.xcontent.ToXContent.Params
Nested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable
org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V>
-
Field Summary
Fields inherited from class org.opensearch.search.aggregations.pipeline.AbstractPipelineAggregationBuilder
BUCKETS_PATH_FIELD, metadata, type
Fields inherited from class org.opensearch.search.aggregations.PipelineAggregationBuilder
bucketsPaths, name
Fields inherited from interface org.opensearch.index.query.Rewriteable
MAX_REWRITE_ROUNDS
Fields inherited from interface org.opensearch.core.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
ConstructorDescriptionDerivativePipelineAggregationBuilder
(String name, String bucketsPath) DerivativePipelineAggregationBuilder
(org.opensearch.core.common.io.stream.StreamInput in) Read from a stream. -
Method Summary
Modifier and TypeMethodDescriptionprotected PipelineAggregator
createInternal
(Map<String, Object> metadata) protected void
doWriteTo
(org.opensearch.core.common.io.stream.StreamOutput out) boolean
format()
gapPolicy
(BucketHelpers.GapPolicy gapPolicy) int
hashCode()
protected org.opensearch.core.xcontent.XContentBuilder
internalXContent
(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) unit()
unit
(DateHistogramInterval units) protected void
Makes sure this builder is properly configured.Methods inherited from class org.opensearch.search.aggregations.pipeline.AbstractPipelineAggregationBuilder
create, getType, overrideBucketsPath, setMetadata, toXContent, type, writeTo
Methods inherited from class org.opensearch.search.aggregations.PipelineAggregationBuilder
getBucketsPaths, getName, rewrite, subAggregations, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opensearch.core.xcontent.ToXContentFragment
isFragment
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
DerivativePipelineAggregationBuilder
-
DerivativePipelineAggregationBuilder
public DerivativePipelineAggregationBuilder(org.opensearch.core.common.io.stream.StreamInput in) throws IOException Read from a stream.- Throws:
IOException
-
-
Method Details
-
doWriteTo
- Specified by:
doWriteTo
in classAbstractPipelineAggregationBuilder<DerivativePipelineAggregationBuilder>
- Throws:
IOException
-
format
-
format
-
gapPolicy
-
gapPolicy
-
unit
-
unit
-
unit
-
createInternal
- Specified by:
createInternal
in classAbstractPipelineAggregationBuilder<DerivativePipelineAggregationBuilder>
-
validate
Description copied from class:PipelineAggregationBuilder
Makes sure this builder is properly configured.- Specified by:
validate
in classPipelineAggregationBuilder
-
internalXContent
protected org.opensearch.core.xcontent.XContentBuilder internalXContent(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) throws IOException - Specified by:
internalXContent
in classAbstractPipelineAggregationBuilder<DerivativePipelineAggregationBuilder>
- Throws:
IOException
-
parse
public static DerivativePipelineAggregationBuilder parse(String pipelineAggregatorName, org.opensearch.core.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-
equals
- Overrides:
equals
in classAbstractPipelineAggregationBuilder<DerivativePipelineAggregationBuilder>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractPipelineAggregationBuilder<DerivativePipelineAggregationBuilder>
-
getWriteableName
-