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