Class DynamicTable

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

public class DynamicTable extends SqlObject
Represents a Snowflake DYNAMIC TABLE — a table whose contents are automatically refreshed from a query, with a configurable target lag.
  • Constructor Details

  • Method Details

    • getQuery

      public String getQuery()
    • getTargetLag

      public String getTargetLag()
    • setTargetLag

      public void setTargetLag(String targetLag)
    • getWarehouse

      public String getWarehouse()
    • setWarehouse

      public void setWarehouse(String warehouse)
    • getRefreshMode

      public RefreshMode getRefreshMode()
    • setRefreshMode

      public void setRefreshMode(RefreshMode refreshMode)
    • getInitialize

      public Initialize getInitialize()
    • setInitialize

      public void setInitialize(Initialize initialize)
    • getDataRetentionDays

      public int getDataRetentionDays()
    • setDataRetentionDays

      public void setDataRetentionDays(int days)
    • getMaxDataExtensionDays

      public int getMaxDataExtensionDays()
    • setMaxDataExtensionDays

      public void setMaxDataExtensionDays(int days)
    • getState

      public State getState()
    • setState

      public void setState(State state)
    • getLastRefreshedTime

      public LocalDateTime getLastRefreshedTime()
    • setLastRefreshedTime

      public void setLastRefreshedTime(LocalDateTime t)
    • getSchedulingState

      public String getSchedulingState()
    • setSchedulingState

      public void setSchedulingState(String s)
    • isSuspended

      public boolean isSuspended()
    • rename

      public void rename(String newName)
      Description copied from class: SqlObject
      Rename this SQL object Note: Subclasses may override to add validation or mark as unsupported
      Overrides:
      rename in class SqlObject
      Parameters:
      newName - The new name for the object
    • 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