Enum SegmentMetadataQuery.AnalysisType
java.lang.Object
java.lang.Enum<SegmentMetadataQuery.AnalysisType>
org.apache.druid.query.metadata.metadata.SegmentMetadataQuery.AnalysisType
- All Implemented Interfaces:
Serializable,Comparable<SegmentMetadataQuery.AnalysisType>,Cacheable
- Enclosing class:
SegmentMetadataQuery
public static enum SegmentMetadataQuery.AnalysisType
extends Enum<SegmentMetadataQuery.AnalysisType>
implements Cacheable
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionfromString(String name) byte[]Get a byte array used as a cache key.toString()Returns the enum constant of this type with the specified name.static SegmentMetadataQuery.AnalysisType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CARDINALITY
-
SIZE
-
INTERVAL
-
AGGREGATORS
-
MINMAX
-
TIMESTAMPSPEC
-
QUERYGRANULARITY
-
ROLLUP
-
PROJECTIONS
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<SegmentMetadataQuery.AnalysisType>
-
fromString
-
getCacheKey
public byte[] getCacheKey()Description copied from interface:CacheableGet a byte array used as a cache key.- Specified by:
getCacheKeyin interfaceCacheable- Returns:
- bytes to be used as cache key - or null if this object should not be cached.
-