Class TransientRetentionLimit

java.lang.Object
dev.frostlake.executor.TransientRetentionLimit

public final class TransientRetentionLimit extends Object
A TRANSIENT object keeps at most ONE day of history, and asking for more is refused.

This is the rule that gives the modifier consequences beyond a word in a metadata column: a permanent schema takes a retention a transient one cannot, so the same statement succeeds or refuses depending only on how its container was created. Live-verified: 0 and 1 are accepted, 2 refuses — and it refuses in the BRACKETED invalid-value shape shared with every other out-of-range parameter, quoting the number bare rather than the object or the limit.

  • Method Details

    • requireWithinAccountLimit

      public static void requireWithinAccountLimit(String rawValue)
      The account-wide retention ceiling: any value past 90 days refuses with the account's own sentence, on a database and a schema alike (live-verified).
    • requireWithinTransientLimit

      public static void requireWithinTransientLimit(boolean transientObject, String rawValue)