Interface FlatDefinitionLevelDecoder

All Known Implementing Classes:
NullsDecoder, ZeroDefinitionLevelDecoder

public interface FlatDefinitionLevelDecoder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    readNext(boolean[] values, int offset, int length)
    Populate 'values' with true for nulls and return the number of non-nulls encountered.
    int
    skip(int length)
    Skip 'length' values and return the number of non-nulls encountered
  • Method Details

    • readNext

      int readNext(boolean[] values, int offset, int length)
      Populate 'values' with true for nulls and return the number of non-nulls encountered. 'values' array is assumed to be empty at the start of reading a batch, i.e. contain only false values.
    • skip

      int skip(int length)
      Skip 'length' values and return the number of non-nulls encountered