public interface DeltaSource extends TableAssessorSupplier<TableDetail>
| Modifier and Type | Field and Description |
|---|---|
static String |
PLUGIN_TYPE |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Configurer configurer)
Configure the source.
|
EventReader |
createReader(EventReaderDefinition definition,
DeltaSourceContext context,
EventEmitter eventEmitter)
Create an event reader used to read change events.
|
TableRegistry |
createTableRegistry(Configurer configurer)
Create a table registry that is used to fetch information about tables in databases.
|
createTableAssessorstatic final String PLUGIN_TYPE
void configure(Configurer configurer)
configurer - configurer used to set configuration settings and register pluginsEventReader createReader(EventReaderDefinition definition, DeltaSourceContext context, EventEmitter eventEmitter) throws Exception
definition - defines what type of information the reader should readcontext - program contexteventEmitter - emits events that need to be replicatedException - if there was an error creating the event readerTableRegistry createTableRegistry(Configurer configurer) throws Exception
configurer - configurer used to instantiate pluginsException - if there was an error creating the table registryCopyright © 2020 CDAP Licensed under the Apache License, Version 2.0.