public class TByteColumn extends Object implements org.apache.thrift.TBase<TByteColumn,TByteColumn._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
TByteColumn._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<TByteColumn._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
TByteColumn() |
TByteColumn(List<Byte> values,
ByteBuffer nulls) |
TByteColumn(TByteColumn other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToValues(byte elem) |
ByteBuffer |
bufferForNulls() |
void |
clear() |
int |
compareTo(TByteColumn other) |
TByteColumn |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TByteColumn that) |
TByteColumn._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(TByteColumn._Fields field) |
byte[] |
getNulls() |
List<Byte> |
getValues() |
Iterator<Byte> |
getValuesIterator() |
int |
getValuesSize() |
int |
hashCode() |
boolean |
isSet(TByteColumn._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(TByteColumn._Fields field,
Object value) |
void |
setNulls(byte[] nulls) |
void |
setNulls(ByteBuffer nulls) |
void |
setNullsIsSet(boolean value) |
void |
setValues(List<Byte> 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<TByteColumn._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TByteColumn()
public TByteColumn(List<Byte> values, ByteBuffer nulls)
public TByteColumn(TByteColumn other)
public TByteColumn deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TByteColumn,TByteColumn._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TByteColumn,TByteColumn._Fields>
public int getValuesSize()
public void addToValues(byte elem)
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(TByteColumn._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TByteColumn,TByteColumn._Fields>
public Object getFieldValue(TByteColumn._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TByteColumn,TByteColumn._Fields>
public boolean isSet(TByteColumn._Fields field)
isSet
in interface org.apache.thrift.TBase<TByteColumn,TByteColumn._Fields>
public boolean equals(TByteColumn that)
public int compareTo(TByteColumn other)
compareTo
in interface Comparable<TByteColumn>
public TByteColumn._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TByteColumn,TByteColumn._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TByteColumn,TByteColumn._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<TByteColumn,TByteColumn._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.