Class BufferedBatches

java.lang.Object
org.apache.drill.exec.physical.impl.xsort.BufferedBatches

public class BufferedBatches extends Object
Represents the set of in-memory batches accumulated by the external sort.
  • Constructor Details

  • Method Details

    • setSchema

      public void setSchema(BatchSchema schema)
    • size

      public int size()
    • add

      public void add(VectorAccessible incoming, long batchSize)
    • prepareSpill

      public List<BatchGroup> prepareSpill(long targetSpillSize)
    • removeAll

      public List<InputBatch> removeAll()
    • close

      public void close()