Class TByteColumn
- java.lang.Object
-
- com.databricks.jdbc.model.client.thrift.generated.TByteColumn
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TByteColumn>,org.apache.thrift.TBase<TByteColumn,TByteColumn._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)", date="2025-05-08") public class TByteColumn extends Object implements org.apache.thrift.TBase<TByteColumn,TByteColumn._Fields>, Serializable, Cloneable, Comparable<TByteColumn>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTByteColumn._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<TByteColumn._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapByteBuffernullsList<Byte>values
-
Constructor Summary
Constructors Constructor Description TByteColumn()TByteColumn(TByteColumn other)Performs a deep copy on other.TByteColumn(List<Byte> values, ByteBuffer nulls)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToValues(byte elem)ByteBufferbufferForNulls()voidclear()intcompareTo(TByteColumn other)TByteColumndeepCopy()booleanequals(TByteColumn that)booleanequals(Object that)TByteColumn._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TByteColumn._Fields field)byte[]getNulls()List<Byte>getValues()Iterator<Byte>getValuesIterator()intgetValuesSize()inthashCode()booleanisSet(TByteColumn._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetNulls()Returns true if field nulls is set (has been assigned a value) and false otherwisebooleanisSetValues()Returns true if field values is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TByteColumn._Fields field, Object value)TByteColumnsetNulls(byte[] nulls)TByteColumnsetNulls(ByteBuffer nulls)voidsetNullsIsSet(boolean value)TByteColumnsetValues(List<Byte> values)voidsetValuesIsSet(boolean value)StringtoString()voidunsetNulls()voidunsetValues()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
nulls
public ByteBuffer nulls
-
metaDataMap
public static final Map<TByteColumn._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TByteColumn
public TByteColumn()
-
TByteColumn
public TByteColumn(List<Byte> values, ByteBuffer nulls)
-
TByteColumn
public TByteColumn(TByteColumn other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TByteColumn deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TByteColumn,TByteColumn._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TByteColumn,TByteColumn._Fields>
-
getValuesSize
public int getValuesSize()
-
addToValues
public void addToValues(byte elem)
-
setValues
public TByteColumn setValues(List<Byte> values)
-
unsetValues
public void unsetValues()
-
isSetValues
public boolean isSetValues()
Returns true if field values is set (has been assigned a value) and false otherwise
-
setValuesIsSet
public void setValuesIsSet(boolean value)
-
getNulls
public byte[] getNulls()
-
bufferForNulls
public ByteBuffer bufferForNulls()
-
setNulls
public TByteColumn setNulls(byte[] nulls)
-
setNulls
public TByteColumn setNulls(ByteBuffer nulls)
-
unsetNulls
public void unsetNulls()
-
isSetNulls
public boolean isSetNulls()
Returns true if field nulls is set (has been assigned a value) and false otherwise
-
setNullsIsSet
public void setNullsIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TByteColumn._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TByteColumn,TByteColumn._Fields>
-
getFieldValue
public Object getFieldValue(TByteColumn._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TByteColumn,TByteColumn._Fields>
-
isSet
public boolean isSet(TByteColumn._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<TByteColumn,TByteColumn._Fields>
-
equals
public boolean equals(TByteColumn that)
-
compareTo
public int compareTo(TByteColumn other)
- Specified by:
compareToin interfaceComparable<TByteColumn>
-
fieldForId
public TByteColumn._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TByteColumn,TByteColumn._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
-
-