Skip to main content

business_metadata

Creates, updates, deletes, gets or lists a business_metadata resource.

Overview

Namebusiness_metadata
TypeResource
Idconfluent.catalog.business_metadata

Fields

The following fields are returned by SELECT queries:

The business metadata

NameDatatypeDescription
attributesstringThe business metadata attributes (opaque JSON object)
entityNamestringThe qualified name of the entity
entityTypestringThe entity type
errorobjectError message of this operation
typeNamestringThe business metadata name

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_business_metadataselecttypeName, qualifiedNameGets the list of business metadata for a given entity represented
by a qualified name.
create_business_metadatainsertBulk API to create multiple business metadata.
update_business_metadatareplaceBulk API to update multiple business metadata.
delete_business_metadatadeletetypeName, qualifiedName, bmNameDelete a business metadata on an entity.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
bmNamestringThe name of the business metadata
qualifiedNamestringThe qualified name of the entity
typeNamestringThe type of the entity

SELECT examples

Gets the list of business metadata for a given entity represented
by a qualified name.

SELECT
attributes,
entityName,
entityType,
error,
typeName
FROM confluent.catalog.business_metadata
WHERE typeName = '{{ typeName }}' -- required
AND qualifiedName = '{{ qualifiedName }}' -- required
;

INSERT examples

Bulk API to create multiple business metadata.

INSERT INTO confluent.catalog.business_metadata (

)
SELECT

RETURNING
attributes,
entityName,
entityType,
error,
typeName
;

REPLACE examples

Bulk API to update multiple business metadata.

REPLACE confluent.catalog.business_metadata
SET
-- No updatable properties
RETURNING
attributes,
entityName,
entityType,
error,
typeName;

DELETE examples

Delete a business metadata on an entity.

DELETE FROM confluent.catalog.business_metadata
WHERE typeName = '{{ typeName }}' --required
AND qualifiedName = '{{ qualifiedName }}' --required
AND bmName = '{{ bmName }}' --required
;