Interface RecordBatchSizerManager.FieldOverflowState

Enclosing class:
RecordBatchSizerManager

public static interface RecordBatchSizerManager.FieldOverflowState
An abstraction to allow column readers attach custom field overflow state
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
    onNewBatchValuesConsumed(int numValues)
    Overflow data can become an input source for the next batch(s); this method allows the reader framework to inform individual readers on the number of values that have been consumed from the current overflow data
  • Method Details

    • onNewBatchValuesConsumed

      void onNewBatchValuesConsumed(int numValues)
      Overflow data can become an input source for the next batch(s); this method allows the reader framework to inform individual readers on the number of values that have been consumed from the current overflow data
      Parameters:
      numValues - the number of values consumed within the current batch
    • isOverflowDataFullyConsumed

      boolean isOverflowDataFullyConsumed()
      Returns:
      true if the overflow data has been fully consumed (all overflow data consumed by the Parquet reader)