Class TTypeInfo

    • Field Detail

      • nullable

        public boolean nullable
      • is_array

        public boolean is_array
      • precision

        public int precision
      • scale

        public int scale
      • comp_param

        public int comp_param
      • size

        public int size
      • metaDataMap

        public static final Map<TTypeInfo._Fields,​org.apache.thrift.meta_data.FieldMetaData> metaDataMap
    • Constructor Detail

      • TTypeInfo

        public TTypeInfo()
      • TTypeInfo

        public TTypeInfo​(TDatumType type,
                         TEncodingType encoding,
                         boolean nullable,
                         boolean is_array,
                         int precision,
                         int scale,
                         int comp_param)
      • TTypeInfo

        public TTypeInfo​(TTypeInfo other)
        Performs a deep copy on other.
    • Method Detail

      • unsetType

        public void unsetType()
      • isSetType

        public boolean isSetType()
        Returns true if field type is set (has been assigned a value) and false otherwise
      • setTypeIsSet

        public void setTypeIsSet​(boolean value)
      • unsetEncoding

        public void unsetEncoding()
      • isSetEncoding

        public boolean isSetEncoding()
        Returns true if field encoding is set (has been assigned a value) and false otherwise
      • setEncodingIsSet

        public void setEncodingIsSet​(boolean value)
      • isNullable

        public boolean isNullable()
      • setNullable

        public TTypeInfo setNullable​(boolean nullable)
      • unsetNullable

        public void unsetNullable()
      • isSetNullable

        public boolean isSetNullable()
        Returns true if field nullable is set (has been assigned a value) and false otherwise
      • setNullableIsSet

        public void setNullableIsSet​(boolean value)
      • isIs_array

        public boolean isIs_array()
      • setIs_array

        public TTypeInfo setIs_array​(boolean is_array)
      • unsetIs_array

        public void unsetIs_array()
      • isSetIs_array

        public boolean isSetIs_array()
        Returns true if field is_array is set (has been assigned a value) and false otherwise
      • setIs_arrayIsSet

        public void setIs_arrayIsSet​(boolean value)
      • getPrecision

        public int getPrecision()
      • setPrecision

        public TTypeInfo setPrecision​(int precision)
      • unsetPrecision

        public void unsetPrecision()
      • isSetPrecision

        public boolean isSetPrecision()
        Returns true if field precision is set (has been assigned a value) and false otherwise
      • setPrecisionIsSet

        public void setPrecisionIsSet​(boolean value)
      • getScale

        public int getScale()
      • setScale

        public TTypeInfo setScale​(int scale)
      • unsetScale

        public void unsetScale()
      • isSetScale

        public boolean isSetScale()
        Returns true if field scale is set (has been assigned a value) and false otherwise
      • setScaleIsSet

        public void setScaleIsSet​(boolean value)
      • getComp_param

        public int getComp_param()
      • setComp_param

        public TTypeInfo setComp_param​(int comp_param)
      • unsetComp_param

        public void unsetComp_param()
      • isSetComp_param

        public boolean isSetComp_param()
        Returns true if field comp_param is set (has been assigned a value) and false otherwise
      • setComp_paramIsSet

        public void setComp_paramIsSet​(boolean value)
      • getSize

        public int getSize()
      • setSize

        public TTypeInfo setSize​(int size)
      • unsetSize

        public void unsetSize()
      • isSetSize

        public boolean isSetSize()
        Returns true if field size is set (has been assigned a value) and false otherwise
      • setSizeIsSet

        public void setSizeIsSet​(boolean value)
      • isSet

        public boolean isSet​(TTypeInfo._Fields field)
        Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
        Specified by:
        isSet in interface org.apache.thrift.TBase<TTypeInfo,​TTypeInfo._Fields>
      • equals

        public boolean equals​(TTypeInfo that)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • read

        public void read​(org.apache.thrift.protocol.TProtocol iprot)
                  throws org.apache.thrift.TException
        Specified by:
        read in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • write

        public void write​(org.apache.thrift.protocol.TProtocol oprot)
                   throws org.apache.thrift.TException
        Specified by:
        write in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • validate

        public void validate()
                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException