Package io.trino.operator.exchange
Class LocalPartitionGenerator
java.lang.Object
io.trino.operator.exchange.LocalPartitionGenerator
- All Implemented Interfaces:
PartitionFunction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetPartition(long rawHash) intgetPartition(Page page, int position) longgetRawHash(Page page, int position) int
-
Constructor Details
-
LocalPartitionGenerator
-
-
Method Details
-
partitionCount
public int partitionCount()- Specified by:
partitionCountin interfacePartitionFunction
-
getPartition
- Specified by:
getPartitionin interfacePartitionFunction- Parameters:
page- the arguments to bucketing function in order (no extra columns)
-
getRawHash
-
getPartition
public int getPartition(long rawHash)
-