public class PageFilePageSourceFactory extends Object implements HiveBatchPageSourceFactory
Constructor and Description |
---|
PageFilePageSourceFactory(HdfsEnvironment hdfsEnvironment,
BlockEncodingSerde blockEncodingSerde) |
Modifier and Type | Method and Description |
---|---|
Optional<? extends ConnectorPageSource> |
createPageSource(org.apache.hadoop.conf.Configuration configuration,
ConnectorSession session,
Path path,
long start,
long length,
long fileSize,
Storage storage,
SchemaTableName tableName,
Map<String,String> tableParameters,
List<HiveColumnHandle> columns,
TupleDomain<HiveColumnHandle> effectivePredicate,
org.joda.time.DateTimeZone hiveStorageTimeZone,
HiveFileContext hiveFileContext,
Optional<EncryptionInformation> encryptionInformation) |
@Inject public PageFilePageSourceFactory(HdfsEnvironment hdfsEnvironment, BlockEncodingSerde blockEncodingSerde)
public Optional<? extends ConnectorPageSource> createPageSource(org.apache.hadoop.conf.Configuration configuration, ConnectorSession session, Path path, long start, long length, long fileSize, 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 HiveBatchPageSourceFactory
Copyright © 2012–2022. All rights reserved.