public enum DerivedColumn extends Enum<DerivedColumn>
| Enum Constant and Description |
|---|
AGGREGATION_DISTINCT_DERIVED |
AVG_COUNT_ALIAS |
AVG_SUM_ALIAS |
GROUP_BY_ALIAS |
ORDER_BY_ALIAS |
| Modifier and Type | Method and Description |
|---|---|
String |
getDerivedColumnAlias(int derivedColumnCount)
Get alias of derived column.
|
static boolean |
isDerivedColumn(String columnName)
Judge is derived column or not.
|
static boolean |
isDerivedColumnName(String columnName)
Judge is derived column name or not.
|
static DerivedColumn |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DerivedColumn[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DerivedColumn AVG_COUNT_ALIAS
public static final DerivedColumn AVG_SUM_ALIAS
public static final DerivedColumn ORDER_BY_ALIAS
public static final DerivedColumn GROUP_BY_ALIAS
public static final DerivedColumn AGGREGATION_DISTINCT_DERIVED
public static DerivedColumn[] values()
for (DerivedColumn c : DerivedColumn.values()) System.out.println(c);
public static DerivedColumn 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 getDerivedColumnAlias(int derivedColumnCount)
derivedColumnCount - derived column countpublic static boolean isDerivedColumnName(String columnName)
columnName - column name to be judgedpublic static boolean isDerivedColumn(String columnName)
columnName - column name to be judgedCopyright © 2021 The Apache Software Foundation. All rights reserved.