public class TBinaryColumn extends Object implements org.apache.thrift.TBase<TBinaryColumn,TBinaryColumn._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
TBinaryColumn._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<TBinaryColumn._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
TBinaryColumn() |
TBinaryColumn(List<ByteBuffer> values,
ByteBuffer nulls) |
TBinaryColumn(TBinaryColumn other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToValues(ByteBuffer elem) |
ByteBuffer |
bufferForNulls() |
void |
clear() |
int |
compareTo(TBinaryColumn other) |
TBinaryColumn |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TBinaryColumn that) |
TBinaryColumn._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(TBinaryColumn._Fields field) |
byte[] |
getNulls() |
List<ByteBuffer> |
getValues() |
Iterator<ByteBuffer> |
getValuesIterator() |
int |
getValuesSize() |
int |
hashCode() |
boolean |
isSet(TBinaryColumn._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetNulls()
Returns true if field nulls 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) |
void |
setFieldValue(TBinaryColumn._Fields field,
Object value) |
void |
setNulls(byte[] nulls) |
void |
setNulls(ByteBuffer nulls) |
void |
setNullsIsSet(boolean value) |
void |
setValues(List<ByteBuffer> values) |
void |
setValuesIsSet(boolean value) |
String |
toString() |
void |
unsetNulls() |
void |
unsetValues() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<TBinaryColumn._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TBinaryColumn()
public TBinaryColumn(List<ByteBuffer> values, ByteBuffer nulls)
public TBinaryColumn(TBinaryColumn other)
public TBinaryColumn deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TBinaryColumn,TBinaryColumn._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TBinaryColumn,TBinaryColumn._Fields>
public int getValuesSize()
public Iterator<ByteBuffer> getValuesIterator()
public void addToValues(ByteBuffer elem)
public List<ByteBuffer> getValues()
public void setValues(List<ByteBuffer> values)
public void unsetValues()
public boolean isSetValues()
public void setValuesIsSet(boolean value)
public byte[] getNulls()
public ByteBuffer bufferForNulls()
public void setNulls(byte[] nulls)
public void setNulls(ByteBuffer nulls)
public void unsetNulls()
public boolean isSetNulls()
public void setNullsIsSet(boolean value)
public void setFieldValue(TBinaryColumn._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TBinaryColumn,TBinaryColumn._Fields>
public Object getFieldValue(TBinaryColumn._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TBinaryColumn,TBinaryColumn._Fields>
public boolean isSet(TBinaryColumn._Fields field)
isSet
in interface org.apache.thrift.TBase<TBinaryColumn,TBinaryColumn._Fields>
public boolean equals(TBinaryColumn that)
public int compareTo(TBinaryColumn other)
compareTo
in interface Comparable<TBinaryColumn>
public TBinaryColumn._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TBinaryColumn,TBinaryColumn._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TBinaryColumn,TBinaryColumn._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<TBinaryColumn,TBinaryColumn._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2017 The Apache Software Foundation. All rights reserved.