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 SummaryEnum ConstantsEnum 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 SummaryFieldsModifier and TypeFieldDescriptionstatic final intDATE literal is supportedstatic final intINTERVAL DAY TO HOUR literal is supportedstatic final intINTERVAL DAY TO MINUTE literal is supportedstatic final intINTERVAL DAY TO SECOND literal is supportedstatic final intINTERVAL DAY literal is supportedstatic final intINTERVAL HOUR TO MINUTE literal is supportedstatic final intINTERVAL HOUR TO SECOND literal is supportedstatic final intINTERVAL HOUR literal is supportedstatic final intINTERVAL MINUTE TO SECOND literal is supportedstatic final intINTERVAL MINUTE literal is supportedstatic final intINTERVAL MONTH literal is supportedstatic final intINTERVAL SECOND literal is supportedstatic final intINTERVAL YEAR TO MONTH literal is supportedstatic final intINTERVAL YEAR literal is supportedstatic final intTIME literal is supportedstatic final intTIMESTAMP literal is supportedstatic final intUnknown support (for forward compatibility)
- 
Method SummaryModifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic 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_UNKNOWNUnknown support (for forward compatibility) DL_UNKNOWN = 0;
- 
DL_DATEDATE literal is supported DL_DATE = 1;
- 
DL_TIMETIME literal is supported DL_TIME = 2;
- 
DL_TIMESTAMPTIMESTAMP literal is supported DL_TIMESTAMP = 3;
- 
DL_INTERVAL_YEARINTERVAL YEAR literal is supported DL_INTERVAL_YEAR = 4;
- 
DL_INTERVAL_MONTHINTERVAL MONTH literal is supported DL_INTERVAL_MONTH = 5;
- 
DL_INTERVAL_DAYINTERVAL DAY literal is supported DL_INTERVAL_DAY = 6;
- 
DL_INTERVAL_HOURINTERVAL HOUR literal is supported DL_INTERVAL_HOUR = 7;
- 
DL_INTERVAL_MINUTEINTERVAL MINUTE literal is supported DL_INTERVAL_MINUTE = 8;
- 
DL_INTERVAL_SECONDINTERVAL SECOND literal is supported DL_INTERVAL_SECOND = 9;
- 
DL_INTERVAL_YEAR_TO_MONTHINTERVAL YEAR TO MONTH literal is supported DL_INTERVAL_YEAR_TO_MONTH = 10;
- 
DL_INTERVAL_DAY_TO_HOURINTERVAL DAY TO HOUR literal is supported DL_INTERVAL_DAY_TO_HOUR = 11;
- 
DL_INTERVAL_DAY_TO_MINUTEINTERVAL DAY TO MINUTE literal is supported DL_INTERVAL_DAY_TO_MINUTE = 12;
- 
DL_INTERVAL_DAY_TO_SECONDINTERVAL DAY TO SECOND literal is supported DL_INTERVAL_DAY_TO_SECOND = 13;
- 
DL_INTERVAL_HOUR_TO_MINUTEINTERVAL HOUR TO MINUTE literal is supported DL_INTERVAL_HOUR_TO_MINUTE = 14;
- 
DL_INTERVAL_HOUR_TO_SECONDINTERVAL HOUR TO SECOND literal is supported DL_INTERVAL_HOUR_TO_SECOND = 15;
- 
DL_INTERVAL_MINUTE_TO_SECONDINTERVAL MINUTE TO SECOND literal is supported DL_INTERVAL_MINUTE_TO_SECOND = 16;
 
- 
- 
Field Details- 
DL_UNKNOWN_VALUEpublic static final int DL_UNKNOWN_VALUEUnknown support (for forward compatibility) DL_UNKNOWN = 0;- See Also:
 
- 
DL_DATE_VALUEpublic static final int DL_DATE_VALUEDATE literal is supported DL_DATE = 1;- See Also:
 
- 
DL_TIME_VALUEpublic static final int DL_TIME_VALUETIME literal is supported DL_TIME = 2;- See Also:
 
- 
DL_TIMESTAMP_VALUEpublic static final int DL_TIMESTAMP_VALUETIMESTAMP literal is supported DL_TIMESTAMP = 3;- See Also:
 
- 
DL_INTERVAL_YEAR_VALUEpublic static final int DL_INTERVAL_YEAR_VALUEINTERVAL YEAR literal is supported DL_INTERVAL_YEAR = 4;- See Also:
 
- 
DL_INTERVAL_MONTH_VALUEpublic static final int DL_INTERVAL_MONTH_VALUEINTERVAL MONTH literal is supported DL_INTERVAL_MONTH = 5;- See Also:
 
- 
DL_INTERVAL_DAY_VALUEpublic static final int DL_INTERVAL_DAY_VALUEINTERVAL DAY literal is supported DL_INTERVAL_DAY = 6;- See Also:
 
- 
DL_INTERVAL_HOUR_VALUEpublic static final int DL_INTERVAL_HOUR_VALUEINTERVAL HOUR literal is supported DL_INTERVAL_HOUR = 7;- See Also:
 
- 
DL_INTERVAL_MINUTE_VALUEpublic static final int DL_INTERVAL_MINUTE_VALUEINTERVAL MINUTE literal is supported DL_INTERVAL_MINUTE = 8;- See Also:
 
- 
DL_INTERVAL_SECOND_VALUEpublic static final int DL_INTERVAL_SECOND_VALUEINTERVAL SECOND literal is supported DL_INTERVAL_SECOND = 9;- See Also:
 
- 
DL_INTERVAL_YEAR_TO_MONTH_VALUEpublic 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_VALUEpublic 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_VALUEpublic 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_VALUEpublic 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_VALUEpublic 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_VALUEpublic 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_VALUEpublic 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- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
getNumberpublic final int getNumber()- Specified by:
- getNumberin interface- com.google.protobuf.Internal.EnumLite
- Specified by:
- getNumberin interface- com.google.protobuf.ProtocolMessageEnum
 
- 
valueOfDeprecated.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 name
- NullPointerException- 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.
 
- 
internalGetValueMappublic static com.google.protobuf.Internal.EnumLiteMap<UserProtos.DateTimeLiteralsSupport> internalGetValueMap()
- 
getValueDescriptorpublic final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
- getValueDescriptorin interface- com.google.protobuf.ProtocolMessageEnum
 
- 
getDescriptorForTypepublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
- getDescriptorForTypein interface- com.google.protobuf.ProtocolMessageEnum
 
- 
getDescriptorpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
- 
valueOfpublic 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 name
- NullPointerException- if the argument is null
 
 
-