Class InternalDerivative
java.lang.Object
org.elasticsearch.search.aggregations.InternalAggregation
org.elasticsearch.search.aggregations.metrics.InternalNumericMetricsAggregation
org.elasticsearch.search.aggregations.metrics.InternalNumericMetricsAggregation.SingleValue
org.elasticsearch.search.aggregations.pipeline.InternalSimpleValue
org.elasticsearch.search.aggregations.pipeline.InternalDerivative
- All Implemented Interfaces:
NamedWriteable,Writeable,org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentFragment,Aggregation,NumericMetricsAggregation,NumericMetricsAggregation.SingleValue,Derivative,SimpleValue
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.metrics.InternalNumericMetricsAggregation
InternalNumericMetricsAggregation.MultiValue, InternalNumericMetricsAggregation.SingleValueNested classes/interfaces inherited from class org.elasticsearch.search.aggregations.InternalAggregation
InternalAggregation.ReduceContext, InternalAggregation.ReduceContextBuilderNested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.Aggregation
Aggregation.CommonFieldsNested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.metrics.NumericMetricsAggregation
NumericMetricsAggregation.MultiValue, NumericMetricsAggregation.SingleValueNested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from class org.elasticsearch.search.aggregations.pipeline.InternalSimpleValue
NAME, valueFields inherited from class org.elasticsearch.search.aggregations.metrics.InternalNumericMetricsAggregation
formatFields inherited from class org.elasticsearch.search.aggregations.InternalAggregation
metadata, nameFields inherited from interface org.elasticsearch.search.aggregations.Aggregation
TYPED_KEYS_DELIMITERFields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoWriteTo(StreamOutput out)org.elasticsearch.common.xcontent.XContentBuilderdoXContentBody(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)booleangetProperty(List<String> path)Returns the name of the writeable objectinthashCode()doubleReturns the normalized value.Methods inherited from class org.elasticsearch.search.aggregations.pipeline.InternalSimpleValue
getValue, reduce, valueMethods inherited from class org.elasticsearch.search.aggregations.metrics.InternalNumericMetricsAggregation.SingleValue
getValueAsString, sortValueMethods inherited from class org.elasticsearch.search.aggregations.metrics.InternalNumericMetricsAggregation
mustReduceOnSingleInternalAgg, sortValueMethods inherited from class org.elasticsearch.search.aggregations.InternalAggregation
copyWithRewritenBuckets, forEachBucket, getMetadata, getName, getProperty, getType, isMapped, mergePipelineTreeForBWCSerialization, pipelineAggregatorsForBwcSerialization, readSize, reducePipelines, toString, toXContent, writeSize, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.search.aggregations.Aggregation
getMetadata, getName, getTypeMethods inherited from interface org.elasticsearch.search.aggregations.metrics.NumericMetricsAggregation.SingleValue
getValueAsString, valueMethods inherited from interface org.elasticsearch.common.xcontent.ToXContent
toXContentMethods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
Constructor Details
-
InternalDerivative
Read from a stream.- Throws:
IOException
-
-
Method Details
-
doWriteTo
- Overrides:
doWriteToin classInternalSimpleValue- Throws:
IOException
-
getWriteableName
Description copied from interface:NamedWriteableReturns the name of the writeable object- Specified by:
getWriteableNamein interfaceNamedWriteable- Overrides:
getWriteableNamein classInternalSimpleValue
-
normalizedValue
public double normalizedValue()Description copied from interface:DerivativeReturns the normalized value. If no normalised factor has been specified this method will returnNumericMetricsAggregation.SingleValue.value()- Specified by:
normalizedValuein interfaceDerivative- Returns:
- the normalized value
-
getProperty
- Overrides:
getPropertyin classInternalNumericMetricsAggregation.SingleValue
-
doXContentBody
public org.elasticsearch.common.xcontent.XContentBuilder doXContentBody(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException- Overrides:
doXContentBodyin classInternalSimpleValue- Throws:
IOException
-
hashCode
public int hashCode()- Overrides:
hashCodein classInternalSimpleValue
-
equals
- Overrides:
equalsin classInternalSimpleValue
-