Package dev.frostlake.metastore.model
Class Contact
java.lang.Object
dev.frostlake.metastore.SqlObject
dev.frostlake.metastore.model.Contact
- All Implemented Interfaces:
Taggable
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.
-
Field Summary
Fields inherited from class dev.frostlake.metastore.SqlObject
comment, createdTime, name, owner -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the type of this SQL object (e.g., "TABLE", "VIEW", "DATABASE") Subclasses should override to provide their specific typegetUrl()voidsetEmailDistributionList(String emailDistributionList) voidMethods inherited from class dev.frostlake.metastore.SqlObject
equals, getComment, getCreatedTime, getName, getOwner, getTagValue, getTagValues, hashCode, rename, setComment, setName, setOwner, setTag, toString, unsetTag, withoutTrailingSemicolon
-
Constructor Details
-
Contact
-
-
Method Details
-
getUrl
-
setUrl
-
getEmailDistributionList
-
setEmailDistributionList
-
getObjectType
Description copied from class:SqlObjectGet the type of this SQL object (e.g., "TABLE", "VIEW", "DATABASE") Subclasses should override to provide their specific type- Specified by:
getObjectTypein classSqlObject- Returns:
- The object type as a string
-