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,
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) |
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, 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
public static TextRcFileEncoding createTextVectorEncoding(Properties schema, org.joda.time.DateTimeZone hiveStorageTimeZone)
Copyright © 2012–2021. All rights reserved.