Class DataEngineSchemaAttributeHandler
java.lang.Object
org.odpi.openmetadata.accessservices.dataengine.server.handlers.DataEngineSchemaAttributeHandler
DataEngineSchemaAttributeHandler manages schema attributes objects from the property server. It runs server-side in the
DataEngine OMAS and creates and retrieves schema type entities through the OMRSRepositoryConnector.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDataEngineSchemaAttributeHandler(String serviceName, String serverName, org.odpi.openmetadata.commonservices.ffdc.InvalidParameterHandler invalidParameterHandler, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryHelper repositoryHelper, org.odpi.openmetadata.commonservices.generichandlers.SchemaAttributeHandler<org.odpi.openmetadata.accessservices.dataengine.model.Attribute, org.odpi.openmetadata.accessservices.dataengine.model.SchemaType> schemaAttributeHandler, DataEngineRegistrationHandler dataEngineRegistrationHandler, DataEngineCommonHandler dataEngineCommonHandler) Construct the handler information needed to interact with the repository services -
Method Summary
-
Field Details
-
SCHEMA_TYPE_GUID_PARAMETER_NAME
- See Also:
-
-
Constructor Details
-
DataEngineSchemaAttributeHandler
public DataEngineSchemaAttributeHandler(String serviceName, String serverName, org.odpi.openmetadata.commonservices.ffdc.InvalidParameterHandler invalidParameterHandler, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryHelper repositoryHelper, org.odpi.openmetadata.commonservices.generichandlers.SchemaAttributeHandler<org.odpi.openmetadata.accessservices.dataengine.model.Attribute, org.odpi.openmetadata.accessservices.dataengine.model.SchemaType> schemaAttributeHandler, DataEngineRegistrationHandler dataEngineRegistrationHandler, DataEngineCommonHandler dataEngineCommonHandler) Construct the handler information needed to interact with the repository services- Parameters:
serviceName- name of this serviceserverName- name of the local serverinvalidParameterHandler- handler for managing parameter errorsrepositoryHelper- provides utilities for manipulating the repository services objectsdataEngineRegistrationHandler- provides calls for retrieving external data engine guiddataEngineCommonHandler- provides utilities for manipulating entitiesschemaAttributeHandler- handler for managing schema attributes in the metadata repositories
-
-
Method Details
-
upsertSchemaAttributes
public void upsertSchemaAttributes(String userId, List<org.odpi.openmetadata.accessservices.dataengine.model.Attribute> attributeList, String externalSourceName, String externalSourceGUID, String schemaTypeGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Creates or updates the list of schema attributes- Parameters:
userId- the name of the calling userattributeList- the list of attributesexternalSourceName- the unique name of the external sourceexternalSourceGUID- the guid of the external sourceschemaTypeGUID- the guid of the schema type- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- the bean properties are invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- user not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing the property server
-