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 Constants Enum Constant Description AGGREGATORS
CARDINALITY
INTERVAL
MINMAX
QUERYGRANULARITY
ROLLUP
SIZE
TIMESTAMPSPEC
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SegmentMetadataQuery.AnalysisType
fromString(String name)
byte[]
getCacheKey()
Get a byte array used as a cache key.String
toString()
static SegmentMetadataQuery.AnalysisType
valueOf(String name)
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 Detail
-
CARDINALITY
public static final SegmentMetadataQuery.AnalysisType CARDINALITY
-
SIZE
public static final SegmentMetadataQuery.AnalysisType SIZE
-
INTERVAL
public static final SegmentMetadataQuery.AnalysisType INTERVAL
-
AGGREGATORS
public static final SegmentMetadataQuery.AnalysisType AGGREGATORS
-
MINMAX
public static final SegmentMetadataQuery.AnalysisType MINMAX
-
TIMESTAMPSPEC
public static final SegmentMetadataQuery.AnalysisType TIMESTAMPSPEC
-
QUERYGRANULARITY
public static final SegmentMetadataQuery.AnalysisType QUERYGRANULARITY
-
ROLLUP
public static final SegmentMetadataQuery.AnalysisType ROLLUP
-
-
Method Detail
-
values
public static SegmentMetadataQuery.AnalysisType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SegmentMetadataQuery.AnalysisType c : SegmentMetadataQuery.AnalysisType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SegmentMetadataQuery.AnalysisType valueOf(String name)
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
public String toString()
- Overrides:
toString
in classEnum<SegmentMetadataQuery.AnalysisType>
-
fromString
public static SegmentMetadataQuery.AnalysisType fromString(String name)
-
getCacheKey
public byte[] getCacheKey()
Description copied from interface:Cacheable
Get a byte array used as a cache key.- Specified by:
getCacheKey
in interfaceCacheable
- Returns:
- a cache key
-
-