Package io.trino.plugin.hive.avro
Class AvroHivePageSourceFactory
java.lang.Object
io.trino.plugin.hive.avro.AvroHivePageSourceFactory
- All Implemented Interfaces:
HivePageSourceFactory
-
Constructor Summary
ConstructorsConstructorDescriptionAvroHivePageSourceFactory(TrinoFileSystemFactory trinoFileSystemFactory, FileFormatDataSourceStats stats) -
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)
-
Constructor Details
-
AvroHivePageSourceFactory
@Inject public AvroHivePageSourceFactory(TrinoFileSystemFactory trinoFileSystemFactory, FileFormatDataSourceStats stats)
-
-
Method Details
-
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
-