@Generated(value="Autogenerated by Thrift Compiler (0.14.1)") @InterfaceAudience.Public @InterfaceStability.Stable public class TRowSet extends Object implements org.apache.thrift.TBase<TRowSet,TRowSet._Fields>, Serializable, Cloneable, Comparable<TRowSet>
Modifier and Type | Class and Description |
---|---|
static class |
TRowSet._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<TRowSet._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
TRowSet() |
TRowSet(long startRowOffset,
List<TRow> rows) |
TRowSet(TRowSet other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToColumns(TColumn elem) |
void |
addToRows(TRow elem) |
ByteBuffer |
bufferForBinaryColumns() |
void |
clear() |
int |
compareTo(TRowSet other) |
TRowSet |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TRowSet that) |
TRowSet._Fields |
fieldForId(int fieldId) |
byte[] |
getBinaryColumns() |
int |
getColumnCount() |
List<TColumn> |
getColumns() |
Iterator<TColumn> |
getColumnsIterator() |
int |
getColumnsSize() |
Object |
getFieldValue(TRowSet._Fields field) |
List<TRow> |
getRows() |
Iterator<TRow> |
getRowsIterator() |
int |
getRowsSize() |
long |
getStartRowOffset() |
int |
hashCode() |
boolean |
isSet(TRowSet._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetBinaryColumns()
Returns true if field binaryColumns is set (has been assigned a value) and false otherwise
|
boolean |
isSetColumnCount()
Returns true if field columnCount is set (has been assigned a value) and false otherwise
|
boolean |
isSetColumns()
Returns true if field columns is set (has been assigned a value) and false otherwise
|
boolean |
isSetRows()
Returns true if field rows is set (has been assigned a value) and false otherwise
|
boolean |
isSetStartRowOffset()
Returns true if field startRowOffset is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setBinaryColumns(byte[] binaryColumns) |
void |
setBinaryColumns(ByteBuffer binaryColumns) |
void |
setBinaryColumnsIsSet(boolean value) |
void |
setColumnCount(int columnCount) |
void |
setColumnCountIsSet(boolean value) |
void |
setColumns(List<TColumn> columns) |
void |
setColumnsIsSet(boolean value) |
void |
setFieldValue(TRowSet._Fields field,
Object value) |
void |
setRows(List<TRow> rows) |
void |
setRowsIsSet(boolean value) |
void |
setStartRowOffset(long startRowOffset) |
void |
setStartRowOffsetIsSet(boolean value) |
String |
toString() |
void |
unsetBinaryColumns() |
void |
unsetColumnCount() |
void |
unsetColumns() |
void |
unsetRows() |
void |
unsetStartRowOffset() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<TRowSet._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TRowSet()
public TRowSet(TRowSet other)
public TRowSet deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TRowSet,TRowSet._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TRowSet,TRowSet._Fields>
public long getStartRowOffset()
public void setStartRowOffset(long startRowOffset)
public void unsetStartRowOffset()
public boolean isSetStartRowOffset()
public void setStartRowOffsetIsSet(boolean value)
public int getRowsSize()
public void addToRows(TRow elem)
public void unsetRows()
public boolean isSetRows()
public void setRowsIsSet(boolean value)
public int getColumnsSize()
public void addToColumns(TColumn elem)
public void unsetColumns()
public boolean isSetColumns()
public void setColumnsIsSet(boolean value)
public byte[] getBinaryColumns()
public ByteBuffer bufferForBinaryColumns()
public void setBinaryColumns(byte[] binaryColumns)
public void setBinaryColumns(ByteBuffer binaryColumns)
public void unsetBinaryColumns()
public boolean isSetBinaryColumns()
public void setBinaryColumnsIsSet(boolean value)
public int getColumnCount()
public void setColumnCount(int columnCount)
public void unsetColumnCount()
public boolean isSetColumnCount()
public void setColumnCountIsSet(boolean value)
public void setFieldValue(TRowSet._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TRowSet,TRowSet._Fields>
public Object getFieldValue(TRowSet._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TRowSet,TRowSet._Fields>
public boolean isSet(TRowSet._Fields field)
isSet
in interface org.apache.thrift.TBase<TRowSet,TRowSet._Fields>
public boolean equals(TRowSet that)
public int compareTo(TRowSet other)
compareTo
in interface Comparable<TRowSet>
public TRowSet._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TRowSet,TRowSet._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2022 The Apache Software Foundation. All rights reserved.