Package dev.frostlake.functions.table
Class PolicyReferencesFunction
java.lang.Object
dev.frostlake.functions.TableFunction
dev.frostlake.functions.table.PolicyReferencesFunction
INFORMATION_SCHEMA.POLICY_REFERENCES — every policy attached to one object, or every
object one policy is attached to. It is THE readback surface for attachments: a masking or
projection policy names its column in REF_COLUMN_NAME, while a row access or aggregation
policy leaves that null and lists its argument columns in REF_ARG_COLUMN_NAMES.
It takes either POLICY_NAME => 'p' or the pair REF_ENTITY_NAME => 'o',
REF_ENTITY_DOMAIN => 'TABLE'|'VIEW' — one of the two, never a mixture and never neither
(live-verified, including the sentence that says so).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExecute the table function with positional arguments.Execute the table function with named argumentsvoidvalidateArgs(Map<String, Object> namedArgs) Validate the arguments passed to the functionMethods inherited from class dev.frostlake.functions.TableFunction
getName
-
Constructor Details
-
PolicyReferencesFunction
-
-
Method Details
-
validateArgs
Description copied from class:TableFunctionValidate the arguments passed to the function- Specified by:
validateArgsin classTableFunction
-
execute
Description copied from class:TableFunctionExecute the table function with positional arguments. Override this in user-defined table functions.- Overrides:
executein classTableFunction
-
execute
Description copied from class:TableFunctionExecute the table function with named arguments- Specified by:
executein classTableFunction
-