Package org.apache.drill.exec.record
Class FragmentWritableBatch
java.lang.Object
org.apache.drill.exec.record.FragmentWritableBatch
-
Constructor Summary
ConstructorDescriptionFragmentWritableBatch
(boolean isLast, UserBitShared.QueryId queryId, int sendMajorFragmentId, int sendMinorFragmentId, int receiveMajorFragmentId, int[] receiveMinorFragmentIds, WritableBatch batch) FragmentWritableBatch
(boolean isLast, UserBitShared.QueryId queryId, int sendMajorFragmentId, int sendMinorFragmentId, int receiveMajorFragmentId, int receiveMinorFragmentId, WritableBatch batch) -
Method Summary
Modifier and TypeMethodDescriptionio.netty.buffer.ByteBuf[]
long
static FragmentWritableBatch
getEmptyBatchWithSchema
(boolean isLast, UserBitShared.QueryId queryId, int sendMajorFragmentId, int sendMinorFragmentId, int receiveMajorFragmentId, int receiveMinorFragmentId, BatchSchema schema) static FragmentWritableBatch
getEmptyLast
(UserBitShared.QueryId queryId, int sendMajorFragmentId, int sendMinorFragmentId, int receiveMajorFragmentId, int receiveMinorFragmentId) static FragmentWritableBatch
getEmptyLast
(UserBitShared.QueryId queryId, int sendMajorFragmentId, int sendMinorFragmentId, int receiveMajorFragmentId, int[] receiveMinorFragmentIds) static FragmentWritableBatch
getEmptyLastWithSchema
(UserBitShared.QueryId queryId, int sendMajorFragmentId, int sendMinorFragmentId, int receiveMajorFragmentId, int receiveMinorFragmentId, BatchSchema schema)
-
Constructor Details
-
Method Details
-
getBuffers
public io.netty.buffer.ByteBuf[] getBuffers() -
getByteCount
public long getByteCount() -
getHeader