Enum FlightSql.XdbcDatetimeSubcode

java.lang.Object
java.lang.Enum<FlightSql.XdbcDatetimeSubcode>
org.apache.arrow.flight.sql.impl.FlightSql.XdbcDatetimeSubcode
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<FlightSql.XdbcDatetimeSubcode>
Enclosing class:
FlightSql

public static enum FlightSql.XdbcDatetimeSubcode extends Enum<FlightSql.XdbcDatetimeSubcode> implements com.google.protobuf.ProtocolMessageEnum

 Detailed subtype information for XDBC_TYPE_DATETIME and XDBC_TYPE_INTERVAL.
 
Protobuf enum arrow.flight.protocol.sql.XdbcDatetimeSubcode
  • Enum Constant Details

  • Field Details

    • XDBC_SUBCODE_DATE

      public static final FlightSql.XdbcDatetimeSubcode XDBC_SUBCODE_DATE
      XDBC_SUBCODE_DATE = 1;
    • XDBC_SUBCODE_MONTH

      public static final FlightSql.XdbcDatetimeSubcode XDBC_SUBCODE_MONTH
      XDBC_SUBCODE_MONTH = 2;
    • XDBC_SUBCODE_DAY

      public static final FlightSql.XdbcDatetimeSubcode XDBC_SUBCODE_DAY
      XDBC_SUBCODE_DAY = 3;
    • XDBC_SUBCODE_HOUR

      public static final FlightSql.XdbcDatetimeSubcode XDBC_SUBCODE_HOUR
      XDBC_SUBCODE_HOUR = 4;
    • XDBC_SUBCODE_MINUTE

      public static final FlightSql.XdbcDatetimeSubcode XDBC_SUBCODE_MINUTE
      XDBC_SUBCODE_MINUTE = 5;
    • XDBC_SUBCODE_UNKNOWN_VALUE

      public static final int XDBC_SUBCODE_UNKNOWN_VALUE
      XDBC_SUBCODE_UNKNOWN = 0;
      See Also:
    • XDBC_SUBCODE_YEAR_VALUE

      public static final int XDBC_SUBCODE_YEAR_VALUE
      XDBC_SUBCODE_YEAR = 1;
      See Also:
    • XDBC_SUBCODE_DATE_VALUE

      public static final int XDBC_SUBCODE_DATE_VALUE
      XDBC_SUBCODE_DATE = 1;
      See Also:
    • XDBC_SUBCODE_TIME_VALUE

      public static final int XDBC_SUBCODE_TIME_VALUE
      XDBC_SUBCODE_TIME = 2;
      See Also:
    • XDBC_SUBCODE_MONTH_VALUE

      public static final int XDBC_SUBCODE_MONTH_VALUE
      XDBC_SUBCODE_MONTH = 2;
      See Also:
    • XDBC_SUBCODE_TIMESTAMP_VALUE

      public static final int XDBC_SUBCODE_TIMESTAMP_VALUE
      XDBC_SUBCODE_TIMESTAMP = 3;
      See Also:
    • XDBC_SUBCODE_DAY_VALUE

      public static final int XDBC_SUBCODE_DAY_VALUE
      XDBC_SUBCODE_DAY = 3;
      See Also:
    • XDBC_SUBCODE_TIME_WITH_TIMEZONE_VALUE

      public static final int XDBC_SUBCODE_TIME_WITH_TIMEZONE_VALUE
      XDBC_SUBCODE_TIME_WITH_TIMEZONE = 4;
      See Also:
    • XDBC_SUBCODE_HOUR_VALUE

      public static final int XDBC_SUBCODE_HOUR_VALUE
      XDBC_SUBCODE_HOUR = 4;
      See Also:
    • XDBC_SUBCODE_TIMESTAMP_WITH_TIMEZONE_VALUE

      public static final int XDBC_SUBCODE_TIMESTAMP_WITH_TIMEZONE_VALUE
      XDBC_SUBCODE_TIMESTAMP_WITH_TIMEZONE = 5;
      See Also:
    • XDBC_SUBCODE_MINUTE_VALUE

      public static final int XDBC_SUBCODE_MINUTE_VALUE
      XDBC_SUBCODE_MINUTE = 5;
      See Also:
    • XDBC_SUBCODE_SECOND_VALUE

      public static final int XDBC_SUBCODE_SECOND_VALUE
      XDBC_SUBCODE_SECOND = 6;
      See Also:
    • XDBC_SUBCODE_YEAR_TO_MONTH_VALUE

      public static final int XDBC_SUBCODE_YEAR_TO_MONTH_VALUE
      XDBC_SUBCODE_YEAR_TO_MONTH = 7;
      See Also:
    • XDBC_SUBCODE_DAY_TO_HOUR_VALUE

      public static final int XDBC_SUBCODE_DAY_TO_HOUR_VALUE
      XDBC_SUBCODE_DAY_TO_HOUR = 8;
      See Also:
    • XDBC_SUBCODE_DAY_TO_MINUTE_VALUE

      public static final int XDBC_SUBCODE_DAY_TO_MINUTE_VALUE
      XDBC_SUBCODE_DAY_TO_MINUTE = 9;
      See Also:
    • XDBC_SUBCODE_DAY_TO_SECOND_VALUE

      public static final int XDBC_SUBCODE_DAY_TO_SECOND_VALUE
      XDBC_SUBCODE_DAY_TO_SECOND = 10;
      See Also:
    • XDBC_SUBCODE_HOUR_TO_MINUTE_VALUE

      public static final int XDBC_SUBCODE_HOUR_TO_MINUTE_VALUE
      XDBC_SUBCODE_HOUR_TO_MINUTE = 11;
      See Also:
    • XDBC_SUBCODE_HOUR_TO_SECOND_VALUE

      public static final int XDBC_SUBCODE_HOUR_TO_SECOND_VALUE
      XDBC_SUBCODE_HOUR_TO_SECOND = 12;
      See Also:
    • XDBC_SUBCODE_MINUTE_TO_SECOND_VALUE

      public static final int XDBC_SUBCODE_MINUTE_TO_SECOND_VALUE
      XDBC_SUBCODE_MINUTE_TO_SECOND = 13;
      See Also:
    • XDBC_SUBCODE_INTERVAL_YEAR_VALUE

      public static final int XDBC_SUBCODE_INTERVAL_YEAR_VALUE
      XDBC_SUBCODE_INTERVAL_YEAR = 101;
      See Also:
    • XDBC_SUBCODE_INTERVAL_MONTH_VALUE

      public static final int XDBC_SUBCODE_INTERVAL_MONTH_VALUE
      XDBC_SUBCODE_INTERVAL_MONTH = 102;
      See Also:
    • XDBC_SUBCODE_INTERVAL_DAY_VALUE

      public static final int XDBC_SUBCODE_INTERVAL_DAY_VALUE
      XDBC_SUBCODE_INTERVAL_DAY = 103;
      See Also:
    • XDBC_SUBCODE_INTERVAL_HOUR_VALUE

      public static final int XDBC_SUBCODE_INTERVAL_HOUR_VALUE
      XDBC_SUBCODE_INTERVAL_HOUR = 104;
      See Also:
    • XDBC_SUBCODE_INTERVAL_MINUTE_VALUE

      public static final int XDBC_SUBCODE_INTERVAL_MINUTE_VALUE
      XDBC_SUBCODE_INTERVAL_MINUTE = 105;
      See Also:
    • XDBC_SUBCODE_INTERVAL_SECOND_VALUE

      public static final int XDBC_SUBCODE_INTERVAL_SECOND_VALUE
      XDBC_SUBCODE_INTERVAL_SECOND = 106;
      See Also:
    • XDBC_SUBCODE_INTERVAL_YEAR_TO_MONTH_VALUE

      public static final int XDBC_SUBCODE_INTERVAL_YEAR_TO_MONTH_VALUE
      XDBC_SUBCODE_INTERVAL_YEAR_TO_MONTH = 107;
      See Also:
    • XDBC_SUBCODE_INTERVAL_DAY_TO_HOUR_VALUE

      public static final int XDBC_SUBCODE_INTERVAL_DAY_TO_HOUR_VALUE
      XDBC_SUBCODE_INTERVAL_DAY_TO_HOUR = 108;
      See Also:
    • XDBC_SUBCODE_INTERVAL_DAY_TO_MINUTE_VALUE

      public static final int XDBC_SUBCODE_INTERVAL_DAY_TO_MINUTE_VALUE
      XDBC_SUBCODE_INTERVAL_DAY_TO_MINUTE = 109;
      See Also:
    • XDBC_SUBCODE_INTERVAL_DAY_TO_SECOND_VALUE

      public static final int XDBC_SUBCODE_INTERVAL_DAY_TO_SECOND_VALUE
      XDBC_SUBCODE_INTERVAL_DAY_TO_SECOND = 110;
      See Also:
    • XDBC_SUBCODE_INTERVAL_HOUR_TO_MINUTE_VALUE

      public static final int XDBC_SUBCODE_INTERVAL_HOUR_TO_MINUTE_VALUE
      XDBC_SUBCODE_INTERVAL_HOUR_TO_MINUTE = 111;
      See Also:
    • XDBC_SUBCODE_INTERVAL_HOUR_TO_SECOND_VALUE

      public static final int XDBC_SUBCODE_INTERVAL_HOUR_TO_SECOND_VALUE
      XDBC_SUBCODE_INTERVAL_HOUR_TO_SECOND = 112;
      See Also:
    • XDBC_SUBCODE_INTERVAL_MINUTE_TO_SECOND_VALUE

      public static final int XDBC_SUBCODE_INTERVAL_MINUTE_TO_SECOND_VALUE
      XDBC_SUBCODE_INTERVAL_MINUTE_TO_SECOND = 113;
      See Also:
  • Method Details

    • values

      public static FlightSql.XdbcDatetimeSubcode[] 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 FlightSql.XdbcDatetimeSubcode 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 FlightSql.XdbcDatetimeSubcode 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 FlightSql.XdbcDatetimeSubcode 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<FlightSql.XdbcDatetimeSubcode> 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 FlightSql.XdbcDatetimeSubcode 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