public class BucketPartitionFunction extends Object implements PartitionFunction
| Constructor and Description |
|---|
BucketPartitionFunction(BucketFunction bucketFunction,
int[] bucketToPartition) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPartition(Page functionArguments,
int position) |
int |
getPartitionCount() |
public BucketPartitionFunction(BucketFunction bucketFunction, int[] bucketToPartition)
public int getPartitionCount()
getPartitionCount in interface PartitionFunctionpublic int getPartition(Page functionArguments, int position)
getPartition in interface PartitionFunctionfunctionArguments - the arguments to bucketing function in order (no extra columns)Copyright © 2012–2019. All rights reserved.