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 Details

  • Field Details

    • DL_UNKNOWN_VALUE

      public static final int DL_UNKNOWN_VALUE
       Unknown support (for forward compatibility)
       
      DL_UNKNOWN = 0;
      See Also:
    • DL_DATE_VALUE

      public static final int DL_DATE_VALUE
       DATE literal is supported
       
      DL_DATE = 1;
      See Also:
    • DL_TIME_VALUE

      public static final int DL_TIME_VALUE
       TIME literal is supported
       
      DL_TIME = 2;
      See Also:
    • DL_TIMESTAMP_VALUE

      public static final int DL_TIMESTAMP_VALUE
       TIMESTAMP literal is supported
       
      DL_TIMESTAMP = 3;
      See Also:
    • DL_INTERVAL_YEAR_VALUE

      public static final int DL_INTERVAL_YEAR_VALUE
       INTERVAL YEAR literal is supported
       
      DL_INTERVAL_YEAR = 4;
      See Also:
    • DL_INTERVAL_MONTH_VALUE

      public static final int DL_INTERVAL_MONTH_VALUE
       INTERVAL MONTH literal is supported
       
      DL_INTERVAL_MONTH = 5;
      See Also:
    • DL_INTERVAL_DAY_VALUE

      public static final int DL_INTERVAL_DAY_VALUE
       INTERVAL DAY literal is supported
       
      DL_INTERVAL_DAY = 6;
      See Also:
    • DL_INTERVAL_HOUR_VALUE

      public static final int DL_INTERVAL_HOUR_VALUE
       INTERVAL HOUR literal is supported
       
      DL_INTERVAL_HOUR = 7;
      See Also:
    • DL_INTERVAL_MINUTE_VALUE

      public static final int DL_INTERVAL_MINUTE_VALUE
       INTERVAL MINUTE literal is supported
       
      DL_INTERVAL_MINUTE = 8;
      See Also:
    • DL_INTERVAL_SECOND_VALUE

      public static final int DL_INTERVAL_SECOND_VALUE
       INTERVAL 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_VALUE
       INTERVAL 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_VALUE
       INTERVAL 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_VALUE
       INTERVAL 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_VALUE
       INTERVAL 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_VALUE
       INTERVAL 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_VALUE
       INTERVAL 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_VALUE
       INTERVAL MINUTE TO SECOND literal is supported
       
      DL_INTERVAL_MINUTE_TO_SECOND = 16;
      See Also:
  • Method Details

    • values

      public static UserProtos.DateTimeLiteralsSupport[] 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

      public static UserProtos.DateTimeLiteralsSupport valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static UserProtos.DateTimeLiteralsSupport valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static UserProtos.DateTimeLiteralsSupport forNumber(int value)
      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 interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null