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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTRowSet._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description List<TSparkArrowBatch>arrowBatchesByteBufferbinaryColumnsintcolumnCountList<TColumn>columnsstatic Map<TRowSet._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapList<TSparkArrowResultLink>resultLinksList<TRow>rowslongstartRowOffset
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToArrowBatches(TSparkArrowBatch elem)voidaddToColumns(TColumn elem)voidaddToResultLinks(TSparkArrowResultLink elem)voidaddToRows(TRow elem)ByteBufferbufferForBinaryColumns()voidclear()intcompareTo(TRowSet other)TRowSetdeepCopy()booleanequals(TRowSet that)booleanequals(Object that)TRowSet._FieldsfieldForId(int fieldId)List<TSparkArrowBatch>getArrowBatches()Iterator<TSparkArrowBatch>getArrowBatchesIterator()intgetArrowBatchesSize()byte[]getBinaryColumns()intgetColumnCount()List<TColumn>getColumns()Iterator<TColumn>getColumnsIterator()intgetColumnsSize()ObjectgetFieldValue(TRowSet._Fields field)List<TSparkArrowResultLink>getResultLinks()Iterator<TSparkArrowResultLink>getResultLinksIterator()intgetResultLinksSize()List<TRow>getRows()Iterator<TRow>getRowsIterator()intgetRowsSize()longgetStartRowOffset()inthashCode()booleanisSet(TRowSet._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetArrowBatches()Returns true if field arrowBatches is set (has been assigned a value) and false otherwisebooleanisSetBinaryColumns()Returns true if field binaryColumns is set (has been assigned a value) and false otherwisebooleanisSetColumnCount()Returns true if field columnCount is set (has been assigned a value) and false otherwisebooleanisSetColumns()Returns true if field columns is set (has been assigned a value) and false otherwisebooleanisSetResultLinks()Returns true if field resultLinks is set (has been assigned a value) and false otherwisebooleanisSetRows()Returns true if field rows is set (has been assigned a value) and false otherwisebooleanisSetStartRowOffset()Returns true if field startRowOffset is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TRowSetsetArrowBatches(List<TSparkArrowBatch> arrowBatches)voidsetArrowBatchesIsSet(boolean value)TRowSetsetBinaryColumns(byte[] binaryColumns)TRowSetsetBinaryColumns(ByteBuffer binaryColumns)voidsetBinaryColumnsIsSet(boolean value)TRowSetsetColumnCount(int columnCount)voidsetColumnCountIsSet(boolean value)TRowSetsetColumns(List<TColumn> columns)voidsetColumnsIsSet(boolean value)voidsetFieldValue(TRowSet._Fields field, Object value)TRowSetsetResultLinks(List<TSparkArrowResultLink> resultLinks)voidsetResultLinksIsSet(boolean value)TRowSetsetRows(List<TRow> rows)voidsetRowsIsSet(boolean value)TRowSetsetStartRowOffset(long startRowOffset)voidsetStartRowOffsetIsSet(boolean value)StringtoString()voidunsetArrowBatches()voidunsetBinaryColumns()voidunsetColumnCount()voidunsetColumns()voidunsetResultLinks()voidunsetRows()voidunsetStartRowOffset()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
startRowOffset
public long startRowOffset
-
binaryColumns
public ByteBuffer binaryColumns
-
columnCount
public int columnCount
-
arrowBatches
public List<TSparkArrowBatch> arrowBatches
-
resultLinks
public List<TSparkArrowResultLink> resultLinks
-
metaDataMap
public static final Map<TRowSet._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Method Detail
-
deepCopy
public TRowSet 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
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)
-
setBinaryColumns
public TRowSet setBinaryColumns(ByteBuffer 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()
-
getArrowBatchesIterator
public Iterator<TSparkArrowBatch> getArrowBatchesIterator()
-
addToArrowBatches
public void addToArrowBatches(TSparkArrowBatch elem)
-
getArrowBatches
public List<TSparkArrowBatch> getArrowBatches()
-
setArrowBatches
public TRowSet setArrowBatches(List<TSparkArrowBatch> arrowBatches)
-
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
public Iterator<TSparkArrowResultLink> getResultLinksIterator()
-
addToResultLinks
public void addToResultLinks(TSparkArrowResultLink elem)
-
getResultLinks
public List<TSparkArrowResultLink> getResultLinks()
-
setResultLinks
public TRowSet setResultLinks(List<TSparkArrowResultLink> resultLinks)
-
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
public void setFieldValue(TRowSet._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TRowSet,TRowSet._Fields>
-
getFieldValue
public Object getFieldValue(TRowSet._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TRowSet,TRowSet._Fields>
-
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:
isSetin interfaceorg.apache.thrift.TBase<TRowSet,TRowSet._Fields>
-
equals
public boolean equals(TRowSet that)
-
compareTo
public int compareTo(TRowSet other)
- Specified by:
compareToin interfaceComparable<TRowSet>
-
fieldForId
public TRowSet._Fields fieldForId(int fieldId)
- 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
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-