public enum PigAggFunction extends Enum<PigAggFunction>
| Enum Constant and Description |
|---|
COUNT |
COUNT_STAR |
| Modifier and Type | Field and Description |
|---|---|
private SqlKind |
calciteFunc |
private boolean |
star |
| Modifier and Type | Method and Description |
|---|---|
static PigAggFunction |
valueOf(SqlKind calciteFunc,
boolean star) |
static PigAggFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PigAggFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PigAggFunction COUNT
public static final PigAggFunction COUNT_STAR
private final SqlKind calciteFunc
private final boolean star
public static PigAggFunction[] values()
for (PigAggFunction c : PigAggFunction.values()) System.out.println(c);
public static PigAggFunction 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 static PigAggFunction valueOf(SqlKind calciteFunc, boolean star)
Copyright © 2012–2017 The Apache Software Foundation. All rights reserved.