Interface ChunkDictionary.Lookup<T>

Enclosing class:
ChunkDictionary<T,​ATTR extends Any>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public static interface ChunkDictionary.Lookup<T>
  • Method Summary

    Modifier and Type Method Description
    T lookup​(org.apache.parquet.column.Dictionary dictionary, int key)
    Apply whatever lookup logic needs to be applied to a "raw" Dictionary in order to get a value for the supplied key.
  • Method Details

    • lookup

      T lookup​(@NotNull org.apache.parquet.column.Dictionary dictionary, int key)
      Apply whatever lookup logic needs to be applied to a "raw" Dictionary in order to get a value for the supplied key.
      Parameters:
      dictionary - The Dictionary
      key - The key
      Returns:
      The value that should be mapped by the enclosing ChunkDictionary