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,
boolean useLegacyTimestampBucketing) |
static int |
getHiveBucket(int bucketCount,
List<org.apache.hadoop.hive.serde2.typeinfo.TypeInfo> types,
Page page,
int position,
boolean useLegacyTimestampBucketing) |
static Optional<HiveBucketing.HiveBucketFilter> |
getHiveBucketFilter(Optional<HiveBucketProperty> hiveBucketProperty,
List<Column> dataColumns,
TupleDomain<ColumnHandle> effectivePredicate,
boolean useLegacyTimestampBucketing) |
static Optional<HiveBucketing.HiveBucketFilter> |
getHiveBucketFilter(Table table,
TupleDomain<ColumnHandle> effectivePredicate,
boolean useLegacyTimestampBucketing) |
static Optional<HiveBucketHandle> |
getHiveBucketHandle(ConnectorSession session,
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,
boolean useLegacyTimestampBucketing)
public static int getHiveBucket(int bucketCount,
List<org.apache.hadoop.hive.serde2.typeinfo.TypeInfo> types,
Object[] values,
boolean useLegacyTimestampBucketing)
public static Optional<HiveBucketHandle> getHiveBucketHandle(ConnectorSession session, Table table)
public static Optional<HiveBucketing.HiveBucketFilter> getHiveBucketFilter(Table table, TupleDomain<ColumnHandle> effectivePredicate, boolean useLegacyTimestampBucketing)
public static Optional<HiveBucketing.HiveBucketFilter> getHiveBucketFilter(Optional<HiveBucketProperty> hiveBucketProperty, List<Column> dataColumns, TupleDomain<ColumnHandle> effectivePredicate, boolean useLegacyTimestampBucketing)
Copyright © 2012–2024. All rights reserved.