Class TVarLen

    • Field Detail

      • is_null

        public boolean is_null
      • metaDataMap

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

      • TVarLen

        public TVarLen()
      • TVarLen

        public TVarLen​(ByteBuffer payload,
                       boolean is_null)
      • TVarLen

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

      • clear

        public void clear()
        Specified by:
        clear in interface org.apache.thrift.TBase<TVarLen,​TVarLen._Fields>
      • getPayload

        public byte[] getPayload()
      • bufferForPayload

        public ByteBuffer bufferForPayload()
      • setPayload

        public TVarLen setPayload​(byte[] payload)
      • unsetPayload

        public void unsetPayload()
      • isSetPayload

        public boolean isSetPayload()
        Returns true if field payload is set (has been assigned a value) and false otherwise
      • setPayloadIsSet

        public void setPayloadIsSet​(boolean value)
      • isIs_null

        public boolean isIs_null()
      • setIs_null

        public TVarLen setIs_null​(boolean is_null)
      • unsetIs_null

        public void unsetIs_null()
      • isSetIs_null

        public boolean isSetIs_null()
        Returns true if field is_null is set (has been assigned a value) and false otherwise
      • setIs_nullIsSet

        public void setIs_nullIsSet​(boolean value)
      • isSet

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

        public boolean equals​(TVarLen 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