Package ai.heavy.thrift.server
Class TDataFrame
- java.lang.Object
-
- ai.heavy.thrift.server.TDataFrame
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TDataFrame>,org.apache.thrift.TBase<TDataFrame,TDataFrame._Fields>,org.apache.thrift.TSerializable
public class TDataFrame extends Object implements org.apache.thrift.TBase<TDataFrame,TDataFrame._Fields>, Serializable, Cloneable, Comparable<TDataFrame>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTDataFrame._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description longarrow_conversion_time_msByteBufferdf_bufferByteBufferdf_handlelongdf_sizelongexecution_time_msstatic Map<TDataFrame._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapByteBuffersm_handlelongsm_size
-
Constructor Summary
Constructors Constructor Description TDataFrame()TDataFrame(TDataFrame other)Performs a deep copy on other.TDataFrame(ByteBuffer sm_handle, long sm_size, ByteBuffer df_handle, long df_size, long execution_time_ms, long arrow_conversion_time_ms, ByteBuffer df_buffer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteBufferbufferForDf_buffer()ByteBufferbufferForDf_handle()ByteBufferbufferForSm_handle()voidclear()intcompareTo(TDataFrame other)TDataFramedeepCopy()booleanequals(TDataFrame that)booleanequals(Object that)TDataFrame._FieldsfieldForId(int fieldId)longgetArrow_conversion_time_ms()byte[]getDf_buffer()byte[]getDf_handle()longgetDf_size()longgetExecution_time_ms()ObjectgetFieldValue(TDataFrame._Fields field)byte[]getSm_handle()longgetSm_size()inthashCode()booleanisSet(TDataFrame._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetArrow_conversion_time_ms()Returns true if field arrow_conversion_time_ms is set (has been assigned a value) and false otherwisebooleanisSetDf_buffer()Returns true if field df_buffer is set (has been assigned a value) and false otherwisebooleanisSetDf_handle()Returns true if field df_handle is set (has been assigned a value) and false otherwisebooleanisSetDf_size()Returns true if field df_size is set (has been assigned a value) and false otherwisebooleanisSetExecution_time_ms()Returns true if field execution_time_ms is set (has been assigned a value) and false otherwisebooleanisSetSm_handle()Returns true if field sm_handle is set (has been assigned a value) and false otherwisebooleanisSetSm_size()Returns true if field sm_size is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TDataFramesetArrow_conversion_time_ms(long arrow_conversion_time_ms)voidsetArrow_conversion_time_msIsSet(boolean value)TDataFramesetDf_buffer(byte[] df_buffer)TDataFramesetDf_buffer(ByteBuffer df_buffer)voidsetDf_bufferIsSet(boolean value)TDataFramesetDf_handle(byte[] df_handle)TDataFramesetDf_handle(ByteBuffer df_handle)voidsetDf_handleIsSet(boolean value)TDataFramesetDf_size(long df_size)voidsetDf_sizeIsSet(boolean value)TDataFramesetExecution_time_ms(long execution_time_ms)voidsetExecution_time_msIsSet(boolean value)voidsetFieldValue(TDataFrame._Fields field, Object value)TDataFramesetSm_handle(byte[] sm_handle)TDataFramesetSm_handle(ByteBuffer sm_handle)voidsetSm_handleIsSet(boolean value)TDataFramesetSm_size(long sm_size)voidsetSm_sizeIsSet(boolean value)StringtoString()voidunsetArrow_conversion_time_ms()voidunsetDf_buffer()voidunsetDf_handle()voidunsetDf_size()voidunsetExecution_time_ms()voidunsetSm_handle()voidunsetSm_size()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
sm_handle
public ByteBuffer sm_handle
-
sm_size
public long sm_size
-
df_handle
public ByteBuffer df_handle
-
df_size
public long df_size
-
execution_time_ms
public long execution_time_ms
-
arrow_conversion_time_ms
public long arrow_conversion_time_ms
-
df_buffer
public ByteBuffer df_buffer
-
metaDataMap
public static final Map<TDataFrame._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TDataFrame
public TDataFrame()
-
TDataFrame
public TDataFrame(ByteBuffer sm_handle, long sm_size, ByteBuffer df_handle, long df_size, long execution_time_ms, long arrow_conversion_time_ms, ByteBuffer df_buffer)
-
TDataFrame
public TDataFrame(TDataFrame other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TDataFrame deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TDataFrame,TDataFrame._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TDataFrame,TDataFrame._Fields>
-
getSm_handle
public byte[] getSm_handle()
-
bufferForSm_handle
public ByteBuffer bufferForSm_handle()
-
setSm_handle
public TDataFrame setSm_handle(byte[] sm_handle)
-
setSm_handle
public TDataFrame setSm_handle(ByteBuffer sm_handle)
-
unsetSm_handle
public void unsetSm_handle()
-
isSetSm_handle
public boolean isSetSm_handle()
Returns true if field sm_handle is set (has been assigned a value) and false otherwise
-
setSm_handleIsSet
public void setSm_handleIsSet(boolean value)
-
getSm_size
public long getSm_size()
-
setSm_size
public TDataFrame setSm_size(long sm_size)
-
unsetSm_size
public void unsetSm_size()
-
isSetSm_size
public boolean isSetSm_size()
Returns true if field sm_size is set (has been assigned a value) and false otherwise
-
setSm_sizeIsSet
public void setSm_sizeIsSet(boolean value)
-
getDf_handle
public byte[] getDf_handle()
-
bufferForDf_handle
public ByteBuffer bufferForDf_handle()
-
setDf_handle
public TDataFrame setDf_handle(byte[] df_handle)
-
setDf_handle
public TDataFrame setDf_handle(ByteBuffer df_handle)
-
unsetDf_handle
public void unsetDf_handle()
-
isSetDf_handle
public boolean isSetDf_handle()
Returns true if field df_handle is set (has been assigned a value) and false otherwise
-
setDf_handleIsSet
public void setDf_handleIsSet(boolean value)
-
getDf_size
public long getDf_size()
-
setDf_size
public TDataFrame setDf_size(long df_size)
-
unsetDf_size
public void unsetDf_size()
-
isSetDf_size
public boolean isSetDf_size()
Returns true if field df_size is set (has been assigned a value) and false otherwise
-
setDf_sizeIsSet
public void setDf_sizeIsSet(boolean value)
-
getExecution_time_ms
public long getExecution_time_ms()
-
setExecution_time_ms
public TDataFrame setExecution_time_ms(long execution_time_ms)
-
unsetExecution_time_ms
public void unsetExecution_time_ms()
-
isSetExecution_time_ms
public boolean isSetExecution_time_ms()
Returns true if field execution_time_ms is set (has been assigned a value) and false otherwise
-
setExecution_time_msIsSet
public void setExecution_time_msIsSet(boolean value)
-
getArrow_conversion_time_ms
public long getArrow_conversion_time_ms()
-
setArrow_conversion_time_ms
public TDataFrame setArrow_conversion_time_ms(long arrow_conversion_time_ms)
-
unsetArrow_conversion_time_ms
public void unsetArrow_conversion_time_ms()
-
isSetArrow_conversion_time_ms
public boolean isSetArrow_conversion_time_ms()
Returns true if field arrow_conversion_time_ms is set (has been assigned a value) and false otherwise
-
setArrow_conversion_time_msIsSet
public void setArrow_conversion_time_msIsSet(boolean value)
-
getDf_buffer
public byte[] getDf_buffer()
-
bufferForDf_buffer
public ByteBuffer bufferForDf_buffer()
-
setDf_buffer
public TDataFrame setDf_buffer(byte[] df_buffer)
-
setDf_buffer
public TDataFrame setDf_buffer(ByteBuffer df_buffer)
-
unsetDf_buffer
public void unsetDf_buffer()
-
isSetDf_buffer
public boolean isSetDf_buffer()
Returns true if field df_buffer is set (has been assigned a value) and false otherwise
-
setDf_bufferIsSet
public void setDf_bufferIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TDataFrame._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TDataFrame,TDataFrame._Fields>
-
getFieldValue
public Object getFieldValue(TDataFrame._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TDataFrame,TDataFrame._Fields>
-
isSet
public boolean isSet(TDataFrame._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<TDataFrame,TDataFrame._Fields>
-
equals
public boolean equals(TDataFrame that)
-
compareTo
public int compareTo(TDataFrame other)
- Specified by:
compareToin interfaceComparable<TDataFrame>
-
fieldForId
public TDataFrame._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TDataFrame,TDataFrame._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
-
-