@Generated(value="Autogenerated by Thrift Compiler (0.11.0)", date="2019-01-29") public class TDbt extends java.lang.Object implements org.apache.thrift.TBase<TDbt,TDbt._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<TDbt>
Modifier and Type | Class and Description |
---|---|
static class |
TDbt._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
boolean |
blob |
java.nio.ByteBuffer |
data |
static java.util.Map<TDbt._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
boolean |
partial |
int |
partialLength |
int |
partialOffset |
Constructor and Description |
---|
TDbt() |
TDbt(TDbt other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
bufferForData() |
void |
clear() |
int |
compareTo(TDbt other) |
TDbt |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(TDbt that) |
TDbt._Fields |
fieldForId(int fieldId) |
byte[] |
getData() |
java.lang.Object |
getFieldValue(TDbt._Fields field) |
int |
getPartialLength() |
int |
getPartialOffset() |
int |
hashCode() |
boolean |
isBlob() |
boolean |
isPartial() |
boolean |
isSet(TDbt._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetBlob()
Returns true if field blob is set (has been assigned a value) and false otherwise
|
boolean |
isSetData()
Returns true if field data is set (has been assigned a value) and false otherwise
|
boolean |
isSetPartial()
Returns true if field partial is set (has been assigned a value) and false otherwise
|
boolean |
isSetPartialLength()
Returns true if field partialLength is set (has been assigned a value) and false otherwise
|
boolean |
isSetPartialOffset()
Returns true if field partialOffset is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
TDbt |
setBlob(boolean blob) |
void |
setBlobIsSet(boolean value) |
TDbt |
setData(byte[] data) |
TDbt |
setData(java.nio.ByteBuffer data) |
void |
setDataIsSet(boolean value) |
void |
setFieldValue(TDbt._Fields field,
java.lang.Object value) |
TDbt |
setPartial(boolean partial) |
void |
setPartialIsSet(boolean value) |
TDbt |
setPartialLength(int partialLength) |
void |
setPartialLengthIsSet(boolean value) |
TDbt |
setPartialOffset(int partialOffset) |
void |
setPartialOffsetIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetBlob() |
void |
unsetData() |
void |
unsetPartial() |
void |
unsetPartialLength() |
void |
unsetPartialOffset() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public java.nio.ByteBuffer data
public int partialLength
public int partialOffset
public boolean partial
public boolean blob
public static final java.util.Map<TDbt._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TDbt()
public TDbt(TDbt other)
public TDbt deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TDbt,TDbt._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TDbt,TDbt._Fields>
public byte[] getData()
public java.nio.ByteBuffer bufferForData()
public TDbt setData(byte[] data)
public TDbt setData(java.nio.ByteBuffer data)
public void unsetData()
public boolean isSetData()
public void setDataIsSet(boolean value)
public int getPartialLength()
public TDbt setPartialLength(int partialLength)
public void unsetPartialLength()
public boolean isSetPartialLength()
public void setPartialLengthIsSet(boolean value)
public int getPartialOffset()
public TDbt setPartialOffset(int partialOffset)
public void unsetPartialOffset()
public boolean isSetPartialOffset()
public void setPartialOffsetIsSet(boolean value)
public boolean isPartial()
public TDbt setPartial(boolean partial)
public void unsetPartial()
public boolean isSetPartial()
public void setPartialIsSet(boolean value)
public boolean isBlob()
public TDbt setBlob(boolean blob)
public void unsetBlob()
public boolean isSetBlob()
public void setBlobIsSet(boolean value)
public void setFieldValue(TDbt._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<TDbt,TDbt._Fields>
public java.lang.Object getFieldValue(TDbt._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TDbt,TDbt._Fields>
public boolean isSet(TDbt._Fields field)
isSet
in interface org.apache.thrift.TBase<TDbt,TDbt._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(TDbt that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(TDbt other)
compareTo
in interface java.lang.Comparable<TDbt>
public TDbt._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TDbt,TDbt._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 java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright (c) 2016, 2019 Oracle and/or its affiliates. All rights reserved.