Module org.elasticsearch.compute
Package org.elasticsearch.compute.data
Enum Class ExponentialHistogramBlock.Component
java.lang.Object
java.lang.Enum<ExponentialHistogramBlock.Component>
org.elasticsearch.compute.data.ExponentialHistogramBlock.Component
- All Implemented Interfaces:
Serializable,Comparable<ExponentialHistogramBlock.Component>,Constable
- Enclosing interface:
ExponentialHistogramBlock
public static enum ExponentialHistogramBlock.Component
extends Enum<ExponentialHistogramBlock.Component>
Exponential histograms are composite data types. This enum defines the components
that can be directly accessed, potentially avoiding loading the entire histogram from disk.
This enum can be safely serialized via
This enum can be safely serialized via
StreamOutput.writeEnum(Enum).-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe number of all values summarized by the histogram, 0 if the histogram is empty.The maximum of all values summarized by the histogram, null if the histogram is empty.The minimum of all values summarized by the histogram, null if the histogram is empty.The sum of all values summarized by the histogram, 0.0 if the histogram is empty. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ExponentialHistogramBlock.Component[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MIN
The minimum of all values summarized by the histogram, null if the histogram is empty. -
MAX
The maximum of all values summarized by the histogram, null if the histogram is empty. -
SUM
The sum of all values summarized by the histogram, 0.0 if the histogram is empty. -
COUNT
The number of all values summarized by the histogram, 0 if the histogram is empty.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-