Package org.apache.pinot.segment.spi
Enum AggregationFunctionType
- java.lang.Object
-
- java.lang.Enum<AggregationFunctionType>
-
- org.apache.pinot.segment.spi.AggregationFunctionType
-
- All Implemented Interfaces:
Serializable,Comparable<AggregationFunctionType>,java.lang.constant.Constable
public enum AggregationFunctionType extends Enum<AggregationFunctionType>
NOTE: No underscore is allowed in the enum name.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description static AggregationFunctionTypegetAggregationFunctionType(String functionName)Returns the corresponding aggregation function type for the given function name.StringgetName()static booleanisAggregationFunction(String functionName)static AggregationFunctionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AggregationFunctionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COUNT
public static final AggregationFunctionType COUNT
-
MIN
public static final AggregationFunctionType MIN
-
MAX
public static final AggregationFunctionType MAX
-
SUM
public static final AggregationFunctionType SUM
-
SUMPRECISION
public static final AggregationFunctionType SUMPRECISION
-
AVG
public static final AggregationFunctionType AVG
-
MODE
public static final AggregationFunctionType MODE
-
FIRSTWITHTIME
public static final AggregationFunctionType FIRSTWITHTIME
-
LASTWITHTIME
public static final AggregationFunctionType LASTWITHTIME
-
MINMAXRANGE
public static final AggregationFunctionType MINMAXRANGE
-
DISTINCTCOUNT
public static final AggregationFunctionType DISTINCTCOUNT
-
DISTINCTCOUNTBITMAP
public static final AggregationFunctionType DISTINCTCOUNTBITMAP
-
SEGMENTPARTITIONEDDISTINCTCOUNT
public static final AggregationFunctionType SEGMENTPARTITIONEDDISTINCTCOUNT
-
DISTINCTCOUNTHLL
public static final AggregationFunctionType DISTINCTCOUNTHLL
-
DISTINCTCOUNTRAWHLL
public static final AggregationFunctionType DISTINCTCOUNTRAWHLL
-
DISTINCTCOUNTSMARTHLL
public static final AggregationFunctionType DISTINCTCOUNTSMARTHLL
-
FASTHLL
public static final AggregationFunctionType FASTHLL
-
DISTINCTCOUNTTHETASKETCH
public static final AggregationFunctionType DISTINCTCOUNTTHETASKETCH
-
DISTINCTCOUNTRAWTHETASKETCH
public static final AggregationFunctionType DISTINCTCOUNTRAWTHETASKETCH
-
PERCENTILE
public static final AggregationFunctionType PERCENTILE
-
PERCENTILEEST
public static final AggregationFunctionType PERCENTILEEST
-
PERCENTILERAWEST
public static final AggregationFunctionType PERCENTILERAWEST
-
PERCENTILETDIGEST
public static final AggregationFunctionType PERCENTILETDIGEST
-
PERCENTILERAWTDIGEST
public static final AggregationFunctionType PERCENTILERAWTDIGEST
-
PERCENTILESMARTTDIGEST
public static final AggregationFunctionType PERCENTILESMARTTDIGEST
-
IDSET
public static final AggregationFunctionType IDSET
-
HISTOGRAM
public static final AggregationFunctionType HISTOGRAM
-
COVARPOP
public static final AggregationFunctionType COVARPOP
-
COVARSAMP
public static final AggregationFunctionType COVARSAMP
-
VARPOP
public static final AggregationFunctionType VARPOP
-
VARSAMP
public static final AggregationFunctionType VARSAMP
-
STDDEVPOP
public static final AggregationFunctionType STDDEVPOP
-
STDDEVSAMP
public static final AggregationFunctionType STDDEVSAMP
-
SKEWNESS
public static final AggregationFunctionType SKEWNESS
-
KURTOSIS
public static final AggregationFunctionType KURTOSIS
-
STUNION
public static final AggregationFunctionType STUNION
-
COUNTMV
public static final AggregationFunctionType COUNTMV
-
MINMV
public static final AggregationFunctionType MINMV
-
MAXMV
public static final AggregationFunctionType MAXMV
-
SUMMV
public static final AggregationFunctionType SUMMV
-
AVGMV
public static final AggregationFunctionType AVGMV
-
MINMAXRANGEMV
public static final AggregationFunctionType MINMAXRANGEMV
-
DISTINCTCOUNTMV
public static final AggregationFunctionType DISTINCTCOUNTMV
-
DISTINCTCOUNTBITMAPMV
public static final AggregationFunctionType DISTINCTCOUNTBITMAPMV
-
DISTINCTCOUNTHLLMV
public static final AggregationFunctionType DISTINCTCOUNTHLLMV
-
DISTINCTCOUNTRAWHLLMV
public static final AggregationFunctionType DISTINCTCOUNTRAWHLLMV
-
PERCENTILEMV
public static final AggregationFunctionType PERCENTILEMV
-
PERCENTILEESTMV
public static final AggregationFunctionType PERCENTILEESTMV
-
PERCENTILERAWESTMV
public static final AggregationFunctionType PERCENTILERAWESTMV
-
PERCENTILETDIGESTMV
public static final AggregationFunctionType PERCENTILETDIGESTMV
-
PERCENTILERAWTDIGESTMV
public static final AggregationFunctionType PERCENTILERAWTDIGESTMV
-
DISTINCT
public static final AggregationFunctionType DISTINCT
-
BOOLAND
public static final AggregationFunctionType BOOLAND
-
BOOLOR
public static final AggregationFunctionType BOOLOR
-
-
Method Detail
-
values
public static AggregationFunctionType[] 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
public static AggregationFunctionType 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
-
getName
public String getName()
-
isAggregationFunction
public static boolean isAggregationFunction(String functionName)
-
getAggregationFunctionType
public static AggregationFunctionType getAggregationFunctionType(String functionName)
Returns the corresponding aggregation function type for the given function name.NOTE: Underscores in the function name are ignored.
-
-