public static enum Types.AggOp extends Enum<Types.AggOp>
Enum Constant and Description |
---|
COUNT_DISTINCT |
COUNT_DISTINCT_APPROX |
MAX |
MAXINDEX |
MEAN |
MIN |
MININDEX |
PROD |
SUM |
SUM_PROD |
SUM_SQ |
TRACE |
VAR |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
String |
toString() |
static Types.AggOp |
valueOf(int aggOp) |
static Types.AggOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Types.AggOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Types.AggOp SUM
public static final Types.AggOp SUM_SQ
public static final Types.AggOp MIN
public static final Types.AggOp MAX
public static final Types.AggOp PROD
public static final Types.AggOp SUM_PROD
public static final Types.AggOp TRACE
public static final Types.AggOp MEAN
public static final Types.AggOp VAR
public static final Types.AggOp MAXINDEX
public static final Types.AggOp MININDEX
public static final Types.AggOp COUNT_DISTINCT
public static final Types.AggOp COUNT_DISTINCT_APPROX
public static Types.AggOp[] values()
for (Types.AggOp c : Types.AggOp.values()) System.out.println(c);
public static Types.AggOp valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<Types.AggOp>
public static Types.AggOp valueOf(int aggOp)
public int getValue()
Copyright © 2022 The Apache Software Foundation. All rights reserved.