Class DatabricksUnityCatalogTag

All Implemented Interfaces:
IAsset, ICatalog, IDatabricksUnityCatalogTag, IReferenceable, ISQL, ITag, AuditDetail, Serializable, Comparable<Reference>

@Generated("com.atlan.generators.ModelGeneratorV2") public class DatabricksUnityCatalogTag extends Asset implements IDatabricksUnityCatalogTag, ITag, ISQL, ICatalog, IAsset, IReferenceable
Instance of a Databricks' Unity catalog tag in Atlan.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • trimToReference

      public DatabricksUnityCatalogTag trimToReference() throws InvalidRequestException
      Builds the minimal object necessary to create a relationship to a DatabricksUnityCatalogTag, from a potentially more-complete DatabricksUnityCatalogTag object.
      Overrides:
      trimToReference in class Asset
      Returns:
      the minimal object necessary to relate to the DatabricksUnityCatalogTag
      Throws:
      InvalidRequestException - if any of the minimal set of required properties for a DatabricksUnityCatalogTag relationship are not found in the initial object
    • select

      public static FluentSearch.FluentSearchBuilder<?,?> select()
      Start a fluent search that will return all DatabricksUnityCatalogTag assets. Additional conditions can be chained onto the returned search before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval. Only active (non-archived) DatabricksUnityCatalogTag assets will be included.
      Returns:
      a fluent search that includes all DatabricksUnityCatalogTag assets
    • select

      public static FluentSearch.FluentSearchBuilder<?,?> select(AtlanClient client)
      Start a fluent search that will return all DatabricksUnityCatalogTag assets. Additional conditions can be chained onto the returned search before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval. Only active (non-archived) DatabricksUnityCatalogTag assets will be included.
      Parameters:
      client - connectivity to the Atlan tenant from which to retrieve the assets
      Returns:
      a fluent search that includes all DatabricksUnityCatalogTag assets
    • select

      public static FluentSearch.FluentSearchBuilder<?,?> select(boolean includeArchived)
      Start a fluent search that will return all DatabricksUnityCatalogTag assets. Additional conditions can be chained onto the returned search before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval.
      Parameters:
      includeArchived - when true, archived (soft-deleted) DatabricksUnityCatalogTags will be included
      Returns:
      a fluent search that includes all DatabricksUnityCatalogTag assets
    • select

      public static FluentSearch.FluentSearchBuilder<?,?> select(AtlanClient client, boolean includeArchived)
      Start a fluent search that will return all DatabricksUnityCatalogTag assets. Additional conditions can be chained onto the returned search before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval.
      Parameters:
      client - connectivity to the Atlan tenant from which to retrieve the assets
      includeArchived - when true, archived (soft-deleted) DatabricksUnityCatalogTags will be included
      Returns:
      a fluent search that includes all DatabricksUnityCatalogTag assets
    • refByGuid

      public static DatabricksUnityCatalogTag refByGuid(String guid)
      Reference to a DatabricksUnityCatalogTag by GUID. Use this to create a relationship to this DatabricksUnityCatalogTag, where the relationship should be replaced.
      Parameters:
      guid - the GUID of the DatabricksUnityCatalogTag to reference
      Returns:
      reference to a DatabricksUnityCatalogTag that can be used for defining a relationship to a DatabricksUnityCatalogTag
    • refByGuid

      public static DatabricksUnityCatalogTag refByGuid(String guid, Reference.SaveSemantic semantic)
      Reference to a DatabricksUnityCatalogTag by GUID. Use this to create a relationship to this DatabricksUnityCatalogTag, where you want to further control how that relationship should be updated (i.e. replaced, appended, or removed).
      Parameters:
      guid - the GUID of the DatabricksUnityCatalogTag to reference
      semantic - how to save this relationship (replace all with this, append it, or remove it)
      Returns:
      reference to a DatabricksUnityCatalogTag that can be used for defining a relationship to a DatabricksUnityCatalogTag
    • refByQualifiedName

      public static DatabricksUnityCatalogTag refByQualifiedName(String qualifiedName)
      Reference to a DatabricksUnityCatalogTag by qualifiedName. Use this to create a relationship to this DatabricksUnityCatalogTag, where the relationship should be replaced.
      Parameters:
      qualifiedName - the qualifiedName of the DatabricksUnityCatalogTag to reference
      Returns:
      reference to a DatabricksUnityCatalogTag that can be used for defining a relationship to a DatabricksUnityCatalogTag
    • refByQualifiedName

      public static DatabricksUnityCatalogTag refByQualifiedName(String qualifiedName, Reference.SaveSemantic semantic)
      Reference to a DatabricksUnityCatalogTag by qualifiedName. Use this to create a relationship to this DatabricksUnityCatalogTag, where you want to further control how that relationship should be updated (i.e. replaced, appended, or removed).
      Parameters:
      qualifiedName - the qualifiedName of the DatabricksUnityCatalogTag to reference
      semantic - how to save this relationship (replace all with this, append it, or remove it)
      Returns:
      reference to a DatabricksUnityCatalogTag that can be used for defining a relationship to a DatabricksUnityCatalogTag
    • get

      public static DatabricksUnityCatalogTag get(String id) throws AtlanException
      Retrieves a DatabricksUnityCatalogTag by one of its identifiers, complete with all of its relationships.
      Parameters:
      id - of the DatabricksUnityCatalogTag to retrieve, either its GUID or its full qualifiedName
      Returns:
      the requested full DatabricksUnityCatalogTag, complete with all of its relationships
      Throws:
      AtlanException - on any error during the API invocation, such as the NotFoundException if the DatabricksUnityCatalogTag does not exist or the provided GUID is not a DatabricksUnityCatalogTag
    • get

      public static DatabricksUnityCatalogTag get(AtlanClient client, String id) throws AtlanException
      Retrieves a DatabricksUnityCatalogTag by one of its identifiers, complete with all of its relationships.
      Parameters:
      client - connectivity to the Atlan tenant from which to retrieve the asset
      id - of the DatabricksUnityCatalogTag to retrieve, either its GUID or its full qualifiedName
      Returns:
      the requested full DatabricksUnityCatalogTag, complete with all of its relationships
      Throws:
      AtlanException - on any error during the API invocation, such as the NotFoundException if the DatabricksUnityCatalogTag does not exist or the provided GUID is not a DatabricksUnityCatalogTag
    • get

      public static DatabricksUnityCatalogTag get(AtlanClient client, String id, boolean includeRelationships) throws AtlanException
      Retrieves a DatabricksUnityCatalogTag by one of its identifiers, optionally complete with all of its relationships.
      Parameters:
      client - connectivity to the Atlan tenant from which to retrieve the asset
      id - of the DatabricksUnityCatalogTag to retrieve, either its GUID or its full qualifiedName
      includeRelationships - if true, all of the asset's relationships will also be retrieved; if false, no relationships will be retrieved
      Returns:
      the requested full DatabricksUnityCatalogTag, optionally complete with all of its relationships
      Throws:
      AtlanException - on any error during the API invocation, such as the NotFoundException if the DatabricksUnityCatalogTag does not exist or the provided GUID is not a DatabricksUnityCatalogTag
    • restore

      public static boolean restore(String qualifiedName) throws AtlanException
      Restore the archived (soft-deleted) DatabricksUnityCatalogTag to active.
      Parameters:
      qualifiedName - for the DatabricksUnityCatalogTag
      Returns:
      true if the DatabricksUnityCatalogTag is now active, and false otherwise
      Throws:
      AtlanException - on any API problems
    • restore

      public static boolean restore(AtlanClient client, String qualifiedName) throws AtlanException
      Restore the archived (soft-deleted) DatabricksUnityCatalogTag to active.
      Parameters:
      client - connectivity to the Atlan tenant on which to restore the asset
      qualifiedName - for the DatabricksUnityCatalogTag
      Returns:
      true if the DatabricksUnityCatalogTag is now active, and false otherwise
      Throws:
      AtlanException - on any API problems
    • updater

      public static DatabricksUnityCatalogTag.DatabricksUnityCatalogTagBuilder<?,?> updater(String qualifiedName, String name)
      Builds the minimal object necessary to update a DatabricksUnityCatalogTag.
      Parameters:
      qualifiedName - of the DatabricksUnityCatalogTag
      name - of the DatabricksUnityCatalogTag
      Returns:
      the minimal request necessary to update the DatabricksUnityCatalogTag, as a builder
    • trimToRequired

      Builds the minimal object necessary to apply an update to a DatabricksUnityCatalogTag, from a potentially more-complete DatabricksUnityCatalogTag object.
      Overrides:
      trimToRequired in class Asset
      Returns:
      the minimal object necessary to update the DatabricksUnityCatalogTag, as a builder
      Throws:
      InvalidRequestException - if any of the minimal set of required properties for DatabricksUnityCatalogTag are not found in the initial object
    • removeDescription

      public static DatabricksUnityCatalogTag removeDescription(String qualifiedName, String name) throws AtlanException
      Remove the system description from a DatabricksUnityCatalogTag.
      Parameters:
      qualifiedName - of the DatabricksUnityCatalogTag
      name - of the DatabricksUnityCatalogTag
      Returns:
      the updated DatabricksUnityCatalogTag, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeDescription

      public static DatabricksUnityCatalogTag removeDescription(AtlanClient client, String qualifiedName, String name) throws AtlanException
      Remove the system description from a DatabricksUnityCatalogTag.
      Parameters:
      client - connectivity to the Atlan tenant on which to remove the asset's description
      qualifiedName - of the DatabricksUnityCatalogTag
      name - of the DatabricksUnityCatalogTag
      Returns:
      the updated DatabricksUnityCatalogTag, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeUserDescription

      public static DatabricksUnityCatalogTag removeUserDescription(String qualifiedName, String name) throws AtlanException
      Remove the user's description from a DatabricksUnityCatalogTag.
      Parameters:
      qualifiedName - of the DatabricksUnityCatalogTag
      name - of the DatabricksUnityCatalogTag
      Returns:
      the updated DatabricksUnityCatalogTag, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeUserDescription

      public static DatabricksUnityCatalogTag removeUserDescription(AtlanClient client, String qualifiedName, String name) throws AtlanException
      Remove the user's description from a DatabricksUnityCatalogTag.
      Parameters:
      client - connectivity to the Atlan tenant on which to remove the asset's description
      qualifiedName - of the DatabricksUnityCatalogTag
      name - of the DatabricksUnityCatalogTag
      Returns:
      the updated DatabricksUnityCatalogTag, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeOwners

      public static DatabricksUnityCatalogTag removeOwners(String qualifiedName, String name) throws AtlanException
      Remove the owners from a DatabricksUnityCatalogTag.
      Parameters:
      qualifiedName - of the DatabricksUnityCatalogTag
      name - of the DatabricksUnityCatalogTag
      Returns:
      the updated DatabricksUnityCatalogTag, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeOwners

      public static DatabricksUnityCatalogTag removeOwners(AtlanClient client, String qualifiedName, String name) throws AtlanException
      Remove the owners from a DatabricksUnityCatalogTag.
      Parameters:
      client - connectivity to the Atlan tenant from which to remove the DatabricksUnityCatalogTag's owners
      qualifiedName - of the DatabricksUnityCatalogTag
      name - of the DatabricksUnityCatalogTag
      Returns:
      the updated DatabricksUnityCatalogTag, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • updateCertificate

      public static DatabricksUnityCatalogTag updateCertificate(String qualifiedName, CertificateStatus certificate, String message) throws AtlanException
      Update the certificate on a DatabricksUnityCatalogTag.
      Parameters:
      qualifiedName - of the DatabricksUnityCatalogTag
      certificate - to use
      message - (optional) message, or null if no message
      Returns:
      the updated DatabricksUnityCatalogTag, or null if the update failed
      Throws:
      AtlanException - on any API problems
    • updateCertificate

      public static DatabricksUnityCatalogTag updateCertificate(AtlanClient client, String qualifiedName, CertificateStatus certificate, String message) throws AtlanException
      Update the certificate on a DatabricksUnityCatalogTag.
      Parameters:
      client - connectivity to the Atlan tenant on which to update the DatabricksUnityCatalogTag's certificate
      qualifiedName - of the DatabricksUnityCatalogTag
      certificate - to use
      message - (optional) message, or null if no message
      Returns:
      the updated DatabricksUnityCatalogTag, or null if the update failed
      Throws:
      AtlanException - on any API problems
    • removeCertificate

      public static DatabricksUnityCatalogTag removeCertificate(String qualifiedName, String name) throws AtlanException
      Remove the certificate from a DatabricksUnityCatalogTag.
      Parameters:
      qualifiedName - of the DatabricksUnityCatalogTag
      name - of the DatabricksUnityCatalogTag
      Returns:
      the updated DatabricksUnityCatalogTag, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeCertificate

      public static DatabricksUnityCatalogTag removeCertificate(AtlanClient client, String qualifiedName, String name) throws AtlanException
      Remove the certificate from a DatabricksUnityCatalogTag.
      Parameters:
      client - connectivity to the Atlan tenant from which to remove the DatabricksUnityCatalogTag's certificate
      qualifiedName - of the DatabricksUnityCatalogTag
      name - of the DatabricksUnityCatalogTag
      Returns:
      the updated DatabricksUnityCatalogTag, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • updateAnnouncement

      public static DatabricksUnityCatalogTag updateAnnouncement(String qualifiedName, AtlanAnnouncementType type, String title, String message) throws AtlanException
      Update the announcement on a DatabricksUnityCatalogTag.
      Parameters:
      qualifiedName - of the DatabricksUnityCatalogTag
      type - type of announcement to set
      title - (optional) title of the announcement to set (or null for no title)
      message - (optional) message of the announcement to set (or null for no message)
      Returns:
      the result of the update, or null if the update failed
      Throws:
      AtlanException - on any API problems
    • updateAnnouncement

      public static DatabricksUnityCatalogTag updateAnnouncement(AtlanClient client, String qualifiedName, AtlanAnnouncementType type, String title, String message) throws AtlanException
      Update the announcement on a DatabricksUnityCatalogTag.
      Parameters:
      client - connectivity to the Atlan tenant on which to update the DatabricksUnityCatalogTag's announcement
      qualifiedName - of the DatabricksUnityCatalogTag
      type - type of announcement to set
      title - (optional) title of the announcement to set (or null for no title)
      message - (optional) message of the announcement to set (or null for no message)
      Returns:
      the result of the update, or null if the update failed
      Throws:
      AtlanException - on any API problems
    • removeAnnouncement

      public static DatabricksUnityCatalogTag removeAnnouncement(String qualifiedName, String name) throws AtlanException
      Remove the announcement from a DatabricksUnityCatalogTag.
      Parameters:
      qualifiedName - of the DatabricksUnityCatalogTag
      name - of the DatabricksUnityCatalogTag
      Returns:
      the updated DatabricksUnityCatalogTag, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeAnnouncement

      public static DatabricksUnityCatalogTag removeAnnouncement(AtlanClient client, String qualifiedName, String name) throws AtlanException
      Remove the announcement from a DatabricksUnityCatalogTag.
      Parameters:
      client - connectivity to the Atlan client from which to remove the DatabricksUnityCatalogTag's announcement
      qualifiedName - of the DatabricksUnityCatalogTag
      name - of the DatabricksUnityCatalogTag
      Returns:
      the updated DatabricksUnityCatalogTag, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • replaceTerms

      public static DatabricksUnityCatalogTag replaceTerms(String qualifiedName, String name, List<IGlossaryTerm> terms) throws AtlanException
      Replace the terms linked to the DatabricksUnityCatalogTag.
      Parameters:
      qualifiedName - for the DatabricksUnityCatalogTag
      name - human-readable name of the DatabricksUnityCatalogTag
      terms - the list of terms to replace on the DatabricksUnityCatalogTag, or null to remove all terms from the DatabricksUnityCatalogTag
      Returns:
      the DatabricksUnityCatalogTag that was updated (note that it will NOT contain details of the replaced terms)
      Throws:
      AtlanException - on any API problems
    • replaceTerms

      public static DatabricksUnityCatalogTag replaceTerms(AtlanClient client, String qualifiedName, String name, List<IGlossaryTerm> terms) throws AtlanException
      Replace the terms linked to the DatabricksUnityCatalogTag.
      Parameters:
      client - connectivity to the Atlan tenant on which to replace the DatabricksUnityCatalogTag's assigned terms
      qualifiedName - for the DatabricksUnityCatalogTag
      name - human-readable name of the DatabricksUnityCatalogTag
      terms - the list of terms to replace on the DatabricksUnityCatalogTag, or null to remove all terms from the DatabricksUnityCatalogTag
      Returns:
      the DatabricksUnityCatalogTag that was updated (note that it will NOT contain details of the replaced terms)
      Throws:
      AtlanException - on any API problems
    • appendTerms

      public static DatabricksUnityCatalogTag appendTerms(String qualifiedName, List<IGlossaryTerm> terms) throws AtlanException
      Link additional terms to the DatabricksUnityCatalogTag, without replacing existing terms linked to the DatabricksUnityCatalogTag. Note: this operation must make two API calls — one to retrieve the DatabricksUnityCatalogTag's existing terms, and a second to append the new terms.
      Parameters:
      qualifiedName - for the DatabricksUnityCatalogTag
      terms - the list of terms to append to the DatabricksUnityCatalogTag
      Returns:
      the DatabricksUnityCatalogTag that was updated (note that it will NOT contain details of the appended terms)
      Throws:
      AtlanException - on any API problems
    • appendTerms

      public static DatabricksUnityCatalogTag appendTerms(AtlanClient client, String qualifiedName, List<IGlossaryTerm> terms) throws AtlanException
      Link additional terms to the DatabricksUnityCatalogTag, without replacing existing terms linked to the DatabricksUnityCatalogTag. Note: this operation must make two API calls — one to retrieve the DatabricksUnityCatalogTag's existing terms, and a second to append the new terms.
      Parameters:
      client - connectivity to the Atlan tenant on which to append terms to the DatabricksUnityCatalogTag
      qualifiedName - for the DatabricksUnityCatalogTag
      terms - the list of terms to append to the DatabricksUnityCatalogTag
      Returns:
      the DatabricksUnityCatalogTag that was updated (note that it will NOT contain details of the appended terms)
      Throws:
      AtlanException - on any API problems
    • removeTerms

      public static DatabricksUnityCatalogTag removeTerms(String qualifiedName, List<IGlossaryTerm> terms) throws AtlanException
      Remove terms from a DatabricksUnityCatalogTag, without replacing all existing terms linked to the DatabricksUnityCatalogTag. Note: this operation must make two API calls — one to retrieve the DatabricksUnityCatalogTag's existing terms, and a second to remove the provided terms.
      Parameters:
      qualifiedName - for the DatabricksUnityCatalogTag
      terms - the list of terms to remove from the DatabricksUnityCatalogTag, which must be referenced by GUID
      Returns:
      the DatabricksUnityCatalogTag that was updated (note that it will NOT contain details of the resulting terms)
      Throws:
      AtlanException - on any API problems
    • removeTerms

      public static DatabricksUnityCatalogTag removeTerms(AtlanClient client, String qualifiedName, List<IGlossaryTerm> terms) throws AtlanException
      Remove terms from a DatabricksUnityCatalogTag, without replacing all existing terms linked to the DatabricksUnityCatalogTag. Note: this operation must make two API calls — one to retrieve the DatabricksUnityCatalogTag's existing terms, and a second to remove the provided terms.
      Parameters:
      client - connectivity to the Atlan tenant from which to remove terms from the DatabricksUnityCatalogTag
      qualifiedName - for the DatabricksUnityCatalogTag
      terms - the list of terms to remove from the DatabricksUnityCatalogTag, which must be referenced by GUID
      Returns:
      the DatabricksUnityCatalogTag that was updated (note that it will NOT contain details of the resulting terms)
      Throws:
      AtlanException - on any API problems
    • appendAtlanTags

      public static DatabricksUnityCatalogTag appendAtlanTags(String qualifiedName, List<String> atlanTagNames) throws AtlanException
      Add Atlan tags to a DatabricksUnityCatalogTag, without replacing existing Atlan tags linked to the DatabricksUnityCatalogTag. Note: this operation must make two API calls — one to retrieve the DatabricksUnityCatalogTag's existing Atlan tags, and a second to append the new Atlan tags.
      Parameters:
      qualifiedName - of the DatabricksUnityCatalogTag
      atlanTagNames - human-readable names of the Atlan tags to add
      Returns:
      the updated DatabricksUnityCatalogTag
      Throws:
      AtlanException - on any API problems
    • appendAtlanTags

      public static DatabricksUnityCatalogTag appendAtlanTags(AtlanClient client, String qualifiedName, List<String> atlanTagNames) throws AtlanException
      Add Atlan tags to a DatabricksUnityCatalogTag, without replacing existing Atlan tags linked to the DatabricksUnityCatalogTag. Note: this operation must make two API calls — one to retrieve the DatabricksUnityCatalogTag's existing Atlan tags, and a second to append the new Atlan tags.
      Parameters:
      client - connectivity to the Atlan tenant on which to append Atlan tags to the DatabricksUnityCatalogTag
      qualifiedName - of the DatabricksUnityCatalogTag
      atlanTagNames - human-readable names of the Atlan tags to add
      Returns:
      the updated DatabricksUnityCatalogTag
      Throws:
      AtlanException - on any API problems
    • appendAtlanTags

      public static DatabricksUnityCatalogTag appendAtlanTags(String qualifiedName, List<String> atlanTagNames, boolean propagate, boolean removePropagationsOnDelete, boolean restrictLineagePropagation) throws AtlanException
      Add Atlan tags to a DatabricksUnityCatalogTag, without replacing existing Atlan tags linked to the DatabricksUnityCatalogTag. Note: this operation must make two API calls — one to retrieve the DatabricksUnityCatalogTag's existing Atlan tags, and a second to append the new Atlan tags.
      Parameters:
      qualifiedName - of the DatabricksUnityCatalogTag
      atlanTagNames - human-readable names of the Atlan tags to add
      propagate - whether to propagate the Atlan tag (true) or not (false)
      removePropagationsOnDelete - whether to remove the propagated Atlan tags when the Atlan tag is removed from this asset (true) or not (false)
      restrictLineagePropagation - whether to avoid propagating through lineage (true) or do propagate through lineage (false)
      Returns:
      the updated DatabricksUnityCatalogTag
      Throws:
      AtlanException - on any API problems
    • appendAtlanTags

      public static DatabricksUnityCatalogTag appendAtlanTags(AtlanClient client, String qualifiedName, List<String> atlanTagNames, boolean propagate, boolean removePropagationsOnDelete, boolean restrictLineagePropagation) throws AtlanException
      Add Atlan tags to a DatabricksUnityCatalogTag, without replacing existing Atlan tags linked to the DatabricksUnityCatalogTag. Note: this operation must make two API calls — one to retrieve the DatabricksUnityCatalogTag's existing Atlan tags, and a second to append the new Atlan tags.
      Parameters:
      client - connectivity to the Atlan tenant on which to append Atlan tags to the DatabricksUnityCatalogTag
      qualifiedName - of the DatabricksUnityCatalogTag
      atlanTagNames - human-readable names of the Atlan tags to add
      propagate - whether to propagate the Atlan tag (true) or not (false)
      removePropagationsOnDelete - whether to remove the propagated Atlan tags when the Atlan tag is removed from this asset (true) or not (false)
      restrictLineagePropagation - whether to avoid propagating through lineage (true) or do propagate through lineage (false)
      Returns:
      the updated DatabricksUnityCatalogTag
      Throws:
      AtlanException - on any API problems
    • removeAtlanTag

      public static void removeAtlanTag(String qualifiedName, String atlanTagName) throws AtlanException
      Remove an Atlan tag from a DatabricksUnityCatalogTag.
      Parameters:
      qualifiedName - of the DatabricksUnityCatalogTag
      atlanTagName - human-readable name of the Atlan tag to remove
      Throws:
      AtlanException - on any API problems, or if the Atlan tag does not exist on the DatabricksUnityCatalogTag
    • removeAtlanTag

      public static void removeAtlanTag(AtlanClient client, String qualifiedName, String atlanTagName) throws AtlanException
      Remove an Atlan tag from a DatabricksUnityCatalogTag.
      Parameters:
      client - connectivity to the Atlan tenant from which to remove an Atlan tag from a DatabricksUnityCatalogTag
      qualifiedName - of the DatabricksUnityCatalogTag
      atlanTagName - human-readable name of the Atlan tag to remove
      Throws:
      AtlanException - on any API problems, or if the Atlan tag does not exist on the DatabricksUnityCatalogTag
    • _internal

    • toBuilder

      Overrides:
      toBuilder in class Reference
    • getApplicationContainer

      public IApplicationContainer getApplicationContainer()
      ApplicationContainer asset containing this Catalog asset.
      Specified by:
      getApplicationContainer in interface ICatalog
      Specified by:
      getApplicationContainer in interface IDatabricksUnityCatalogTag
      Specified by:
      getApplicationContainer in interface ISQL
      Specified by:
      getApplicationContainer in interface ITag
    • getAssetApplicationQualifiedName

      public String getAssetApplicationQualifiedName()
      Qualified name of the Application Container that contains this asset.
      Specified by:
      getAssetApplicationQualifiedName in interface ICatalog
      Specified by:
      getAssetApplicationQualifiedName in interface IDatabricksUnityCatalogTag
      Specified by:
      getAssetApplicationQualifiedName in interface ISQL
      Specified by:
      getAssetApplicationQualifiedName in interface ITag
    • getCalculationViewName

      public String getCalculationViewName()
      Simple name of the calculation view in which this SQL asset exists, or empty if it does not exist within a calculation view.
      Specified by:
      getCalculationViewName in interface IDatabricksUnityCatalogTag
      Specified by:
      getCalculationViewName in interface ISQL
    • getCalculationViewQualifiedName

      public String getCalculationViewQualifiedName()
      Unique name of the calculation view in which this SQL asset exists, or empty if it does not exist within a calculation view.
      Specified by:
      getCalculationViewQualifiedName in interface IDatabricksUnityCatalogTag
      Specified by:
      getCalculationViewQualifiedName in interface ISQL
    • getDatabaseName

      public String getDatabaseName()
      Simple name of the database in which this SQL asset exists, or empty if it does not exist within a database.
      Specified by:
      getDatabaseName in interface IDatabricksUnityCatalogTag
      Specified by:
      getDatabaseName in interface ISQL
    • getDatabaseQualifiedName

      public String getDatabaseQualifiedName()
      Unique name of the database in which this SQL asset exists, or empty if it does not exist within a database.
      Specified by:
      getDatabaseQualifiedName in interface IDatabricksUnityCatalogTag
      Specified by:
      getDatabaseQualifiedName in interface ISQL
    • getDbtModels

      public SortedSet<IDbtModel> getDbtModels()
      TBC
      Specified by:
      getDbtModels in interface IDatabricksUnityCatalogTag
      Specified by:
      getDbtModels in interface ISQL
    • getDbtSources

      public SortedSet<IDbtSource> getDbtSources()
      TBC
      Specified by:
      getDbtSources in interface IDatabricksUnityCatalogTag
      Specified by:
      getDbtSources in interface ISQL
    • getDbtTests

      public SortedSet<IDbtTest> getDbtTests()
      TBC
      Specified by:
      getDbtTests in interface IDatabricksUnityCatalogTag
      Specified by:
      getDbtTests in interface ISQL
    • getInputToAirflowTasks

      public SortedSet<IAirflowTask> getInputToAirflowTasks()
      Tasks to which this asset provides input.
      Specified by:
      getInputToAirflowTasks in interface ICatalog
      Specified by:
      getInputToAirflowTasks in interface IDatabricksUnityCatalogTag
      Specified by:
      getInputToAirflowTasks in interface ISQL
      Specified by:
      getInputToAirflowTasks in interface ITag
    • getInputToProcesses

      public SortedSet<ILineageProcess> getInputToProcesses()
      Processes to which this asset provides input.
      Specified by:
      getInputToProcesses in interface ICatalog
      Specified by:
      getInputToProcesses in interface IDatabricksUnityCatalogTag
      Specified by:
      getInputToProcesses in interface ISQL
      Specified by:
      getInputToProcesses in interface ITag
    • getInputToSparkJobs

      public SortedSet<ISparkJob> getInputToSparkJobs()
      TBC
      Specified by:
      getInputToSparkJobs in interface ICatalog
      Specified by:
      getInputToSparkJobs in interface IDatabricksUnityCatalogTag
      Specified by:
      getInputToSparkJobs in interface ISQL
      Specified by:
      getInputToSparkJobs in interface ITag
    • getIsProfiled

      public Boolean getIsProfiled()
      Whether this asset has been profiled (true) or not (false).
      Specified by:
      getIsProfiled in interface IDatabricksUnityCatalogTag
      Specified by:
      getIsProfiled in interface ISQL
    • getLastProfiledAt

      public Long getLastProfiledAt()
      Time (epoch) at which this asset was last profiled, in milliseconds.
      Specified by:
      getLastProfiledAt in interface IDatabricksUnityCatalogTag
      Specified by:
      getLastProfiledAt in interface ISQL
    • getMappedAtlanTagName

      public String getMappedAtlanTagName()
      Name of the classification in Atlan that is mapped to this tag.
      Specified by:
      getMappedAtlanTagName in interface IDatabricksUnityCatalogTag
      Specified by:
      getMappedAtlanTagName in interface ITag
    • getModelImplementedEntities

      public SortedSet<IModelEntity> getModelImplementedEntities()
      Entities implemented by this asset.
      Specified by:
      getModelImplementedEntities in interface ICatalog
      Specified by:
      getModelImplementedEntities in interface IDatabricksUnityCatalogTag
      Specified by:
      getModelImplementedEntities in interface ISQL
      Specified by:
      getModelImplementedEntities in interface ITag
    • getOutputFromAirflowTasks

      public SortedSet<IAirflowTask> getOutputFromAirflowTasks()
      Tasks from which this asset is output.
      Specified by:
      getOutputFromAirflowTasks in interface ICatalog
      Specified by:
      getOutputFromAirflowTasks in interface IDatabricksUnityCatalogTag
      Specified by:
      getOutputFromAirflowTasks in interface ISQL
      Specified by:
      getOutputFromAirflowTasks in interface ITag
    • getOutputFromProcesses

      public SortedSet<ILineageProcess> getOutputFromProcesses()
      Processes from which this asset is produced as output.
      Specified by:
      getOutputFromProcesses in interface ICatalog
      Specified by:
      getOutputFromProcesses in interface IDatabricksUnityCatalogTag
      Specified by:
      getOutputFromProcesses in interface ISQL
      Specified by:
      getOutputFromProcesses in interface ITag
    • getOutputFromSparkJobs

      public SortedSet<ISparkJob> getOutputFromSparkJobs()
      TBC
      Specified by:
      getOutputFromSparkJobs in interface ICatalog
      Specified by:
      getOutputFromSparkJobs in interface IDatabricksUnityCatalogTag
      Specified by:
      getOutputFromSparkJobs in interface ISQL
      Specified by:
      getOutputFromSparkJobs in interface ITag
    • getQueryCount

      public Long getQueryCount()
      Number of times this asset has been queried.
      Specified by:
      getQueryCount in interface IDatabricksUnityCatalogTag
      Specified by:
      getQueryCount in interface ISQL
    • getQueryCountUpdatedAt

      public Long getQueryCountUpdatedAt()
      Time (epoch) at which the query count was last updated, in milliseconds.
      Specified by:
      getQueryCountUpdatedAt in interface IDatabricksUnityCatalogTag
      Specified by:
      getQueryCountUpdatedAt in interface ISQL
    • getQueryUserCount

      public Long getQueryUserCount()
      Number of unique users who have queried this asset.
      Specified by:
      getQueryUserCount in interface IDatabricksUnityCatalogTag
      Specified by:
      getQueryUserCount in interface ISQL
    • getQueryUserMap

      public Map<String,Long> getQueryUserMap()
      Map of unique users who have queried this asset to the number of times they have queried it.
      Specified by:
      getQueryUserMap in interface IDatabricksUnityCatalogTag
      Specified by:
      getQueryUserMap in interface ISQL
    • getSchemaName

      public String getSchemaName()
      Simple name of the schema in which this SQL asset exists, or empty if it does not exist within a schema.
      Specified by:
      getSchemaName in interface IDatabricksUnityCatalogTag
      Specified by:
      getSchemaName in interface ISQL
    • getSchemaQualifiedName

      public String getSchemaQualifiedName()
      Unique name of the schema in which this SQL asset exists, or empty if it does not exist within a schema.
      Specified by:
      getSchemaQualifiedName in interface IDatabricksUnityCatalogTag
      Specified by:
      getSchemaQualifiedName in interface ISQL
    • getSqlDBTSources

      public SortedSet<IDbtSource> getSqlDBTSources()
      TBC
      Specified by:
      getSqlDBTSources in interface IDatabricksUnityCatalogTag
      Specified by:
      getSqlDBTSources in interface ISQL
    • getSqlDbtModels

      public SortedSet<IDbtModel> getSqlDbtModels()
      TBC
      Specified by:
      getSqlDbtModels in interface IDatabricksUnityCatalogTag
      Specified by:
      getSqlDbtModels in interface ISQL
    • getTableName

      public String getTableName()
      Simple name of the table in which this SQL asset exists, or empty if it does not exist within a table.
      Specified by:
      getTableName in interface IDatabricksUnityCatalogTag
      Specified by:
      getTableName in interface ISQL
    • getTableQualifiedName

      public String getTableQualifiedName()
      Unique name of the table in which this SQL asset exists, or empty if it does not exist within a table.
      Specified by:
      getTableQualifiedName in interface IDatabricksUnityCatalogTag
      Specified by:
      getTableQualifiedName in interface ISQL
    • getTagAllowedValues

      public SortedSet<String> getTagAllowedValues()
      Allowed values for the tag in the source system. These are denormalized from tagAttributes for ease of querying.
      Specified by:
      getTagAllowedValues in interface IDatabricksUnityCatalogTag
      Specified by:
      getTagAllowedValues in interface ITag
    • getTagAttributes

      public List<SourceTagAttribute> getTagAttributes()
      Attributes associated with the tag in the source system.
      Specified by:
      getTagAttributes in interface IDatabricksUnityCatalogTag
      Specified by:
      getTagAttributes in interface ITag
    • getTagId

      public String getTagId()
      Unique identifier of the tag in the source system.
      Specified by:
      getTagId in interface IDatabricksUnityCatalogTag
      Specified by:
      getTagId in interface ITag
    • getViewName

      public String getViewName()
      Simple name of the view in which this SQL asset exists, or empty if it does not exist within a view.
      Specified by:
      getViewName in interface IDatabricksUnityCatalogTag
      Specified by:
      getViewName in interface ISQL
    • getViewQualifiedName

      public String getViewQualifiedName()
      Unique name of the view in which this SQL asset exists, or empty if it does not exist within a view.
      Specified by:
      getViewQualifiedName in interface IDatabricksUnityCatalogTag
      Specified by:
      getViewQualifiedName in interface ISQL
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Asset
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class Asset
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Asset
    • toString

      public String toString()
      Description copied from class: AtlanObject
      Overrides:
      toString in class Asset
    • getTypeName

      public String getTypeName()
      Fixed typeName for DatabricksUnityCatalogTags.
      Specified by:
      getTypeName in interface AuditDetail
      Specified by:
      getTypeName in interface IAsset
      Specified by:
      getTypeName in interface ICatalog
      Specified by:
      getTypeName in interface IDatabricksUnityCatalogTag
      Specified by:
      getTypeName in interface IReferenceable
      Specified by:
      getTypeName in interface ISQL
      Specified by:
      getTypeName in interface ITag
      Overrides:
      getTypeName in class Reference