presto-main/src/main/java/io/prestosql/operator/exchange/LocalPartitionGenerator.java/LocalPartitionGenerator/getPartition
class LocalPartitionGenerator:    @Override
    public int getPartition(Page page, int position)
    {
        long rawHash = getRawHash(page, position);
        return processRawHash(rawHash) & hashMask;
    }