public class RcFilePageSourceFactory extends Object implements HiveBatchPageSourceFactory
| Constructor and Description |
|---|
RcFilePageSourceFactory(TypeManager typeManager,
HdfsEnvironment hdfsEnvironment,
FileFormatDataSourceStats stats) |
| Modifier and Type | Method and Description |
|---|---|
Optional<? extends ConnectorPageSource> |
createPageSource(org.apache.hadoop.conf.Configuration configuration,
ConnectorSession session,
HiveFileSplit fileSplit,
Storage storage,
SchemaTableName tableName,
Map<String,String> tableParameters,
List<HiveColumnHandle> columns,
TupleDomain<HiveColumnHandle> effectivePredicate,
org.joda.time.DateTimeZone hiveStorageTimeZone,
HiveFileContext hiveFileContext,
Optional<EncryptionInformation> encryptionInformation) |
static TextRcFileEncoding |
createTextVectorEncoding(Properties schema,
org.joda.time.DateTimeZone hiveStorageTimeZone) |
@Inject public RcFilePageSourceFactory(TypeManager typeManager, HdfsEnvironment hdfsEnvironment, FileFormatDataSourceStats stats)
public Optional<? extends ConnectorPageSource> createPageSource(org.apache.hadoop.conf.Configuration configuration, ConnectorSession session, HiveFileSplit fileSplit, Storage storage, SchemaTableName tableName, Map<String,String> tableParameters, List<HiveColumnHandle> columns, TupleDomain<HiveColumnHandle> effectivePredicate, org.joda.time.DateTimeZone hiveStorageTimeZone, HiveFileContext hiveFileContext, Optional<EncryptionInformation> encryptionInformation)
createPageSource in interface HiveBatchPageSourceFactorypublic static TextRcFileEncoding createTextVectorEncoding(Properties schema, org.joda.time.DateTimeZone hiveStorageTimeZone)
Copyright © 2012–2023. All rights reserved.