public static enum Aggregator.Op extends java.lang.Enum<Aggregator.Op> implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
static Aggregator.Op |
getOp(int i)
Interface to access operations by integer value for command-line
convenience.
|
static Aggregator.Op |
getOp(java.lang.String s)
Interface to access operations by a string containing an integer
index for command-line convenience.
|
java.lang.String |
toString() |
static Aggregator.Op |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Aggregator.Op[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Aggregator.Op MIN
public static final Aggregator.Op MAX
public static final Aggregator.Op SUM
public static final Aggregator.Op AVG
public static final Aggregator.Op COUNT
public static Aggregator.Op[] values()
for (Aggregator.Op c : Aggregator.Op.values()) System.out.println(c);
public static Aggregator.Op valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static Aggregator.Op getOp(java.lang.String s)
s
- a string containing a valid integer Op indexpublic static Aggregator.Op getOp(int i)
i
- a valid integer Op indexpublic java.lang.String toString()
toString
in class java.lang.Enum<Aggregator.Op>