public static enum UserProtos.ColumnSearchability extends Enum<UserProtos.ColumnSearchability> implements com.google.protobuf.ProtocolMessageEnum
How a column can be used in WHERE clauseProtobuf enum
exec.user.ColumnSearchability| Enum Constant and Description |
|---|
ALL
can be used in a WHERE clause with all the comparison operators
|
CHAR
can be used in WHERE clause but only with LIKE predicate
|
NONE
can't be used in WHERE clause
|
NUMBER
can be used in a WHERE clause with all the comparison operators except LIKE
|
UNKNOWN_SEARCHABILITY
UNKNOWN_SEARCHABILITY = 0; |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALL_VALUE
can be used in a WHERE clause with all the comparison operators
|
static int |
CHAR_VALUE
can be used in WHERE clause but only with LIKE predicate
|
static int |
NONE_VALUE
can't be used in WHERE clause
|
static int |
NUMBER_VALUE
can be used in a WHERE clause with all the comparison operators except LIKE
|
static int |
UNKNOWN_SEARCHABILITY_VALUE
UNKNOWN_SEARCHABILITY = 0; |
| Modifier and Type | Method and Description |
|---|---|
static UserProtos.ColumnSearchability |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<UserProtos.ColumnSearchability> |
internalGetValueMap() |
static UserProtos.ColumnSearchability |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UserProtos.ColumnSearchability |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static UserProtos.ColumnSearchability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserProtos.ColumnSearchability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserProtos.ColumnSearchability UNKNOWN_SEARCHABILITY
UNKNOWN_SEARCHABILITY = 0;public static final UserProtos.ColumnSearchability NONE
can't be used in WHERE clause
NONE = 1;public static final UserProtos.ColumnSearchability CHAR
can be used in WHERE clause but only with LIKE predicate
CHAR = 2;public static final UserProtos.ColumnSearchability NUMBER
can be used in a WHERE clause with all the comparison operators except LIKE
NUMBER = 3;public static final UserProtos.ColumnSearchability ALL
can be used in a WHERE clause with all the comparison operators
ALL = 4;public static final int UNKNOWN_SEARCHABILITY_VALUE
UNKNOWN_SEARCHABILITY = 0;public static final int NONE_VALUE
can't be used in WHERE clause
NONE = 1;public static final int CHAR_VALUE
can be used in WHERE clause but only with LIKE predicate
CHAR = 2;public static final int NUMBER_VALUE
can be used in a WHERE clause with all the comparison operators except LIKE
NUMBER = 3;public static final int ALL_VALUE
can be used in a WHERE clause with all the comparison operators
ALL = 4;public static UserProtos.ColumnSearchability[] values()
for (UserProtos.ColumnSearchability c : UserProtos.ColumnSearchability.values()) System.out.println(c);
public static UserProtos.ColumnSearchability 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 final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static UserProtos.ColumnSearchability valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static UserProtos.ColumnSearchability forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<UserProtos.ColumnSearchability> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static UserProtos.ColumnSearchability valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2021 The Apache Software Foundation. All rights reserved.