Interface FlatDefinitionLevelDecoder

All Known Implementing Classes:
NullsDecoder, ZeroDefinitionLevelDecoder

public interface FlatDefinitionLevelDecoder
  • Method Details

    • init

      void init(io.airlift.slice.Slice input)
    • 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
    • getFlatDefinitionLevelDecoder

      static FlatDefinitionLevelDecoder getFlatDefinitionLevelDecoder(int maxDefinitionLevel)