Class Tag

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

public class Tag extends SqlObject
Represents a Snowflake TAG - used for object categorization and metadata management Tags can be applied to databases, schemas, tables, and other objects for governance and organization
  • Constructor Details

  • Method Details

    • getAllowedValues

      public List<String> getAllowedValues()
    • addAllowedValue

      public void addAllowedValue(String value)
    • removeAllowedValue

      public void removeAllowedValue(String value)
    • clearAllowedValues

      public void clearAllowedValues()
    • hasAllowedValues

      public boolean hasAllowedValues()
    • isValueAllowed

      public boolean isValueAllowed(String value)
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class SqlObject