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<Type> types,
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,
Page page,
int position) |
static Optional<HiveBucketing.HiveBucketFilter> |
getHiveBucketFilter(Optional<HiveBucketProperty> hiveBucketProperty,
List<Column> dataColumns,
TupleDomain<ColumnHandle> effectivePredicate) |
static Optional<HiveBucketing.HiveBucketFilter> |
getHiveBucketFilter(Table table,
TupleDomain<ColumnHandle> effectivePredicate) |
static Optional<HiveBucketHandle> |
getHiveBucketHandle(Table table) |
static int |
getVirtualBucketNumber(int bucketCount,
Path path) |
public static int getVirtualBucketNumber(int bucketCount,
Path path)
public static int getHiveBucket(int bucketCount,
List<org.apache.hadoop.hive.serde2.typeinfo.TypeInfo> types,
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(Table table)
public static Optional<HiveBucketing.HiveBucketFilter> getHiveBucketFilter(Table table, TupleDomain<ColumnHandle> effectivePredicate)
public static Optional<HiveBucketing.HiveBucketFilter> getHiveBucketFilter(Optional<HiveBucketProperty> hiveBucketProperty, List<Column> dataColumns, TupleDomain<ColumnHandle> effectivePredicate)
Copyright © 2012–2023. All rights reserved.