Package io.trino.operator
Interface PartitionFunction
-
- All Known Implementing Classes:
BucketPartitionFunction,LocalPartitionGenerator
public interface PartitionFunction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetPartition(Page page, int position)intgetPartitionCount()
-
-
-
Method Detail
-
getPartitionCount
int getPartitionCount()
-
getPartition
int getPartition(Page page, int position)
- Parameters:
page- the arguments to bucketing function in order (no extra columns)
-
-