@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-05-25") public class TAppend extends Object implements org.apache.thrift.TBase<TAppend,TAppend._Fields>, Serializable, Cloneable, Comparable<TAppend>
Modifier and Type | Class and Description |
---|---|
static class |
TAppend._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
List<ByteBuffer> |
columns |
static Map<TAppend._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
row |
ByteBuffer |
table |
List<ByteBuffer> |
values |
Constructor and Description |
---|
TAppend() |
TAppend(ByteBuffer table,
ByteBuffer row,
List<ByteBuffer> columns,
List<ByteBuffer> values) |
TAppend(TAppend other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToColumns(ByteBuffer elem) |
void |
addToValues(ByteBuffer elem) |
ByteBuffer |
bufferForRow() |
ByteBuffer |
bufferForTable() |
void |
clear() |
int |
compareTo(TAppend other) |
TAppend |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TAppend that) |
TAppend._Fields |
fieldForId(int fieldId) |
List<ByteBuffer> |
getColumns() |
Iterator<ByteBuffer> |
getColumnsIterator() |
int |
getColumnsSize() |
Object |
getFieldValue(TAppend._Fields field) |
byte[] |
getRow() |
byte[] |
getTable() |
List<ByteBuffer> |
getValues() |
Iterator<ByteBuffer> |
getValuesIterator() |
int |
getValuesSize() |
int |
hashCode() |
boolean |
isSet(TAppend._Fields field)
Returns true if field corresponding to fieldID 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 |
isSetRow()
Returns true if field row is set (has been assigned a value) and false otherwise
|
boolean |
isSetTable()
Returns true if field table is set (has been assigned a value) and false otherwise
|
boolean |
isSetValues()
Returns true if field values is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
TAppend |
setColumns(List<ByteBuffer> columns) |
void |
setColumnsIsSet(boolean value) |
void |
setFieldValue(TAppend._Fields field,
Object value) |
TAppend |
setRow(byte[] row) |
TAppend |
setRow(ByteBuffer row) |
void |
setRowIsSet(boolean value) |
TAppend |
setTable(byte[] table) |
TAppend |
setTable(ByteBuffer table) |
void |
setTableIsSet(boolean value) |
TAppend |
setValues(List<ByteBuffer> values) |
void |
setValuesIsSet(boolean value) |
String |
toString() |
void |
unsetColumns() |
void |
unsetRow() |
void |
unsetTable() |
void |
unsetValues() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer table
public ByteBuffer row
public List<ByteBuffer> columns
public List<ByteBuffer> values
public static final Map<TAppend._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TAppend()
public TAppend(ByteBuffer table, ByteBuffer row, List<ByteBuffer> columns, List<ByteBuffer> values)
public TAppend(TAppend other)
public TAppend deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TAppend,TAppend._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TAppend,TAppend._Fields>
public byte[] getTable()
public ByteBuffer bufferForTable()
public TAppend setTable(byte[] table)
public TAppend setTable(ByteBuffer table)
public void unsetTable()
public boolean isSetTable()
public void setTableIsSet(boolean value)
public byte[] getRow()
public ByteBuffer bufferForRow()
public TAppend setRow(byte[] row)
public TAppend setRow(ByteBuffer row)
public void unsetRow()
public boolean isSetRow()
public void setRowIsSet(boolean value)
public int getColumnsSize()
public Iterator<ByteBuffer> getColumnsIterator()
public void addToColumns(ByteBuffer elem)
public List<ByteBuffer> getColumns()
public TAppend setColumns(List<ByteBuffer> columns)
public void unsetColumns()
public boolean isSetColumns()
public void setColumnsIsSet(boolean value)
public int getValuesSize()
public Iterator<ByteBuffer> getValuesIterator()
public void addToValues(ByteBuffer elem)
public List<ByteBuffer> getValues()
public TAppend setValues(List<ByteBuffer> values)
public void unsetValues()
public boolean isSetValues()
public void setValuesIsSet(boolean value)
public void setFieldValue(TAppend._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TAppend,TAppend._Fields>
public Object getFieldValue(TAppend._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TAppend,TAppend._Fields>
public boolean isSet(TAppend._Fields field)
isSet
in interface org.apache.thrift.TBase<TAppend,TAppend._Fields>
public boolean equals(TAppend that)
public int compareTo(TAppend other)
compareTo
in interface Comparable<TAppend>
public TAppend._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TAppend,TAppend._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TAppend,TAppend._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<TAppend,TAppend._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2007–2019 Cloudera. All rights reserved.