Package org.apache.drill.exec.proto
Enum UserProtos.DateTimeLiteralsSupport
java.lang.Object
java.lang.Enum<UserProtos.DateTimeLiteralsSupport>
org.apache.drill.exec.proto.UserProtos.DateTimeLiteralsSupport
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<UserProtos.DateTimeLiteralsSupport>
- Enclosing class:
- UserProtos
public static enum UserProtos.DateTimeLiteralsSupport
extends Enum<UserProtos.DateTimeLiteralsSupport>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
exec.user.DateTimeLiteralsSupport
-
Enum Constant Summary
Enum ConstantDescriptionDATE literal is supportedINTERVAL DAY literal is supportedINTERVAL DAY TO HOUR literal is supportedINTERVAL DAY TO MINUTE literal is supportedINTERVAL DAY TO SECOND literal is supportedINTERVAL HOUR literal is supportedINTERVAL HOUR TO MINUTE literal is supportedINTERVAL HOUR TO SECOND literal is supportedINTERVAL MINUTE literal is supportedINTERVAL MINUTE TO SECOND literal is supportedINTERVAL MONTH literal is supportedINTERVAL SECOND literal is supportedINTERVAL YEAR literal is supportedINTERVAL YEAR TO MONTH literal is supportedTIME literal is supportedTIMESTAMP literal is supportedUnknown support (for forward compatibility) -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
DATE literal is supportedstatic final int
INTERVAL DAY TO HOUR literal is supportedstatic final int
INTERVAL DAY TO MINUTE literal is supportedstatic final int
INTERVAL DAY TO SECOND literal is supportedstatic final int
INTERVAL DAY literal is supportedstatic final int
INTERVAL HOUR TO MINUTE literal is supportedstatic final int
INTERVAL HOUR TO SECOND literal is supportedstatic final int
INTERVAL HOUR literal is supportedstatic final int
INTERVAL MINUTE TO SECOND literal is supportedstatic final int
INTERVAL MINUTE literal is supportedstatic final int
INTERVAL MONTH literal is supportedstatic final int
INTERVAL SECOND literal is supportedstatic final int
INTERVAL YEAR TO MONTH literal is supportedstatic final int
INTERVAL YEAR literal is supportedstatic final int
TIME literal is supportedstatic final int
TIMESTAMP literal is supportedstatic final int
Unknown support (for forward compatibility) -
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.DateTimeLiteralsSupport>
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.DateTimeLiteralsSupport[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DL_UNKNOWN
Unknown support (for forward compatibility)
DL_UNKNOWN = 0;
-
DL_DATE
DATE literal is supported
DL_DATE = 1;
-
DL_TIME
TIME literal is supported
DL_TIME = 2;
-
DL_TIMESTAMP
TIMESTAMP literal is supported
DL_TIMESTAMP = 3;
-
DL_INTERVAL_YEAR
INTERVAL YEAR literal is supported
DL_INTERVAL_YEAR = 4;
-
DL_INTERVAL_MONTH
INTERVAL MONTH literal is supported
DL_INTERVAL_MONTH = 5;
-
DL_INTERVAL_DAY
INTERVAL DAY literal is supported
DL_INTERVAL_DAY = 6;
-
DL_INTERVAL_HOUR
INTERVAL HOUR literal is supported
DL_INTERVAL_HOUR = 7;
-
DL_INTERVAL_MINUTE
INTERVAL MINUTE literal is supported
DL_INTERVAL_MINUTE = 8;
-
DL_INTERVAL_SECOND
INTERVAL SECOND literal is supported
DL_INTERVAL_SECOND = 9;
-
DL_INTERVAL_YEAR_TO_MONTH
INTERVAL YEAR TO MONTH literal is supported
DL_INTERVAL_YEAR_TO_MONTH = 10;
-
DL_INTERVAL_DAY_TO_HOUR
INTERVAL DAY TO HOUR literal is supported
DL_INTERVAL_DAY_TO_HOUR = 11;
-
DL_INTERVAL_DAY_TO_MINUTE
INTERVAL DAY TO MINUTE literal is supported
DL_INTERVAL_DAY_TO_MINUTE = 12;
-
DL_INTERVAL_DAY_TO_SECOND
INTERVAL DAY TO SECOND literal is supported
DL_INTERVAL_DAY_TO_SECOND = 13;
-
DL_INTERVAL_HOUR_TO_MINUTE
INTERVAL HOUR TO MINUTE literal is supported
DL_INTERVAL_HOUR_TO_MINUTE = 14;
-
DL_INTERVAL_HOUR_TO_SECOND
INTERVAL HOUR TO SECOND literal is supported
DL_INTERVAL_HOUR_TO_SECOND = 15;
-
DL_INTERVAL_MINUTE_TO_SECOND
INTERVAL MINUTE TO SECOND literal is supported
DL_INTERVAL_MINUTE_TO_SECOND = 16;
-
-
Field Details
-
DL_UNKNOWN_VALUE
public static final int DL_UNKNOWN_VALUEUnknown support (for forward compatibility)
DL_UNKNOWN = 0;
- See Also:
-
DL_DATE_VALUE
public static final int DL_DATE_VALUEDATE literal is supported
DL_DATE = 1;
- See Also:
-
DL_TIME_VALUE
public static final int DL_TIME_VALUETIME literal is supported
DL_TIME = 2;
- See Also:
-
DL_TIMESTAMP_VALUE
public static final int DL_TIMESTAMP_VALUETIMESTAMP literal is supported
DL_TIMESTAMP = 3;
- See Also:
-
DL_INTERVAL_YEAR_VALUE
public static final int DL_INTERVAL_YEAR_VALUEINTERVAL YEAR literal is supported
DL_INTERVAL_YEAR = 4;
- See Also:
-
DL_INTERVAL_MONTH_VALUE
public static final int DL_INTERVAL_MONTH_VALUEINTERVAL MONTH literal is supported
DL_INTERVAL_MONTH = 5;
- See Also:
-
DL_INTERVAL_DAY_VALUE
public static final int DL_INTERVAL_DAY_VALUEINTERVAL DAY literal is supported
DL_INTERVAL_DAY = 6;
- See Also:
-
DL_INTERVAL_HOUR_VALUE
public static final int DL_INTERVAL_HOUR_VALUEINTERVAL HOUR literal is supported
DL_INTERVAL_HOUR = 7;
- See Also:
-
DL_INTERVAL_MINUTE_VALUE
public static final int DL_INTERVAL_MINUTE_VALUEINTERVAL MINUTE literal is supported
DL_INTERVAL_MINUTE = 8;
- See Also:
-
DL_INTERVAL_SECOND_VALUE
public static final int DL_INTERVAL_SECOND_VALUEINTERVAL SECOND literal is supported
DL_INTERVAL_SECOND = 9;
- See Also:
-
DL_INTERVAL_YEAR_TO_MONTH_VALUE
public static final int DL_INTERVAL_YEAR_TO_MONTH_VALUEINTERVAL YEAR TO MONTH literal is supported
DL_INTERVAL_YEAR_TO_MONTH = 10;
- See Also:
-
DL_INTERVAL_DAY_TO_HOUR_VALUE
public static final int DL_INTERVAL_DAY_TO_HOUR_VALUEINTERVAL DAY TO HOUR literal is supported
DL_INTERVAL_DAY_TO_HOUR = 11;
- See Also:
-
DL_INTERVAL_DAY_TO_MINUTE_VALUE
public static final int DL_INTERVAL_DAY_TO_MINUTE_VALUEINTERVAL DAY TO MINUTE literal is supported
DL_INTERVAL_DAY_TO_MINUTE = 12;
- See Also:
-
DL_INTERVAL_DAY_TO_SECOND_VALUE
public static final int DL_INTERVAL_DAY_TO_SECOND_VALUEINTERVAL DAY TO SECOND literal is supported
DL_INTERVAL_DAY_TO_SECOND = 13;
- See Also:
-
DL_INTERVAL_HOUR_TO_MINUTE_VALUE
public static final int DL_INTERVAL_HOUR_TO_MINUTE_VALUEINTERVAL HOUR TO MINUTE literal is supported
DL_INTERVAL_HOUR_TO_MINUTE = 14;
- See Also:
-
DL_INTERVAL_HOUR_TO_SECOND_VALUE
public static final int DL_INTERVAL_HOUR_TO_SECOND_VALUEINTERVAL HOUR TO SECOND literal is supported
DL_INTERVAL_HOUR_TO_SECOND = 15;
- See Also:
-
DL_INTERVAL_MINUTE_TO_SECOND_VALUE
public static final int DL_INTERVAL_MINUTE_TO_SECOND_VALUEINTERVAL MINUTE TO SECOND literal is supported
DL_INTERVAL_MINUTE_TO_SECOND = 16;
- 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.DateTimeLiteralsSupport> 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.DateTimeLiteralsSupport 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
-