Package io.trino.plugin.hive
Class GenericHiveRecordCursorProvider
java.lang.Object
io.trino.plugin.hive.GenericHiveRecordCursorProvider
- All Implemented Interfaces:
HiveRecordCursorProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.trino.plugin.hive.HiveRecordCursorProvider
HiveRecordCursorProvider.ReaderRecordCursorWithProjections -
Constructor Summary
ConstructorsConstructorDescriptionGenericHiveRecordCursorProvider(HdfsEnvironment hdfsEnvironment, io.airlift.units.DataSize textMaxLineLength) GenericHiveRecordCursorProvider(HdfsEnvironment hdfsEnvironment, HiveConfig config) -
Method Summary
Modifier and TypeMethodDescriptioncreateRecordCursor(org.apache.hadoop.conf.Configuration configuration, ConnectorSession session, Location location, long start, long length, long fileSize, Properties schema, List<HiveColumnHandle> columns, TupleDomain<HiveColumnHandle> effectivePredicate, TypeManager typeManager, boolean s3SelectPushdownEnabled)
-
Constructor Details
-
GenericHiveRecordCursorProvider
-
GenericHiveRecordCursorProvider
public GenericHiveRecordCursorProvider(HdfsEnvironment hdfsEnvironment, io.airlift.units.DataSize textMaxLineLength)
-
-
Method Details
-
createRecordCursor
public Optional<HiveRecordCursorProvider.ReaderRecordCursorWithProjections> createRecordCursor(org.apache.hadoop.conf.Configuration configuration, ConnectorSession session, Location location, long start, long length, long fileSize, Properties schema, List<HiveColumnHandle> columns, TupleDomain<HiveColumnHandle> effectivePredicate, TypeManager typeManager, boolean s3SelectPushdownEnabled) - Specified by:
createRecordCursorin interfaceHiveRecordCursorProvider
-