public class DataEngineSchemaTypeHandler extends Object
| Constructor and Description |
|---|
DataEngineSchemaTypeHandler(String serviceName,
InvalidParameterHandler invalidParameterHandler,
RepositoryHandler repositoryHandler,
OMRSRepositoryHelper repositoryHelper,
SchemaTypeHandler schemaTypeHandler,
DataEngineRegistrationHandler dataEngineRegistrationHandler)
Construct the handler information needed to interact with the repository services
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLineageMappingRelationship(String userId,
String sourceSchemaAttributeQualifiedName,
String targetSchemaAttributeQualifiedName,
String externalSourceName)
Create LineageMapping relationship between two schema attributes
|
String |
createOrUpdateSchemaType(String userId,
SchemaType schemaType,
String externalSourceName)
Create the schema type entity, with the corresponding schema attributes and relationships
|
void |
removeSchemaType(String userId,
String schemaTypeGUID)
Remove the schema type with the associated schema attributes
|
public DataEngineSchemaTypeHandler(String serviceName, InvalidParameterHandler invalidParameterHandler, RepositoryHandler repositoryHandler, OMRSRepositoryHelper repositoryHelper, SchemaTypeHandler schemaTypeHandler, DataEngineRegistrationHandler dataEngineRegistrationHandler)
serviceName - name of this serviceinvalidParameterHandler - handler for managing parameter errorsrepositoryHandler - manages calls to the repository servicesrepositoryHelper - provides utilities for manipulating the repository services objectsdataEngineRegistrationHandler - provides calls for retrieving external data engine guidpublic String createOrUpdateSchemaType(String userId, SchemaType schemaType, String externalSourceName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling userschemaType - the schema type valuesexternalSourceName - the unique name of the external sourceInvalidParameterException - the bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic void addLineageMappingRelationship(String userId, String sourceSchemaAttributeQualifiedName, String targetSchemaAttributeQualifiedName, String externalSourceName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - the name of the calling usersourceSchemaAttributeQualifiedName - the qualified name of the source schema attributetargetSchemaAttributeQualifiedName - the qualified name of the target schema attributeexternalSourceName - the unique name of the external sourceInvalidParameterException - the bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic void removeSchemaType(String userId, String schemaTypeGUID) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling userschemaTypeGUID - the unique identifier of the schema typeInvalidParameterException - the bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverCopyright © 2018–2020 ODPi. All rights reserved.