Enum PlanProtocol.SqlColType

    • Field Detail

      • TYPE_INT_VALUE

        public static final int TYPE_INT_VALUE
        4 bytes signed
         
        TYPE_INT = 1;
        See Also:
        Constant Field Values
      • TYPE_BIGINT_VALUE

        public static final int TYPE_BIGINT_VALUE
        8 bytes signed
         
        TYPE_BIGINT = 2;
        See Also:
        Constant Field Values
      • TYPE_FLOAT_VALUE

        public static final int TYPE_FLOAT_VALUE
        4 bytes float
         
        TYPE_FLOAT = 3;
        See Also:
        Constant Field Values
      • TYPE_DOUBLE_VALUE

        public static final int TYPE_DOUBLE_VALUE
        8 bytes float
         
        TYPE_DOUBLE = 4;
        See Also:
        Constant Field Values
      • TYPE_VARCHAR_VALUE

        public static final int TYPE_VARCHAR_VALUE
        TYPE_VARCHAR = 5;
        See Also:
        Constant Field Values
      • TYPE_IPV4_VALUE

        public static final int TYPE_IPV4_VALUE
        TYPE_IPV4 = 6;
        See Also:
        Constant Field Values
      • TYPE_TIMESTAMP_VALUE

        public static final int TYPE_TIMESTAMP_VALUE
        time + date
         
        TYPE_TIMESTAMP = 7;
        See Also:
        Constant Field Values
      • TYPE_DATE_VALUE

        public static final int TYPE_DATE_VALUE
        just date
         
        TYPE_DATE = 8;
        See Also:
        Constant Field Values
      • TYPE_BOOLEAN_VALUE

        public static final int TYPE_BOOLEAN_VALUE
        TYPE_BOOLEAN = 9;
        See Also:
        Constant Field Values
      • TYPE_BINARY_VALUE

        public static final int TYPE_BINARY_VALUE
        binary string
         
        TYPE_BINARY = 10;
        See Also:
        Constant Field Values
      • TYPE_SMALLINT_VALUE

        public static final int TYPE_SMALLINT_VALUE
        2 bytes signed
         
        TYPE_SMALLINT = 11;
        See Also:
        Constant Field Values
      • TYPE_BYTE_VALUE

        public static final int TYPE_BYTE_VALUE
        1 byte signed int
         
        TYPE_BYTE = 12;
        See Also:
        Constant Field Values
      • TYPE_MILLISECONDS_VALUE

        public static final int TYPE_MILLISECONDS_VALUE
        The following types can only appear in intermediate results in an extend operation
         
        TYPE_MILLISECONDS = 13;
        See Also:
        Constant Field Values
      • TYPE_SECONDS_VALUE

        public static final int TYPE_SECONDS_VALUE
        TYPE_SECONDS = 14;
        See Also:
        Constant Field Values
      • TYPE_MINUTES_VALUE

        public static final int TYPE_MINUTES_VALUE
        TYPE_MINUTES = 15;
        See Also:
        Constant Field Values
      • TYPE_HOURS_VALUE

        public static final int TYPE_HOURS_VALUE
        TYPE_HOURS = 16;
        See Also:
        Constant Field Values
      • TYPE_DAYS_VALUE

        public static final int TYPE_DAYS_VALUE
        TYPE_DAYS = 17;
        See Also:
        Constant Field Values
      • TYPE_MONTHS_VALUE

        public static final int TYPE_MONTHS_VALUE
        TYPE_MONTHS = 18;
        See Also:
        Constant Field Values
      • TYPE_YEARS_VALUE

        public static final int TYPE_YEARS_VALUE
        TYPE_YEARS = 19;
        See Also:
        Constant Field Values
      • TYPE_MATRIX_VALUE

        public static final int TYPE_MATRIX_VALUE
        This type can appear anywhere in the plan, but will go away before the final output that gets returned to the user
         
        TYPE_MATRIX = 20;
        See Also:
        Constant Field Values
      • TYPE_NULL_VALUE

        public static final int TYPE_NULL_VALUE
        Indicates a NULL literal known at compile time
         
        TYPE_NULL = 21;
        See Also:
        Constant Field Values
      • TYPE_UUID_VALUE

        public static final int TYPE_UUID_VALUE
        TYPE_UUID = 22;
        See Also:
        Constant Field Values
      • TYPE_HASH_VALUE

        public static final int TYPE_HASH_VALUE
        Fixed length binary type
         
        TYPE_HASH = 23;
        See Also:
        Constant Field Values
      • TYPE_IP_VALUE

        public static final int TYPE_IP_VALUE
        IPv6 type
         
        TYPE_IP = 24;
        See Also:
        Constant Field Values
      • TYPE_ST_POINT_VALUE

        public static final int TYPE_ST_POINT_VALUE
        ST POINT
         
        TYPE_ST_POINT = 25;
        See Also:
        Constant Field Values
      • TYPE_TIME_VALUE

        public static final int TYPE_TIME_VALUE
        TYPE_TIME = 26;
        See Also:
        Constant Field Values
      • TYPE_DECIMAL_VALUE

        public static final int TYPE_DECIMAL_VALUE
        TYPE_DECIMAL = 27;
        See Also:
        Constant Field Values
      • TYPE_MICROSECONDS_VALUE

        public static final int TYPE_MICROSECONDS_VALUE
        TYPE_MICROSECONDS = 28;
        See Also:
        Constant Field Values
      • TYPE_NANOSECONDS_VALUE

        public static final int TYPE_NANOSECONDS_VALUE
        TYPE_NANOSECONDS = 29;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static PlanProtocol.SqlColType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PlanProtocol.SqlColType c : PlanProtocol.SqlColType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PlanProtocol.SqlColType 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 PlanProtocol.SqlColType 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 PlanProtocol.SqlColType 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<PlanProtocol.SqlColType> 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 PlanProtocol.SqlColType 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