Package io.trino.plugin.hive.rcfile
Class RcFilePageSourceFactory
java.lang.Object
io.trino.plugin.hive.rcfile.RcFilePageSourceFactory
- All Implemented Interfaces:
HivePageSourceFactory
-
Constructor Summary
ConstructorsConstructorDescriptionRcFilePageSourceFactory(TrinoFileSystemFactory fileSystemFactory, HiveConfig hiveConfig) -
Method Summary
Modifier and TypeMethodDescriptioncreatePageSource(ConnectorSession session, Location path, long start, long length, long estimatedFileSize, Properties schema, List<HiveColumnHandle> columns, TupleDomain<HiveColumnHandle> effectivePredicate, Optional<AcidInfo> acidInfo, OptionalInt bucketNumber, boolean originalFile, AcidTransaction transaction) static PropertiesstripUnnecessaryProperties(Properties schema)
-
Constructor Details
-
RcFilePageSourceFactory
@Inject public RcFilePageSourceFactory(TrinoFileSystemFactory fileSystemFactory, HiveConfig hiveConfig)
-
-
Method Details
-
stripUnnecessaryProperties
-
createPageSource
public Optional<ReaderPageSource> createPageSource(ConnectorSession session, Location path, long start, long length, long estimatedFileSize, Properties schema, List<HiveColumnHandle> columns, TupleDomain<HiveColumnHandle> effectivePredicate, Optional<AcidInfo> acidInfo, OptionalInt bucketNumber, boolean originalFile, AcidTransaction transaction) - Specified by:
createPageSourcein interfaceHivePageSourceFactory
-