Class DistinctMapKeys

java.lang.Object
io.trino.hive.formats.DistinctMapKeys

public class DistinctMapKeys extends Object
  • Constructor Details

    • DistinctMapKeys

      public DistinctMapKeys(MapType mapType, boolean userLastEntry)
  • Method Details

    • selectDistinctKeys

      public boolean[] selectDistinctKeys(Block keyBlock)
      Determines which keys are distinct and thus should be copied through to the final results.
      Throws:
      TrinoException - if there is an indeterminate key