Package org.apache.drill.exec.proto
Enum UserProtos.IdentifierCasing
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<UserProtos.IdentifierCasing>
- Enclosing class:
- UserProtos
public static enum UserProtos.IdentifierCasing
extends Enum<UserProtos.IdentifierCasing>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
exec.user.IdentifierCasing
-
Enum Constant Summary
Enum ConstantDescriptionMixed case identifier is treated as case insensitive and stored in lower caseMixed case identifier is treated as case insensitive and stored in mixed caseMixed case identifier is treated as case insensitive and stored in upper caseMixed case identifier is treated as case sensitive and stored in mixed caseUnknown support (for forward compatibility) -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Mixed case identifier is treated as case insensitive and stored in lower casestatic final int
Mixed case identifier is treated as case insensitive and stored in mixed casestatic final int
Mixed case identifier is treated as case insensitive and stored in upper casestatic final int
Mixed case identifier is treated as case sensitive and stored in mixed casestatic final int
Unknown support (for forward compatibility) -
Method Summary
Modifier and TypeMethodDescriptionstatic UserProtos.IdentifierCasing
forNumber
(int value) static final com.google.protobuf.Descriptors.EnumDescriptor
final com.google.protobuf.Descriptors.EnumDescriptor
final int
final com.google.protobuf.Descriptors.EnumValueDescriptor
static com.google.protobuf.Internal.EnumLiteMap<UserProtos.IdentifierCasing>
static UserProtos.IdentifierCasing
valueOf
(int value) Deprecated.static UserProtos.IdentifierCasing
valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static UserProtos.IdentifierCasing
Returns the enum constant of this type with the specified name.static UserProtos.IdentifierCasing[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
IC_UNKNOWN
Unknown support (for forward compatibility)
IC_UNKNOWN = 0;
-
IC_STORES_LOWER
Mixed case identifier is treated as case insensitive and stored in lower case
IC_STORES_LOWER = 1;
-
IC_STORES_MIXED
Mixed case identifier is treated as case insensitive and stored in mixed case
IC_STORES_MIXED = 2;
-
IC_STORES_UPPER
Mixed case identifier is treated as case insensitive and stored in upper case
IC_STORES_UPPER = 3;
-
IC_SUPPORTS_MIXED
Mixed case identifier is treated as case sensitive and stored in mixed case
IC_SUPPORTS_MIXED = 4;
-
-
Field Details
-
IC_UNKNOWN_VALUE
public static final int IC_UNKNOWN_VALUEUnknown support (for forward compatibility)
IC_UNKNOWN = 0;
- See Also:
-
IC_STORES_LOWER_VALUE
public static final int IC_STORES_LOWER_VALUEMixed case identifier is treated as case insensitive and stored in lower case
IC_STORES_LOWER = 1;
- See Also:
-
IC_STORES_MIXED_VALUE
public static final int IC_STORES_MIXED_VALUEMixed case identifier is treated as case insensitive and stored in mixed case
IC_STORES_MIXED = 2;
- See Also:
-
IC_STORES_UPPER_VALUE
public static final int IC_STORES_UPPER_VALUEMixed case identifier is treated as case insensitive and stored in upper case
IC_STORES_UPPER = 3;
- See Also:
-
IC_SUPPORTS_MIXED_VALUE
public static final int IC_SUPPORTS_MIXED_VALUEMixed case identifier is treated as case sensitive and stored in mixed case
IC_SUPPORTS_MIXED = 4;
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.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:
value
- 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
-
forNumber
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<UserProtos.IdentifierCasing> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static UserProtos.IdentifierCasing valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) 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:
desc
- 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
-