enum TypeOperator extends Enum<TypeOperator> implements Operator
Enum Constant and Description |
---|
ARRAY |
BOOLEAN |
BYTE |
DOUBLE |
INT16 |
INT32 |
INT64 |
MAP |
STRING |
TIMESTAMP |
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 TypeOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeOperator BYTE
public static final TypeOperator INT16
public static final TypeOperator INT32
public static final TypeOperator INT64
public static final TypeOperator STRING
public static final TypeOperator DOUBLE
public static final TypeOperator TIMESTAMP
public static final TypeOperator BOOLEAN
public static final TypeOperator ARRAY
public static final TypeOperator MAP
private final ArgumentsTypeChecker checker
public static com.google.common.base.Predicate<OperatorNode<? extends Operator>> IS
public static TypeOperator[] values()
for (TypeOperator c : TypeOperator.values()) System.out.println(c);
public static TypeOperator 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 © 2018. All rights reserved.