Class LinePageSourceFactory
java.lang.Object
io.trino.plugin.hive.line.LinePageSourceFactory
- All Implemented Interfaces:
HivePageSourceFactory
- Direct Known Subclasses:
CsvPageSourceFactory,JsonPageSourceFactory,OpenXJsonPageSourceFactory,RegexPageSourceFactory,SimpleSequenceFilePageSourceFactory,SimpleTextFilePageSourceFactory
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLinePageSourceFactory(TrinoFileSystemFactory fileSystemFactory, LineDeserializerFactory lineDeserializerFactory, LineReaderFactory lineReaderFactory) -
Method Summary
Modifier and TypeMethodDescriptioncreatePageSource(ConnectorSession session, Location path, long start, long length, long estimatedFileSize, long fileModifiedTime, Schema schema, List<HiveColumnHandle> columns, TupleDomain<HiveColumnHandle> effectivePredicate, Optional<AcidInfo> acidInfo, OptionalInt bucketNumber, boolean originalFile, AcidTransaction transaction)
-
Constructor Details
-
LinePageSourceFactory
protected LinePageSourceFactory(TrinoFileSystemFactory fileSystemFactory, LineDeserializerFactory lineDeserializerFactory, LineReaderFactory lineReaderFactory)
-
-
Method Details
-
createPageSource
public Optional<ReaderPageSource> createPageSource(ConnectorSession session, Location path, long start, long length, long estimatedFileSize, long fileModifiedTime, Schema schema, List<HiveColumnHandle> columns, TupleDomain<HiveColumnHandle> effectivePredicate, Optional<AcidInfo> acidInfo, OptionalInt bucketNumber, boolean originalFile, AcidTransaction transaction) - Specified by:
createPageSourcein interfaceHivePageSourceFactory
-