Class TRowSet

    • Constructor Detail

      • TRowSet

        public TRowSet()
      • TRowSet

        public TRowSet​(long startRowOffset,
                       List<TRow> rows)
      • TRowSet

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

      • clear

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

        public long getStartRowOffset()
      • setStartRowOffset

        public TRowSet setStartRowOffset​(long startRowOffset)
      • unsetStartRowOffset

        public void unsetStartRowOffset()
      • isSetStartRowOffset

        public boolean isSetStartRowOffset()
        Returns true if field startRowOffset is set (has been assigned a value) and false otherwise
      • setStartRowOffsetIsSet

        public void setStartRowOffsetIsSet​(boolean value)
      • getRowsSize

        public int getRowsSize()
      • addToRows

        public void addToRows​(TRow elem)
      • unsetRows

        public void unsetRows()
      • isSetRows

        public boolean isSetRows()
        Returns true if field rows is set (has been assigned a value) and false otherwise
      • setRowsIsSet

        public void setRowsIsSet​(boolean value)
      • getColumnsSize

        public int getColumnsSize()
      • addToColumns

        public void addToColumns​(TColumn elem)
      • unsetColumns

        public void unsetColumns()
      • isSetColumns

        public boolean isSetColumns()
        Returns true if field columns is set (has been assigned a value) and false otherwise
      • setColumnsIsSet

        public void setColumnsIsSet​(boolean value)
      • getBinaryColumns

        public byte[] getBinaryColumns()
      • bufferForBinaryColumns

        public ByteBuffer bufferForBinaryColumns()
      • setBinaryColumns

        public TRowSet setBinaryColumns​(byte[] binaryColumns)
      • unsetBinaryColumns

        public void unsetBinaryColumns()
      • isSetBinaryColumns

        public boolean isSetBinaryColumns()
        Returns true if field binaryColumns is set (has been assigned a value) and false otherwise
      • setBinaryColumnsIsSet

        public void setBinaryColumnsIsSet​(boolean value)
      • getColumnCount

        public int getColumnCount()
      • setColumnCount

        public TRowSet setColumnCount​(int columnCount)
      • unsetColumnCount

        public void unsetColumnCount()
      • isSetColumnCount

        public boolean isSetColumnCount()
        Returns true if field columnCount is set (has been assigned a value) and false otherwise
      • setColumnCountIsSet

        public void setColumnCountIsSet​(boolean value)
      • getArrowBatchesSize

        public int getArrowBatchesSize()
      • unsetArrowBatches

        public void unsetArrowBatches()
      • isSetArrowBatches

        public boolean isSetArrowBatches()
        Returns true if field arrowBatches is set (has been assigned a value) and false otherwise
      • setArrowBatchesIsSet

        public void setArrowBatchesIsSet​(boolean value)
      • getResultLinksSize

        public int getResultLinksSize()
      • unsetResultLinks

        public void unsetResultLinks()
      • isSetResultLinks

        public boolean isSetResultLinks()
        Returns true if field resultLinks is set (has been assigned a value) and false otherwise
      • setResultLinksIsSet

        public void setResultLinksIsSet​(boolean value)
      • isSet

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

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