Package io.trino.plugin.deltalake
Class DeltaLakeSplitManager
java.lang.Object
io.trino.plugin.deltalake.DeltaLakeSplitManager
- All Implemented Interfaces:
ConnectorSplitManager
-
Constructor Summary
ConstructorsConstructorDescriptionDeltaLakeSplitManager(TypeManager typeManager, BiFunction<ConnectorSession, HiveTransactionHandle, DeltaLakeMetastore> metastoreProvider, ExecutorService executor, DeltaLakeConfig config) -
Method Summary
Modifier and TypeMethodDescriptiongetSplits(ConnectorTransactionHandle transaction, ConnectorSession session, ConnectorTableHandle handle, DynamicFilter dynamicFilter, Constraint constraint) static booleanpartitionMatchesPredicate(Map<String, Optional<String>> partitionKeys, Map<DeltaLakeColumnHandle, Domain> domains)
-
Constructor Details
-
DeltaLakeSplitManager
@Inject public DeltaLakeSplitManager(TypeManager typeManager, BiFunction<ConnectorSession, HiveTransactionHandle, DeltaLakeMetastore> metastoreProvider, ExecutorService executor, DeltaLakeConfig config)
-
-
Method Details
-
getSplits
public ConnectorSplitSource getSplits(ConnectorTransactionHandle transaction, ConnectorSession session, ConnectorTableHandle handle, DynamicFilter dynamicFilter, Constraint constraint) - Specified by:
getSplitsin interfaceConnectorSplitManager
-
partitionMatchesPredicate
-