public final class HiveBucketing extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HiveBucketing.HiveBucketFilter |
| Modifier and Type | Method and Description |
|---|---|
static int |
getBucket(int bucketCount,
List<com.facebook.presto.common.type.Type> types,
com.facebook.presto.common.Page page,
int position) |
static int |
getHiveBucket(int bucketCount,
List<org.apache.hadoop.hive.serde2.typeinfo.TypeInfo> types,
Object[] values) |
static int |
getHiveBucket(int bucketCount,
List<org.apache.hadoop.hive.serde2.typeinfo.TypeInfo> types,
com.facebook.presto.common.Page page,
int position) |
static Optional<HiveBucketing.HiveBucketFilter> |
getHiveBucketFilter(Optional<com.facebook.presto.hive.HiveBucketProperty> hiveBucketProperty,
List<com.facebook.presto.hive.metastore.Column> dataColumns,
com.facebook.presto.common.predicate.TupleDomain<com.facebook.presto.spi.ColumnHandle> effectivePredicate) |
static Optional<HiveBucketing.HiveBucketFilter> |
getHiveBucketFilter(com.facebook.presto.hive.metastore.Table table,
com.facebook.presto.common.predicate.TupleDomain<com.facebook.presto.spi.ColumnHandle> effectivePredicate) |
static Optional<HiveBucketHandle> |
getHiveBucketHandle(com.facebook.presto.hive.metastore.Table table) |
static int |
getVirtualBucketNumber(int bucketCount,
org.apache.hadoop.fs.Path path) |
public static int getVirtualBucketNumber(int bucketCount,
org.apache.hadoop.fs.Path path)
public static int getBucket(int bucketCount,
List<com.facebook.presto.common.type.Type> types,
com.facebook.presto.common.Page page,
int position)
public static int getHiveBucket(int bucketCount,
List<org.apache.hadoop.hive.serde2.typeinfo.TypeInfo> types,
com.facebook.presto.common.Page page,
int position)
public static int getHiveBucket(int bucketCount,
List<org.apache.hadoop.hive.serde2.typeinfo.TypeInfo> types,
Object[] values)
public static Optional<HiveBucketHandle> getHiveBucketHandle(com.facebook.presto.hive.metastore.Table table)
public static Optional<HiveBucketing.HiveBucketFilter> getHiveBucketFilter(com.facebook.presto.hive.metastore.Table table, com.facebook.presto.common.predicate.TupleDomain<com.facebook.presto.spi.ColumnHandle> effectivePredicate)
public static Optional<HiveBucketing.HiveBucketFilter> getHiveBucketFilter(Optional<com.facebook.presto.hive.HiveBucketProperty> hiveBucketProperty, List<com.facebook.presto.hive.metastore.Column> dataColumns, com.facebook.presto.common.predicate.TupleDomain<com.facebook.presto.spi.ColumnHandle> effectivePredicate)
Copyright © 2012–2023. All rights reserved.