public interface DatabaseManagerInterface
| Modifier and Type | Method and Description |
|---|---|
void |
addForeignKeyRelationship(String userId,
String databaseManagerGUID,
String databaseManagerName,
String primaryKeyColumnGUID,
String foreignKeyColumnGUID,
DatabaseForeignKeyProperties databaseForeignKeyProperties)
Create a foreign relationship between two columns.
|
String |
createDatabase(String userId,
String databaseManagerGUID,
String databaseManagerName,
DatabaseProperties databaseProperties)
Create a new metadata element to represent a database.
|
String |
createDatabaseColumn(String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseTableGUID,
DatabaseColumnProperties databaseColumnProperties)
Create a new metadata element to represent a database column.
|
String |
createDatabaseColumnFromTemplate(String userId,
String databaseManagerGUID,
String databaseManagerName,
String templateGUID,
String databaseTableGUID,
TemplateProperties templateProperties)
Create a new metadata element to represent a database column using an existing metadata element as a template.
|
String |
createDatabaseFromTemplate(String userId,
String databaseManagerGUID,
String databaseManagerName,
String templateGUID,
TemplateProperties templateProperties)
Create a new metadata element to represent a database using an existing metadata element as a template.
|
String |
createDatabaseSchema(String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseGUID,
DatabaseSchemaProperties databaseSchemaProperties)
Create a new metadata element to represent a database schema.
|
String |
createDatabaseSchemaFromTemplate(String userId,
String databaseManagerGUID,
String databaseManagerName,
String templateGUID,
String databaseGUID,
TemplateProperties templateProperties)
Create a new metadata element to represent a database schema using an existing metadata element as a template.
|
String |
createDatabaseTable(String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseSchemaGUID,
DatabaseTableProperties databaseTableProperties)
Create a new metadata element to represent a database table.
|
String |
createDatabaseTableFromTemplate(String userId,
String databaseManagerGUID,
String databaseManagerName,
String templateGUID,
String databaseSchemaGUID,
TemplateProperties templateProperties)
Create a new metadata element to represent a database table using an existing metadata element as a template.
|
String |
createDatabaseView(String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseSchemaGUID,
DatabaseViewProperties databaseViewProperties)
Create a new metadata element to represent a database view.
|
String |
createDatabaseViewFromTemplate(String userId,
String databaseManagerGUID,
String databaseManagerName,
String templateGUID,
String databaseSchemaGUID,
TemplateProperties templateProperties)
Create a new metadata element to represent a database view using an existing metadata element as a template.
|
List<DatabaseColumnElement> |
findDatabaseColumns(String userId,
String searchString,
int startFrom,
int pageSize)
Retrieve the list of database column metadata elements that contain the search string.
|
List<DatabaseElement> |
findDatabases(String userId,
String searchString,
int startFrom,
int pageSize)
Retrieve the list of database metadata elements that contain the search string.
|
List<DatabaseSchemaElement> |
findDatabaseSchemas(String userId,
String searchString,
int startFrom,
int pageSize)
Retrieve the list of database schema metadata elements that contain the search string.
|
List<DatabaseTableElement> |
findDatabaseTables(String userId,
String searchString,
int startFrom,
int pageSize)
Retrieve the list of database table metadata elements that contain the search string.
|
List<DatabaseViewElement> |
findDatabaseViews(String userId,
String searchString,
int startFrom,
int pageSize)
Retrieve the list of database view metadata elements that contain the search string.
|
List<DatabaseColumnElement> |
getColumnsForDatabaseTable(String userId,
String databaseTableGUID,
int startFrom,
int pageSize)
Retrieve the list of column for a database table (or view)
|
DatabaseElement |
getDatabaseByGUID(String userId,
String guid)
Retrieve the database metadata element with the supplied unique identifier.
|
DatabaseColumnElement |
getDatabaseColumnByGUID(String userId,
String guid)
Retrieve the database column metadata element with the supplied unique identifier.
|
List<DatabaseColumnElement> |
getDatabaseColumnsByName(String userId,
String name,
int startFrom,
int pageSize)
Retrieve the list of database column metadata elements with a matching qualified or display name.
|
List<DatabaseElement> |
getDatabasesByName(String userId,
String name,
int startFrom,
int pageSize)
Retrieve the list of database metadata elements with a matching qualified or display name.
|
DatabaseSchemaElement |
getDatabaseSchemaByGUID(String userId,
String guid)
Retrieve the database schema metadata element with the supplied unique identifier.
|
List<DatabaseSchemaElement> |
getDatabaseSchemasByName(String userId,
String name,
int startFrom,
int pageSize)
Retrieve the list of database schema metadata elements with a matching qualified or display name.
|
List<DatabaseElement> |
getDatabasesForDatabaseManager(String userId,
String databaseManagerGUID,
String databaseManagerName,
int startFrom,
int pageSize)
Retrieve the list of databases created by this caller.
|
DatabaseTableElement |
getDatabaseTableByGUID(String userId,
String guid)
Retrieve the database table metadata element with the supplied unique identifier.
|
List<DatabaseTableElement> |
getDatabaseTablesByName(String userId,
String name,
int startFrom,
int pageSize)
Retrieve the list of database table metadata elements with a matching qualified or display name.
|
DatabaseViewElement |
getDatabaseViewByGUID(String userId,
String guid)
Retrieve the database view metadata element with the supplied unique identifier.
|
List<DatabaseViewElement> |
getDatabaseViewsByName(String userId,
String name,
int startFrom,
int pageSize)
Retrieve the list of database view metadata elements with a matching qualified or display name.
|
List<DatabaseSchemaElement> |
getSchemasForDatabase(String userId,
String databaseGUID,
int startFrom,
int pageSize)
Return the list of schemas associated with a database.
|
List<DatabaseTableElement> |
getTablesForDatabaseSchema(String userId,
String databaseSchemaGUID,
int startFrom,
int pageSize)
Retrieve the list of database tables associated with a database schema.
|
List<DatabaseViewElement> |
getViewsForDatabaseSchema(String userId,
String databaseSchemaGUID,
int startFrom,
int pageSize)
Retrieve the list of database views associated with a database schema.
|
void |
publishDatabase(String userId,
String databaseGUID)
Update the zones for the database asset so that it becomes visible to consumers.
|
void |
publishDatabaseSchema(String userId,
String databaseSchemaGUID)
Update the zones for the database asset so that it becomes visible to consumers.
|
void |
removeDatabase(String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseGUID,
String qualifiedName)
Remove the metadata element representing a database.
|
void |
removeDatabaseColumn(String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseColumnGUID,
String qualifiedName)
Remove the metadata element representing a database column.
|
void |
removeDatabaseSchema(String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseSchemaGUID,
String qualifiedName)
Remove the metadata element representing a database schema.
|
void |
removeDatabaseTable(String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseTableGUID,
String qualifiedName)
Remove the metadata element representing a database table.
|
void |
removeDatabaseView(String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseViewGUID,
String qualifiedName)
Remove the metadata element representing a database table.
|
void |
removeForeignKeyRelationship(String userId,
String databaseManagerGUID,
String databaseManagerName,
String primaryKeyColumnGUID,
String foreignKeyColumnGUID)
Remove the foreign key relationship for the requested columns.
|
void |
removePrimaryKeyFromColumn(String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseColumnGUID)
Remove the classification that this column is a primary key.
|
void |
setPrimaryKeyOnColumn(String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseColumnGUID,
DatabasePrimaryKeyProperties databasePrimaryKeyProperties)
Classify a column in a database table as the primary key.
|
void |
updateDatabase(String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseGUID,
DatabaseProperties databaseProperties)
Update the metadata element representing a database.
|
void |
updateDatabaseColumn(String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseColumnGUID,
DatabaseColumnProperties databaseColumnProperties)
Update the metadata element representing a database column.
|
void |
updateDatabaseSchema(String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseSchemaGUID,
DatabaseSchemaProperties databaseSchemaProperties)
Update the metadata element representing a database schema.
|
void |
updateDatabaseTable(String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseTableGUID,
DatabaseTableProperties databaseTableProperties)
Update the metadata element representing a database table.
|
void |
updateDatabaseView(String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseViewGUID,
DatabaseViewProperties databaseViewProperties)
Update the metadata element representing a database table.
|
void |
withdrawDatabase(String userId,
String databaseGUID)
Update the zones for the database asset so that it is no longer visible to consumers.
|
void |
withdrawDatabaseSchema(String userId,
String databaseSchemaGUID)
Update the zones for the database asset so that it is no longer visible to consumers.
|
String createDatabase(String userId, String databaseManagerGUID, String databaseManagerName, DatabaseProperties databaseProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the callerdatabaseManagerName - unique name of software server capability representing the callerdatabaseProperties - properties to storeInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)String createDatabaseFromTemplate(String userId, String databaseManagerGUID, String databaseManagerName, String templateGUID, TemplateProperties templateProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the callerdatabaseManagerName - unique name of software server capability representing the callertemplateGUID - unique identifier of the metadata element to copytemplateProperties - properties that override the templateInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)void updateDatabase(String userId, String databaseManagerGUID, String databaseManagerName, String databaseGUID, DatabaseProperties databaseProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the callerdatabaseManagerName - unique name of software server capability representing the callerdatabaseGUID - unique identifier of the metadata element to updatedatabaseProperties - new properties for this elementInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)void publishDatabase(String userId, String databaseGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseGUID - unique identifier of the metadata element to publishInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)void withdrawDatabase(String userId, String databaseGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseGUID - unique identifier of the metadata element to withdrawInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)void removeDatabase(String userId, String databaseManagerGUID, String databaseManagerName, String databaseGUID, String qualifiedName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the callerdatabaseManagerName - unique name of software server capability representing the callerdatabaseGUID - unique identifier of the metadata element to removequalifiedName - unique name of the metadata element to removeInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)List<DatabaseElement> findDatabases(String userId, String searchString, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usersearchString - string to find in the propertiesstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)List<DatabaseElement> getDatabasesByName(String userId, String name, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling username - name to search forstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)List<DatabaseElement> getDatabasesForDatabaseManager(String userId, String databaseManagerGUID, String databaseManagerName, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the database manager (DBMS)databaseManagerName - unique name of software server capability representing the database manager (DBMS)startFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)DatabaseElement getDatabaseByGUID(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userguid - unique identifier of the requested metadata elementInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)String createDatabaseSchema(String userId, String databaseManagerGUID, String databaseManagerName, String databaseGUID, DatabaseSchemaProperties databaseSchemaProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the callerdatabaseManagerName - unique name of software server capability representing the callerdatabaseGUID - unique identifier of the database where the schema is locateddatabaseSchemaProperties - properties about the database schemaInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)String createDatabaseSchemaFromTemplate(String userId, String databaseManagerGUID, String databaseManagerName, String templateGUID, String databaseGUID, TemplateProperties templateProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the callerdatabaseManagerName - unique name of software server capability representing the callertemplateGUID - unique identifier of the metadata element to copydatabaseGUID - unique identifier of the database where the schema is locatedtemplateProperties - properties that override the templateInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)void updateDatabaseSchema(String userId, String databaseManagerGUID, String databaseManagerName, String databaseSchemaGUID, DatabaseSchemaProperties databaseSchemaProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the callerdatabaseManagerName - unique name of software server capability representing the callerdatabaseSchemaGUID - unique identifier of the metadata element to updatedatabaseSchemaProperties - new properties for the metadata elementInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)void publishDatabaseSchema(String userId, String databaseSchemaGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseSchemaGUID - unique identifier of the metadata element to publishInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)void withdrawDatabaseSchema(String userId, String databaseSchemaGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseSchemaGUID - unique identifier of the metadata element to withdrawInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)void removeDatabaseSchema(String userId, String databaseManagerGUID, String databaseManagerName, String databaseSchemaGUID, String qualifiedName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the callerdatabaseManagerName - unique name of software server capability representing the callerdatabaseSchemaGUID - unique identifier of the metadata element to removequalifiedName - unique name of the metadata element to removeInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)List<DatabaseSchemaElement> findDatabaseSchemas(String userId, String searchString, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usersearchString - string to find in the propertiesstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)List<DatabaseSchemaElement> getSchemasForDatabase(String userId, String databaseGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseGUID - unique identifier of the database to querystartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)List<DatabaseSchemaElement> getDatabaseSchemasByName(String userId, String name, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling username - name to search forstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)DatabaseSchemaElement getDatabaseSchemaByGUID(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userguid - unique identifier of the requested metadata elementInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)String createDatabaseTable(String userId, String databaseManagerGUID, String databaseManagerName, String databaseSchemaGUID, DatabaseTableProperties databaseTableProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the callerdatabaseManagerName - unique name of software server capability representing the callerdatabaseSchemaGUID - unique identifier of the database schema where the database table is located.databaseTableProperties - properties for the database tableInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)String createDatabaseTableFromTemplate(String userId, String databaseManagerGUID, String databaseManagerName, String templateGUID, String databaseSchemaGUID, TemplateProperties templateProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the callerdatabaseManagerName - unique name of software server capability representing the callertemplateGUID - unique identifier of the metadata element to copydatabaseSchemaGUID - unique identifier of the database schema where the database table is located.templateProperties - properties that override the templateInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)void updateDatabaseTable(String userId, String databaseManagerGUID, String databaseManagerName, String databaseTableGUID, DatabaseTableProperties databaseTableProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the callerdatabaseManagerName - unique name of software server capability representing the callerdatabaseTableGUID - unique identifier of the database table to updatedatabaseTableProperties - new properties for the database tableInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)void removeDatabaseTable(String userId, String databaseManagerGUID, String databaseManagerName, String databaseTableGUID, String qualifiedName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the callerdatabaseManagerName - unique name of software server capability representing the callerdatabaseTableGUID - unique identifier of the metadata element to removequalifiedName - unique name of the metadata element to removeInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)List<DatabaseTableElement> findDatabaseTables(String userId, String searchString, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usersearchString - string to find in the propertiesstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)List<DatabaseTableElement> getTablesForDatabaseSchema(String userId, String databaseSchemaGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseSchemaGUID - unique identifier of the database schema of intereststartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)List<DatabaseTableElement> getDatabaseTablesByName(String userId, String name, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling username - name to search forstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)DatabaseTableElement getDatabaseTableByGUID(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userguid - unique identifier of the requested metadata elementInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)String createDatabaseView(String userId, String databaseManagerGUID, String databaseManagerName, String databaseSchemaGUID, DatabaseViewProperties databaseViewProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the callerdatabaseManagerName - unique name of software server capability representing the callerdatabaseSchemaGUID - unique identifier of the database schema where the database view is located.databaseViewProperties - properties for the new viewInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)String createDatabaseViewFromTemplate(String userId, String databaseManagerGUID, String databaseManagerName, String templateGUID, String databaseSchemaGUID, TemplateProperties templateProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the callerdatabaseManagerName - unique name of software server capability representing the callertemplateGUID - unique identifier of the metadata element to copydatabaseSchemaGUID - unique identifier of the database schema where the database view is located.templateProperties - properties that override the templateInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)void updateDatabaseView(String userId, String databaseManagerGUID, String databaseManagerName, String databaseViewGUID, DatabaseViewProperties databaseViewProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the callerdatabaseManagerName - unique name of software server capability representing the callerdatabaseViewGUID - unique identifier of the database view to updatedatabaseViewProperties - properties for the new database viewInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)void removeDatabaseView(String userId, String databaseManagerGUID, String databaseManagerName, String databaseViewGUID, String qualifiedName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the callerdatabaseManagerName - unique name of software server capability representing the callerdatabaseViewGUID - unique identifier of the metadata element to removequalifiedName - unique name of the metadata element to removeInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)List<DatabaseViewElement> findDatabaseViews(String userId, String searchString, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usersearchString - string to find in the propertiesstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)List<DatabaseViewElement> getViewsForDatabaseSchema(String userId, String databaseSchemaGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseSchemaGUID - unique identifier of the database schema of intereststartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)List<DatabaseViewElement> getDatabaseViewsByName(String userId, String name, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling username - name to search forstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)DatabaseViewElement getDatabaseViewByGUID(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userguid - unique identifier of the requested metadata elementInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)String createDatabaseColumn(String userId, String databaseManagerGUID, String databaseManagerName, String databaseTableGUID, DatabaseColumnProperties databaseColumnProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the callerdatabaseManagerName - unique name of software server capability representing the callerdatabaseTableGUID - unique identifier of the database table where this column is locateddatabaseColumnProperties - properties for the new columnInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)String createDatabaseColumnFromTemplate(String userId, String databaseManagerGUID, String databaseManagerName, String templateGUID, String databaseTableGUID, TemplateProperties templateProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the callerdatabaseManagerName - unique name of software server capability representing the callertemplateGUID - unique identifier of the metadata element to copydatabaseTableGUID - unique identifier of the database table where this column is locatedtemplateProperties - properties that override the templateInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)void updateDatabaseColumn(String userId, String databaseManagerGUID, String databaseManagerName, String databaseColumnGUID, DatabaseColumnProperties databaseColumnProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the callerdatabaseManagerName - unique name of software server capability representing the callerdatabaseColumnGUID - unique identifier of the metadata element to updatedatabaseColumnProperties - new properties for the metadata elementInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)void removeDatabaseColumn(String userId, String databaseManagerGUID, String databaseManagerName, String databaseColumnGUID, String qualifiedName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the callerdatabaseManagerName - unique name of software server capability representing the callerdatabaseColumnGUID - unique identifier of the metadata element to removequalifiedName - unique name of the metadata element to removeInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)List<DatabaseColumnElement> findDatabaseColumns(String userId, String searchString, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usersearchString - string to find in the propertiesstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)List<DatabaseColumnElement> getColumnsForDatabaseTable(String userId, String databaseTableGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseTableGUID - unique identifier of the database table of intereststartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)List<DatabaseColumnElement> getDatabaseColumnsByName(String userId, String name, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling username - name to search forstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)DatabaseColumnElement getDatabaseColumnByGUID(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userguid - unique identifier of the requested metadata elementInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)void setPrimaryKeyOnColumn(String userId, String databaseManagerGUID, String databaseManagerName, String databaseColumnGUID, DatabasePrimaryKeyProperties databasePrimaryKeyProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the callerdatabaseManagerName - unique name of software server capability representing the callerdatabaseColumnGUID - unique identifier if the primary key columndatabasePrimaryKeyProperties - properties to storeInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)void removePrimaryKeyFromColumn(String userId, String databaseManagerGUID, String databaseManagerName, String databaseColumnGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the callerdatabaseManagerName - unique name of software server capability representing the callerdatabaseColumnGUID - unique identifier if the primary key columnInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)void addForeignKeyRelationship(String userId, String databaseManagerGUID, String databaseManagerName, String primaryKeyColumnGUID, String foreignKeyColumnGUID, DatabaseForeignKeyProperties databaseForeignKeyProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the callerdatabaseManagerName - unique name of software server capability representing the callerprimaryKeyColumnGUID - unique identifier of the column containing the primary keyforeignKeyColumnGUID - unique identifier of the column containing the primary key from the other tabledatabaseForeignKeyProperties - properties about the foreign key relationshipInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)void removeForeignKeyRelationship(String userId, String databaseManagerGUID, String databaseManagerName, String primaryKeyColumnGUID, String foreignKeyColumnGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the callerdatabaseManagerName - unique name of software server capability representing the callerprimaryKeyColumnGUID - unique identifier of the column that is the linked primary keyforeignKeyColumnGUID - unique identifier of the column the contains the primary key from another tableInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.