Package dev.frostlake.metastore.model
Class DataMetricAttachment
java.lang.Object
dev.frostlake.metastore.model.DataMetricAttachment
One DATA METRIC FUNCTION attached to a table, over the columns it measures — or over none, for the
table-level metrics (ROW_COUNT, FRESHNESS and their kind).
Frostlake records the attachment and never evaluates the metric: nothing computes a value, and no scheduled run happens. What it does model is the SUSPEND / RESUME state, which is per attachment rather than per table (live-verified).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanWhether this attachment is the one a statement names: same metric, same columns.voidsetSuspended(boolean suspended)
-
Constructor Details
-
DataMetricAttachment
-
-
Method Details
-
getMetricName
-
getColumns
-
isSuspended
public boolean isSuspended() -
setSuspended
public void setSuspended(boolean suspended) -
matches
Whether this attachment is the one a statement names: same metric, same columns.
-