Class VarLenOverflowReader

java.lang.Object
org.apache.drill.exec.store.parquet.columnreaders.VarLenOverflowReader

public final class VarLenOverflowReader extends Object
This class is responsible for processing serialized overflow data (generated in a previous batch); this way overflow data becomes an input source and is thus a) efficiently re-loaded into the current batch ValueVector and b) subjected to the same batching constraints rules.
  • Field Details

    • buffer

      protected final ByteBuffer buffer
      byte buffer used for buffering page data
    • entry

      protected final org.apache.drill.exec.store.parquet.columnreaders.VarLenColumnBulkEntry entry
      Bulk entry
  • Method Details

    • batchMemoryConstraintsReached

      protected boolean batchMemoryConstraintsReached(int newBitsMemory, int newOffsetsMemory, int newDataMemory)
      Parameters:
      newBitsMemory - new "bits" memory size
      newOffsetsMemory - new "offsets" memory size
      newDataMemory - new "data" memory size
      Returns:
      true if the new payload ("bits", "offsets", "data") will trigger a constraint violation; false otherwise