enum StatementOperator extends Enum<StatementOperator> implements Operator
Enum Constant and Description |
---|
ARGUMENT |
COUNT |
DEFINE_VIEW |
EXECUTE |
OUTPUT |
PROGRAM |
Modifier and Type | Field and Description |
---|---|
private ArgumentsTypeChecker |
checker |
static com.google.common.base.Predicate<OperatorNode<? extends Operator>> |
IS |
Modifier and Type | Method and Description |
---|---|
void |
checkArguments(Object... args) |
static StatementOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatementOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatementOperator PROGRAM
public static final StatementOperator ARGUMENT
public static final StatementOperator DEFINE_VIEW
public static final StatementOperator EXECUTE
public static final StatementOperator OUTPUT
public static final StatementOperator COUNT
private final ArgumentsTypeChecker checker
public static com.google.common.base.Predicate<OperatorNode<? extends Operator>> IS
public static StatementOperator[] values()
for (StatementOperator c : StatementOperator.values()) System.out.println(c);
public static StatementOperator 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 void checkArguments(Object... args)
checkArguments
in interface Operator
Copyright © 2017. All rights reserved.