Package io.trino.operator
Class InterpretedHashGenerator
java.lang.Object
io.trino.operator.InterpretedHashGenerator
- All Implemented Interfaces:
HashGenerator
-
Constructor Summary
ConstructorsConstructorDescriptionInterpretedHashGenerator(List<Type> hashChannelTypes, int[] hashChannels, BlockTypeOperators blockTypeOperators) InterpretedHashGenerator(List<Type> hashChannelTypes, List<Integer> hashChannels, BlockTypeOperators blockTypeOperators) -
Method Summary
Modifier and TypeMethodDescriptionstatic InterpretedHashGeneratorcreatePositionalWithTypes(List<Type> hashChannelTypes, BlockTypeOperators blockTypeOperators) longhashPosition(int position, Page page) longhashPosition(int position, IntFunction<Block> blockProvider) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.trino.operator.HashGenerator
getPartition
-
Constructor Details
-
InterpretedHashGenerator
public InterpretedHashGenerator(List<Type> hashChannelTypes, List<Integer> hashChannels, BlockTypeOperators blockTypeOperators) -
InterpretedHashGenerator
public InterpretedHashGenerator(List<Type> hashChannelTypes, int[] hashChannels, BlockTypeOperators blockTypeOperators)
-
-
Method Details
-
createPositionalWithTypes
public static InterpretedHashGenerator createPositionalWithTypes(List<Type> hashChannelTypes, BlockTypeOperators blockTypeOperators) -
hashPosition
- Specified by:
hashPositionin interfaceHashGenerator
-
hashPosition
-
toString
-