public class DataEngineSchemaTypeHandler extends Object
| Constructor and Description |
|---|
DataEngineSchemaTypeHandler(String serviceName,
String serverName,
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 attribute types
|
String |
createOrUpdateSchemaType(String userId,
String qualifiedName,
String displayName,
String author,
String encodingStandard,
String usage,
String versionNumber,
List<Attribute> attributeList,
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, String serverName, InvalidParameterHandler invalidParameterHandler, RepositoryHandler repositoryHandler, OMRSRepositoryHelper repositoryHelper, SchemaTypeHandler schemaTypeHandler, DataEngineRegistrationHandler dataEngineRegistrationHandler)
serviceName - name of this serviceserverName - name of the local serverinvalidParameterHandler - 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, String qualifiedName, String displayName, String author, String encodingStandard, String usage, String versionNumber, List<Attribute> attributeList, String externalSourceName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling userqualifiedName - the qualifiedName name of the schema typedisplayName - the display name of the schema typeauthor - the author of the schema typeencodingStandard - the encoding for the schema typeusage - the usage for the schema typeversionNumber - the version number for the schema typeattributeList - the list of attributes for the schema typeexternalSourceName - 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–2019 ODPi. All rights reserved.