public enum AggregateFunctionType extends Enum<AggregateFunctionType>
| Enum Constant and Description |
|---|
AVERAGE |
COUNT |
DISTINCT |
MAX |
MIN |
SUM |
| Modifier and Type | Method and Description |
|---|---|
static AggregateFunctionType |
getByIndex(int index) |
static AggregateFunctionType |
getByName(String str) |
int |
getIndex() |
ColumnType |
getResultType(ColumnType columnType) |
boolean |
supportType(ColumnType type) |
static AggregateFunctionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AggregateFunctionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AggregateFunctionType COUNT
public static final AggregateFunctionType DISTINCT
public static final AggregateFunctionType AVERAGE
public static final AggregateFunctionType SUM
public static final AggregateFunctionType MIN
public static final AggregateFunctionType MAX
public static AggregateFunctionType[] values()
for (AggregateFunctionType c : AggregateFunctionType.values()) System.out.println(c);
public static AggregateFunctionType 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 int getIndex()
public boolean supportType(ColumnType type)
public ColumnType getResultType(ColumnType columnType)
public static AggregateFunctionType getByIndex(int index)
public static AggregateFunctionType getByName(String str)
Copyright © 2017–2021 JBoss by Red Hat. All rights reserved.