Class FragmentWritableBatch

java.lang.Object
org.apache.drill.exec.record.FragmentWritableBatch

public class FragmentWritableBatch extends Object
  • Constructor Details

    • FragmentWritableBatch

      public FragmentWritableBatch(boolean isLast, UserBitShared.QueryId queryId, int sendMajorFragmentId, int sendMinorFragmentId, int receiveMajorFragmentId, int receiveMinorFragmentId, WritableBatch batch)
    • FragmentWritableBatch

      public FragmentWritableBatch(boolean isLast, UserBitShared.QueryId queryId, int sendMajorFragmentId, int sendMinorFragmentId, int receiveMajorFragmentId, int[] receiveMinorFragmentIds, WritableBatch batch)
  • Method Details

    • getEmptyLast

      public static FragmentWritableBatch getEmptyLast(UserBitShared.QueryId queryId, int sendMajorFragmentId, int sendMinorFragmentId, int receiveMajorFragmentId, int receiveMinorFragmentId)
    • getEmptyLast

      public static FragmentWritableBatch getEmptyLast(UserBitShared.QueryId queryId, int sendMajorFragmentId, int sendMinorFragmentId, int receiveMajorFragmentId, int[] receiveMinorFragmentIds)
    • getEmptyLastWithSchema

      public static FragmentWritableBatch getEmptyLastWithSchema(UserBitShared.QueryId queryId, int sendMajorFragmentId, int sendMinorFragmentId, int receiveMajorFragmentId, int receiveMinorFragmentId, BatchSchema schema)
    • getEmptyBatchWithSchema

      public static FragmentWritableBatch getEmptyBatchWithSchema(boolean isLast, UserBitShared.QueryId queryId, int sendMajorFragmentId, int sendMinorFragmentId, int receiveMajorFragmentId, int receiveMinorFragmentId, BatchSchema schema)
    • getBuffers

      public io.netty.buffer.ByteBuf[] getBuffers()
    • getByteCount

      public long getByteCount()
    • getHeader

      public BitData.FragmentRecordBatch getHeader()