Package org.apache.drill.exec.proto
Enum UserProtos.CorrelationNamesSupport
java.lang.Object
java.lang.Enum<UserProtos.CorrelationNamesSupport>
org.apache.drill.exec.proto.UserProtos.CorrelationNamesSupport
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<UserProtos.CorrelationNamesSupport>
- Enclosing class:
- UserProtos
public static enum UserProtos.CorrelationNamesSupport
extends Enum<UserProtos.CorrelationNamesSupport>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
exec.user.CorrelationNamesSupport
-
Enum Constant Summary
Enum ConstantDescriptionbe different from the tables they representCorrelation names are supported, but names have toCorrelation names are not supported -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
be different from the tables they representstatic final int
Correlation names are supported, but names have tostatic final int
Correlation names are not supported -
Method Summary
Modifier and TypeMethodDescriptionforNumber
(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.CorrelationNamesSupport>
valueOf
(int value) Deprecated.valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.static UserProtos.CorrelationNamesSupport[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CN_NONE
Correlation names are not supported
CN_NONE = 1;
-
CN_DIFFERENT_NAMES
Correlation names are supported, but names have to
CN_DIFFERENT_NAMES = 2;
-
CN_ANY
be different from the tables they represent
CN_ANY = 3;
-
-
Field Details
-
CN_NONE_VALUE
public static final int CN_NONE_VALUECorrelation names are not supported
CN_NONE = 1;
- See Also:
-
CN_DIFFERENT_NAMES_VALUE
public static final int CN_DIFFERENT_NAMES_VALUECorrelation names are supported, but names have to
CN_DIFFERENT_NAMES = 2;
- See Also:
-
CN_ANY_VALUE
public static final int CN_ANY_VALUEbe different from the tables they represent
CN_ANY = 3;
- 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.CorrelationNamesSupport> 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.CorrelationNamesSupport 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
-