Package io.debezium.snapshot
Class SnapshotQueryProvider
java.lang.Object
io.debezium.snapshot.AbstractSnapshotProvider
io.debezium.snapshot.SnapshotQueryProvider
- All Implemented Interfaces:
ServiceProvider<SnapshotQuery>
public class SnapshotQueryProvider
extends AbstractSnapshotProvider
implements ServiceProvider<SnapshotQuery>
An implementation of the
ServiceProvider contract for the SnapshotQuery.- Author:
- Mario Fiore Vitale
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Logger(package private) final List<SnapshotQuery> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateService(Configuration configuration, ServiceRegistry serviceRegistry) Creates or provides a desired service.Get the service class that should be initiated or provided.Methods inherited from class io.debezium.snapshot.AbstractSnapshotProvider
isForCurrentConnector
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
snapshotQueryImplementations
-
-
Constructor Details
-
SnapshotQueryProvider
public SnapshotQueryProvider() -
SnapshotQueryProvider
-
-
Method Details
-
createService
Description copied from interface:ServiceProviderCreates or provides a desired service.- Specified by:
createServicein interfaceServiceProvider<SnapshotQuery>- Parameters:
configuration- the connector configurationserviceRegistry- the service registry- Returns:
- the constructed service
-
getServiceClass
Description copied from interface:ServiceProviderGet the service class that should be initiated or provided. The service class should be unique in the registry.- Specified by:
getServiceClassin interfaceServiceProvider<SnapshotQuery>- Returns:
- the service class
-