public class DataEngineEventClient extends Object implements DataEngineClient
DataEngineClient interface definition.| Constructor and Description |
|---|
DataEngineEventClient(DataEngineInTopicClientConnector dataEngineInTopicClientConnector)
Constructor to create DataEngineEventClient with unauthenticated access to the server
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLineageMappings(String userId,
List<LineageMapping> lineageMappings)
Add lineage mapping relationships between schema types
|
void |
addPortsToProcess(String userId,
List<String> portGUIDs,
String processGUID)
Add ports and process ports relationship to an existing port
|
String |
addProcessHierarchy(String userId,
ProcessHierarchy processHierarchy)
Add a ProcessHierarchy relationship to a process
|
String |
createExternalDataEngine(String userId,
SoftwareServerCapability softwareServerCapability)
Create or update the software server capability entity
|
String |
createOrUpdatePortAlias(String userId,
PortAlias portAlias)
Create or update the port alias entity with a PortDelegation relationship
|
String |
createOrUpdatePortImplementation(String userId,
PortImplementation portImplementation)
Create or update the port implementation entity,with the corresponding schema type and port schema relationship
|
List<String> |
createOrUpdateProcesses(String userId,
List<Process> processes)
Create or update the processes, with all the ports, schema types and corresponding relationships including
process hierarchy relationships.
|
String |
createOrUpdateSchemaType(String userId,
SchemaType schemaType)
Create or update the schema type entity, with the corresponding schema attributes and relationships
|
String |
getExternalSourceName()
Returns the name of the source system using data engine client
|
void |
setExternalSourceName(String externalSourceName)
Sets external source system name using the data engine client
|
public DataEngineEventClient(DataEngineInTopicClientConnector dataEngineInTopicClientConnector)
dataEngineInTopicClientConnector - topic connector used to publish to InTopicpublic List<String> createOrUpdateProcesses(String userId, List<Process> processes) throws InvalidParameterException, ConnectorCheckedException
createOrUpdateProcesses in interface DataEngineClientuserId - the name of the calling userprocesses - list of processesInvalidParameterException - the bean properties are invalidConnectorCheckedException - problem with the underlying connector (if used)public String createExternalDataEngine(String userId, SoftwareServerCapability softwareServerCapability) throws InvalidParameterException, ConnectorCheckedException
createExternalDataEngine in interface DataEngineClientuserId - the name of the calling usersoftwareServerCapability - the software server capability beanInvalidParameterException - the bean properties are invalidConnectorCheckedException - problem with the underlying connector (if used)public String createOrUpdateSchemaType(String userId, SchemaType schemaType) throws InvalidParameterException, ConnectorCheckedException
createOrUpdateSchemaType in interface DataEngineClientuserId - the name of the calling userschemaType - the schema type beanInvalidParameterException - the bean properties are invalidConnectorCheckedException - problem with the underlying connector (if used)public String createOrUpdatePortImplementation(String userId, PortImplementation portImplementation) throws InvalidParameterException, ConnectorCheckedException
createOrUpdatePortImplementation in interface DataEngineClientuserId - the name of the calling userportImplementation - the port implementation beanInvalidParameterException - the bean properties are invalidConnectorCheckedException - problem with the underlying connector (if used)public String createOrUpdatePortAlias(String userId, PortAlias portAlias) throws InvalidParameterException, ConnectorCheckedException
createOrUpdatePortAlias in interface DataEngineClientuserId - the name of the calling userportAlias - the port alias beanInvalidParameterException - the bean properties are invalidConnectorCheckedException - problem with the underlying connector (if used)public String addProcessHierarchy(String userId, ProcessHierarchy processHierarchy) throws InvalidParameterException, ConnectorCheckedException
addProcessHierarchy in interface DataEngineClientuserId - the name of the calling userprocessHierarchy - the process hierarchy beanInvalidParameterException - the bean properties are invalidConnectorCheckedException - problem with the underlying connector (if used)public void addLineageMappings(String userId, List<LineageMapping> lineageMappings) throws InvalidParameterException, ConnectorCheckedException
addLineageMappings in interface DataEngineClientuserId - the name of the calling userlineageMappings - list of lineage mappingsInvalidParameterException - the bean properties are invalidConnectorCheckedException - problem with the underlying connector (if used)public void addPortsToProcess(String userId, List<String> portGUIDs, String processGUID) throws InvalidParameterException, ConnectorCheckedException
addPortsToProcess in interface DataEngineClientuserId - the name of the calling userportGUIDs - the list of port GUIDsprocessGUID - the process GUYIDInvalidParameterException - the bean properties are invalidConnectorCheckedException - problem with the underlying connector (if used)public void setExternalSourceName(String externalSourceName)
setExternalSourceName in interface DataEngineClientexternalSourceName - Source system namepublic String getExternalSourceName()
getExternalSourceName in interface DataEngineClientCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.