Package dev.frostlake.executor
Class ExpressionColumns
java.lang.Object
dev.frostlake.executor.ExpressionColumns
Whether a projection expression NAMES a given column — read from the expression's own tokens, the
way
MaskingPolicyApplier rewrites references, so a name inside a string literal and a
same-named function call are both left out of it.-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanreferences(String expression, String columnName)
-
Method Details
-
references
- Parameters:
expression- the projection expression as written (A,t.A,UPPER(A))columnName- the column to look for- Returns:
- true when the expression references that column
-