Class TColumnType

    • Field Detail

      • col_name

        public String col_name
      • is_reserved_keyword

        public boolean is_reserved_keyword
      • src_name

        public String src_name
      • is_system

        public boolean is_system
      • is_physical

        public boolean is_physical
      • col_id

        public long col_id
      • default_value

        public String default_value
      • metaDataMap

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

      • TColumnType

        public TColumnType()
      • TColumnType

        public TColumnType​(String col_name,
                           TTypeInfo col_type,
                           boolean is_reserved_keyword,
                           String src_name,
                           boolean is_system,
                           boolean is_physical,
                           long col_id)
      • TColumnType

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

      • getCol_name

        public String getCol_name()
      • unsetCol_name

        public void unsetCol_name()
      • isSetCol_name

        public boolean isSetCol_name()
        Returns true if field col_name is set (has been assigned a value) and false otherwise
      • setCol_nameIsSet

        public void setCol_nameIsSet​(boolean value)
      • getCol_type

        public TTypeInfo getCol_type()
      • unsetCol_type

        public void unsetCol_type()
      • isSetCol_type

        public boolean isSetCol_type()
        Returns true if field col_type is set (has been assigned a value) and false otherwise
      • setCol_typeIsSet

        public void setCol_typeIsSet​(boolean value)
      • isIs_reserved_keyword

        public boolean isIs_reserved_keyword()
      • setIs_reserved_keyword

        public TColumnType setIs_reserved_keyword​(boolean is_reserved_keyword)
      • unsetIs_reserved_keyword

        public void unsetIs_reserved_keyword()
      • isSetIs_reserved_keyword

        public boolean isSetIs_reserved_keyword()
        Returns true if field is_reserved_keyword is set (has been assigned a value) and false otherwise
      • setIs_reserved_keywordIsSet

        public void setIs_reserved_keywordIsSet​(boolean value)
      • getSrc_name

        public String getSrc_name()
      • unsetSrc_name

        public void unsetSrc_name()
      • isSetSrc_name

        public boolean isSetSrc_name()
        Returns true if field src_name is set (has been assigned a value) and false otherwise
      • setSrc_nameIsSet

        public void setSrc_nameIsSet​(boolean value)
      • isIs_system

        public boolean isIs_system()
      • setIs_system

        public TColumnType setIs_system​(boolean is_system)
      • unsetIs_system

        public void unsetIs_system()
      • isSetIs_system

        public boolean isSetIs_system()
        Returns true if field is_system is set (has been assigned a value) and false otherwise
      • setIs_systemIsSet

        public void setIs_systemIsSet​(boolean value)
      • isIs_physical

        public boolean isIs_physical()
      • setIs_physical

        public TColumnType setIs_physical​(boolean is_physical)
      • unsetIs_physical

        public void unsetIs_physical()
      • isSetIs_physical

        public boolean isSetIs_physical()
        Returns true if field is_physical is set (has been assigned a value) and false otherwise
      • setIs_physicalIsSet

        public void setIs_physicalIsSet​(boolean value)
      • getCol_id

        public long getCol_id()
      • setCol_id

        public TColumnType setCol_id​(long col_id)
      • unsetCol_id

        public void unsetCol_id()
      • isSetCol_id

        public boolean isSetCol_id()
        Returns true if field col_id is set (has been assigned a value) and false otherwise
      • setCol_idIsSet

        public void setCol_idIsSet​(boolean value)
      • getDefault_value

        public String getDefault_value()
      • unsetDefault_value

        public void unsetDefault_value()
      • isSetDefault_value

        public boolean isSetDefault_value()
        Returns true if field default_value is set (has been assigned a value) and false otherwise
      • setDefault_valueIsSet

        public void setDefault_valueIsSet​(boolean value)
      • isSet

        public boolean isSet​(TColumnType._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<TColumnType,​TColumnType._Fields>
      • 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