public class HiveBucketFunction extends Object implements BucketFunction
| Modifier and Type | Method and Description |
|---|---|
static HiveBucketFunction |
createHiveCompatibleBucketFunction(int bucketCount,
List<HiveType> hiveTypes) |
static HiveBucketFunction |
createPrestoNativeBucketFunction(int bucketCount,
List<Type> types) |
int |
getBucket(Page page,
int position) |
String |
toString() |
public static HiveBucketFunction createHiveCompatibleBucketFunction(int bucketCount, List<HiveType> hiveTypes)
public static HiveBucketFunction createPrestoNativeBucketFunction(int bucketCount, List<Type> types)
public int getBucket(Page page, int position)
getBucket in interface BucketFunctionCopyright © 2012–2023. All rights reserved.