Package com.twilio.kudu.sql
Enum KuduMethod
- java.lang.Object
-
- java.lang.Enum<KuduMethod>
-
- com.twilio.kudu.sql.KuduMethod
-
- All Implemented Interfaces:
Serializable
,Comparable<KuduMethod>
public enum KuduMethod extends Enum<KuduMethod>
Builtin methods in the KuduDB adapter.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description KUDU_MUTATE_ROW_METHOD
KUDU_MUTATE_TUPLES_METHOD
KUDU_QUERY_METHOD
NESTED_JOIN_PREDICATES
-
Field Summary
Fields Modifier and Type Field Description static com.google.common.collect.ImmutableMap<Method,KuduMethod>
MAP
Method
method
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KuduMethod
valueOf(String name)
Returns the enum constant of this type with the specified name.static KuduMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KUDU_QUERY_METHOD
public static final KuduMethod KUDU_QUERY_METHOD
-
KUDU_MUTATE_TUPLES_METHOD
public static final KuduMethod KUDU_MUTATE_TUPLES_METHOD
-
KUDU_MUTATE_ROW_METHOD
public static final KuduMethod KUDU_MUTATE_ROW_METHOD
-
NESTED_JOIN_PREDICATES
public static final KuduMethod NESTED_JOIN_PREDICATES
-
-
Field Detail
-
method
public final Method method
-
MAP
public static final com.google.common.collect.ImmutableMap<Method,KuduMethod> MAP
-
-
Method Detail
-
values
public static KuduMethod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KuduMethod c : KuduMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KuduMethod valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-