Class MaskingPolicyAttachment

java.lang.Object
dev.frostlake.executor.commands.MaskingPolicyAttachment

public final class MaskingPolicyAttachment extends Object
The type rule a masking policy attachment must pass. It is NOT the row access policy's rule reworded: live names no column here, and spells the policy's type in the INTERNAL vocabulary — TEXT rather than VARCHAR(n), FIXED rather than NUMBER(p,s), REAL rather than FLOAT — while the column keeps its canonical SQL spelling. Matching itself is by family, parameters ignored.
  • Method Details

    • requireTypeMatch

      public static void requireTypeMatch(MaskingPolicy policy, TableColumn column)
      Parameters:
      policy - the policy being attached, or null when it could not be resolved (checked earlier)
      column - the column it is being attached to