Class Contact

java.lang.Object
dev.frostlake.metastore.SqlObject
dev.frostlake.metastore.model.Contact
All Implemented Interfaces:
Taggable

public class Contact extends SqlObject
Snowflake CONTACT — a schema-level object naming who to reach about an object, attached to tables (and other objects) for a PURPOSE with ALTER TABLE … SET CONTACT <purpose> = <contact>.

It carries no behaviour: nothing about a contact changes how a query runs. What it does carry is a small property surface — a single email address (the property is named for a list, but live takes exactly one), a URL, and a comment.

  • Constructor Details

    • Contact

      public Contact(String name)
  • Method Details

    • getUrl

      public String getUrl()
    • setUrl

      public void setUrl(String url)
    • getEmailDistributionList

      public String getEmailDistributionList()
    • setEmailDistributionList

      public void setEmailDistributionList(String emailDistributionList)
    • getObjectType

      public String getObjectType()
      Description copied from class: SqlObject
      Get the type of this SQL object (e.g., "TABLE", "VIEW", "DATABASE") Subclasses should override to provide their specific type
      Specified by:
      getObjectType in class SqlObject
      Returns:
      The object type as a string