Package dev.frostlake.metastore
Interface Taggable
- All Known Implementing Classes:
AggregationPolicy,ComputePool,Contact,Database,DynamicTable,Function,JoinPolicy,MaskingPolicy,MaterializedView,Pipe,Procedure,ProjectionPolicy,RowAccessPolicy,Schema,SqlObject,Stage,Table,TableColumn,Tag,View,Warehouse
public interface Taggable
Implemented by catalog objects (and columns) that can carry Snowflake object tags applied via
ALTER <object> SET TAG <tag> = '<value>' / ALTER <object> UNSET TAG <tag>.-
Method Summary
Modifier and TypeMethodDescriptiongetTagValue(String tagName) The value of the named tag on this object, ornullif not set.All tag associations on this object (tag name -> value).voidAssociate (or overwrite) a tag value on this object;tagNameis the canonical upper-cased tag name.voidRemove a tag association from this object (no-op if absent).
-
Method Details
-
setTag
Associate (or overwrite) a tag value on this object;tagNameis the canonical upper-cased tag name. -
unsetTag
Remove a tag association from this object (no-op if absent). -
getTagValue
The value of the named tag on this object, ornullif not set. -
getTagValues
All tag associations on this object (tag name -> value). Named getTagValues to avoid clashing with Schema.getTags().
-