public class HivePartitioningHandle extends Object implements com.facebook.presto.spi.connector.ConnectorPartitioningHandle
| Constructor and Description |
|---|
HivePartitioningHandle(int bucketCount,
OptionalInt maxCompatibleBucketCount,
com.facebook.presto.hive.BucketFunctionType bucketFunctionType,
Optional<List<com.facebook.presto.hive.HiveType>> hiveTypes,
Optional<List<com.facebook.presto.common.type.Type>> types) |
| Modifier and Type | Method and Description |
|---|---|
static HivePartitioningHandle |
createHiveCompatiblePartitioningHandle(int bucketCount,
List<com.facebook.presto.hive.HiveType> hiveTypes,
OptionalInt maxCompatibleBucketCount) |
static HivePartitioningHandle |
createPrestoNativePartitioningHandle(int bucketCount,
List<com.facebook.presto.common.type.Type> types,
OptionalInt maxCompatibleBucketCount) |
boolean |
equals(Object o) |
int |
getBucketCount() |
com.facebook.presto.hive.BucketFunctionType |
getBucketFunctionType() |
Optional<List<com.facebook.presto.hive.HiveType>> |
getHiveTypes() |
OptionalInt |
getMaxCompatibleBucketCount() |
Optional<List<com.facebook.presto.common.type.Type>> |
getTypes() |
int |
hashCode() |
String |
toString() |
public HivePartitioningHandle(int bucketCount,
OptionalInt maxCompatibleBucketCount,
com.facebook.presto.hive.BucketFunctionType bucketFunctionType,
Optional<List<com.facebook.presto.hive.HiveType>> hiveTypes,
Optional<List<com.facebook.presto.common.type.Type>> types)
public static HivePartitioningHandle createHiveCompatiblePartitioningHandle(int bucketCount, List<com.facebook.presto.hive.HiveType> hiveTypes, OptionalInt maxCompatibleBucketCount)
public static HivePartitioningHandle createPrestoNativePartitioningHandle(int bucketCount, List<com.facebook.presto.common.type.Type> types, OptionalInt maxCompatibleBucketCount)
public int getBucketCount()
public OptionalInt getMaxCompatibleBucketCount()
public com.facebook.presto.hive.BucketFunctionType getBucketFunctionType()
Copyright © 2012–2023. All rights reserved.