Package dev.frostlake.executor.operators
Class WhereOperator
java.lang.Object
dev.frostlake.executor.operators.WhereOperator
- All Implemented Interfaces:
Operator
WHERE clause operator - filters rows based on a predicate expression.
This operator supports three evaluation modes:
- SIMPLE: For single-table queries
- WITH_ALIASES: For multi-table JOINs with table aliases
- WITH_LATERAL_CONTEXT: For LATERAL joins with outer row context
-
Constructor Summary
ConstructorsConstructorDescriptionWhereOperator(String whereExpression) WhereOperator(String whereExpression, WhereEvaluationMode mode) -
Method Summary
Modifier and TypeMethodDescriptionstatic WhereOperatorcreate(String whereExpression, OperatorContext context) Create a WHERE operator with automatic mode detection.execute(List<Row> input, OperatorContext context) Execute this operator on the input rows.Get a description of this operator for debugging/logging.
-
Constructor Details
-
WhereOperator
-
WhereOperator
-
-
Method Details
-
create
Create a WHERE operator with automatic mode detection. -
execute
Description copied from interface:OperatorExecute this operator on the input rows. -
getDescription
Description copied from interface:OperatorGet a description of this operator for debugging/logging.- Specified by:
getDescriptionin interfaceOperator- Returns:
- A human-readable description of the operator
-