public class HivePageSourceProvider extends Object implements ConnectorPageSourceProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
HivePageSourceProvider.ColumnMapping |
static class |
HivePageSourceProvider.ColumnMappingKind |
| Constructor and Description |
|---|
HivePageSourceProvider(HiveClientConfig hiveClientConfig,
HdfsEnvironment hdfsEnvironment,
Set<HiveRecordCursorProvider> cursorProviders,
Set<HiveBatchPageSourceFactory> pageSourceFactories,
Set<HiveSelectivePageSourceFactory> selectivePageSourceFactories,
TypeManager typeManager,
RowExpressionService rowExpressionService) |
| Modifier and Type | Method and Description |
|---|---|
static Optional<ConnectorPageSource> |
createHivePageSource(Set<HiveRecordCursorProvider> cursorProviders,
Set<HiveBatchPageSourceFactory> pageSourceFactories,
org.apache.hadoop.conf.Configuration configuration,
ConnectorSession session,
HiveFileSplit fileSplit,
OptionalInt tableBucketNumber,
Storage storage,
TupleDomain<HiveColumnHandle> effectivePredicate,
List<HiveColumnHandle> hiveColumns,
Map<String,HiveColumnHandle> predicateColumns,
List<HivePartitionKey> partitionKeys,
org.joda.time.DateTimeZone hiveStorageTimeZone,
TypeManager typeManager,
SchemaTableName tableName,
List<HiveColumnHandle> partitionKeyColumnHandles,
List<Column> tableDataColumns,
Map<String,String> tableParameters,
int partitionDataColumnCount,
TableToPartitionMapping tableToPartitionMapping,
Optional<HiveSplit.BucketConversion> bucketConversion,
boolean s3SelectPushdownEnabled,
HiveFileContext hiveFileContext,
RowExpression remainingPredicate,
boolean isPushdownFilterEnabled,
RowExpressionService rowExpressionService,
Optional<EncryptionInformation> encryptionInformation) |
ConnectorPageSource |
createPageSource(ConnectorTransactionHandle transaction,
ConnectorSession session,
ConnectorSplit split,
ConnectorTableLayoutHandle layout,
List<ColumnHandle> columns,
SplitContext splitContext) |
protected static CacheQuota |
generateCacheQuota(HiveSplit hiveSplit) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatePageSource@Inject public HivePageSourceProvider(HiveClientConfig hiveClientConfig, HdfsEnvironment hdfsEnvironment, Set<HiveRecordCursorProvider> cursorProviders, Set<HiveBatchPageSourceFactory> pageSourceFactories, Set<HiveSelectivePageSourceFactory> selectivePageSourceFactories, TypeManager typeManager, RowExpressionService rowExpressionService)
public ConnectorPageSource createPageSource(ConnectorTransactionHandle transaction, ConnectorSession session, ConnectorSplit split, ConnectorTableLayoutHandle layout, List<ColumnHandle> columns, SplitContext splitContext)
createPageSource in interface ConnectorPageSourceProviderprotected static CacheQuota generateCacheQuota(HiveSplit hiveSplit)
public static Optional<ConnectorPageSource> createHivePageSource(Set<HiveRecordCursorProvider> cursorProviders, Set<HiveBatchPageSourceFactory> pageSourceFactories, org.apache.hadoop.conf.Configuration configuration, ConnectorSession session, HiveFileSplit fileSplit, OptionalInt tableBucketNumber, Storage storage, TupleDomain<HiveColumnHandle> effectivePredicate, List<HiveColumnHandle> hiveColumns, Map<String,HiveColumnHandle> predicateColumns, List<HivePartitionKey> partitionKeys, org.joda.time.DateTimeZone hiveStorageTimeZone, TypeManager typeManager, SchemaTableName tableName, List<HiveColumnHandle> partitionKeyColumnHandles, List<Column> tableDataColumns, Map<String,String> tableParameters, int partitionDataColumnCount, TableToPartitionMapping tableToPartitionMapping, Optional<HiveSplit.BucketConversion> bucketConversion, boolean s3SelectPushdownEnabled, HiveFileContext hiveFileContext, RowExpression remainingPredicate, boolean isPushdownFilterEnabled, RowExpressionService rowExpressionService, Optional<EncryptionInformation> encryptionInformation)
Copyright © 2012–2023. All rights reserved.