Package io.trino.operator
Class InterpretedHashGenerator
- java.lang.Object
-
- io.trino.operator.InterpretedHashGenerator
-
- All Implemented Interfaces:
HashGenerator
public class InterpretedHashGenerator extends Object implements HashGenerator
-
-
Constructor Summary
Constructors Constructor Description InterpretedHashGenerator(List<Type> hashChannelTypes, int[] hashChannels, BlockTypeOperators blockTypeOperators)InterpretedHashGenerator(List<Type> hashChannelTypes, List<Integer> hashChannels, BlockTypeOperators blockTypeOperators)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longhashPosition(int position, Page page)longhashPosition(int position, IntFunction<Block> blockProvider)StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.trino.operator.HashGenerator
getPartition
-
-
-
-
Constructor Detail
-
InterpretedHashGenerator
public InterpretedHashGenerator(List<Type> hashChannelTypes, List<Integer> hashChannels, BlockTypeOperators blockTypeOperators)
-
InterpretedHashGenerator
public InterpretedHashGenerator(List<Type> hashChannelTypes, int[] hashChannels, BlockTypeOperators blockTypeOperators)
-
-
Method Detail
-
hashPosition
public long hashPosition(int position, Page page)- Specified by:
hashPositionin interfaceHashGenerator
-
hashPosition
public long hashPosition(int position, IntFunction<Block> blockProvider)
-
-