Class TLeafInfo

    • Field Detail

      • leaf_id

        public int leaf_id
      • num_leaves

        public int num_leaves
      • metaDataMap

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

      • TLeafInfo

        public TLeafInfo()
      • TLeafInfo

        public TLeafInfo​(int leaf_id,
                         int num_leaves)
      • TLeafInfo

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

      • getLeaf_id

        public int getLeaf_id()
      • setLeaf_id

        public TLeafInfo setLeaf_id​(int leaf_id)
      • unsetLeaf_id

        public void unsetLeaf_id()
      • isSetLeaf_id

        public boolean isSetLeaf_id()
        Returns true if field leaf_id is set (has been assigned a value) and false otherwise
      • setLeaf_idIsSet

        public void setLeaf_idIsSet​(boolean value)
      • getNum_leaves

        public int getNum_leaves()
      • setNum_leaves

        public TLeafInfo setNum_leaves​(int num_leaves)
      • unsetNum_leaves

        public void unsetNum_leaves()
      • isSetNum_leaves

        public boolean isSetNum_leaves()
        Returns true if field num_leaves is set (has been assigned a value) and false otherwise
      • setNum_leavesIsSet

        public void setNum_leavesIsSet​(boolean value)
      • isSet

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

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