Package dev.frostlake.executor.commands
Class MaskingPolicyAttachment
java.lang.Object
dev.frostlake.executor.commands.MaskingPolicyAttachment
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 Summary
Modifier and TypeMethodDescriptionstatic voidrequireTypeMatch(MaskingPolicy policy, TableColumn column)
-
Method Details
-
requireTypeMatch
- Parameters:
policy- the policy being attached, or null when it could not be resolved (checked earlier)column- the column it is being attached to
-