Class TRowSet
java.lang.Object
com.databricks.jdbc.model.client.thrift.generated.TRowSet
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TRowSet>,org.apache.thrift.TBase<TRowSet,,TRowSet._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2025-05-08")
public class TRowSet
extends Object
implements org.apache.thrift.TBase<TRowSet,TRowSet._Fields>, Serializable, Cloneable, Comparable<TRowSet>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionintstatic final Map<TRowSet._Fields, org.apache.thrift.meta_data.FieldMetaData> long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddToColumns(TColumn elem) voidvoidvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) intbyte[]intintgetFieldValue(TRowSet._Fields field) intgetRows()intlonginthashCode()booleanisSet(TRowSet._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field arrowBatches is set (has been assigned a value) and false otherwisebooleanReturns true if field binaryColumns is set (has been assigned a value) and false otherwisebooleanReturns true if field columnCount is set (has been assigned a value) and false otherwisebooleanReturns true if field columns is set (has been assigned a value) and false otherwisebooleanReturns true if field resultLinks is set (has been assigned a value) and false otherwisebooleanReturns true if field rows is set (has been assigned a value) and false otherwisebooleanReturns true if field startRowOffset is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setArrowBatches(List<TSparkArrowBatch> arrowBatches) voidsetArrowBatchesIsSet(boolean value) setBinaryColumns(byte[] binaryColumns) setBinaryColumns(ByteBuffer binaryColumns) voidsetBinaryColumnsIsSet(boolean value) setColumnCount(int columnCount) voidsetColumnCountIsSet(boolean value) setColumns(List<TColumn> columns) voidsetColumnsIsSet(boolean value) voidsetFieldValue(TRowSet._Fields field, Object value) setResultLinks(List<TSparkArrowResultLink> resultLinks) voidsetResultLinksIsSet(boolean value) voidsetRowsIsSet(boolean value) setStartRowOffset(long startRowOffset) voidsetStartRowOffsetIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
startRowOffset
public long startRowOffset -
rows
-
columns
-
binaryColumns
-
columnCount
public int columnCount -
arrowBatches
-
resultLinks
-
metaDataMap
-
-
Constructor Details
-
TRowSet
public TRowSet() -
TRowSet
-
TRowSet
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TRowSet,TRowSet._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<TRowSet,TRowSet._Fields>
-
getStartRowOffset
public long getStartRowOffset() -
setStartRowOffset
-
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() -
getRowsIterator
-
addToRows
-
getRows
-
setRows
-
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() -
getColumnsIterator
-
addToColumns
-
getColumns
-
setColumns
-
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
-
setBinaryColumns
-
setBinaryColumns
-
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
-
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() -
getArrowBatchesIterator
-
addToArrowBatches
-
getArrowBatches
-
setArrowBatches
-
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() -
getResultLinksIterator
-
addToResultLinks
-
getResultLinks
-
setResultLinks
-
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) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TRowSet,TRowSet._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TRowSet,TRowSet._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<TRowSet,TRowSet._Fields>
-
equals
-
equals
-
hashCode
-
compareTo
- Specified by:
compareToin interfaceComparable<TRowSet>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TRowSet,TRowSet._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException - Specified by:
readin interfaceorg.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:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-