public class VirtualizerTopicListener extends Object implements OpenMetadataTopicListener
| Constructor and Description |
|---|
VirtualizerTopicListener(OpenMetadataTopicConnector virtualizerOutboundTopicConnector,
ViewGeneratorConnectorBase viewGeneratorConnector,
EndpointSource endpointSource,
String databaseName,
String dataSchema)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<NewViewEvent> |
generateViewEvents(TableContextEvent tableContextEvent,
Map<String,String> createdViews)
notify Information View OMAS
|
void |
processEvent(String event)
Process the received event.
|
public VirtualizerTopicListener(OpenMetadataTopicConnector virtualizerOutboundTopicConnector, ViewGeneratorConnectorBase viewGeneratorConnector, EndpointSource endpointSource, String databaseName, String dataSchema)
virtualizerOutboundTopicConnector - the event connector to sent out the processed topicpublic void processEvent(String event)
processEvent in interface OpenMetadataTopicListenerevent - inbound eventpublic List<NewViewEvent> generateViewEvents(TableContextEvent tableContextEvent, Map<String,String> createdViews)
tableContextEvent - it contains the information from json which is sent from Information ViewcreatedViews - the table definitions created in gaianCopyright © 2018–2020 ODPi. All rights reserved.