Class HavingOperator

java.lang.Object
dev.frostlake.executor.operators.HavingOperator
All Implemented Interfaces:
Operator

public class HavingOperator extends Object implements Operator
HAVING clause operator - filters rows after GROUP BY based on aggregate conditions. HAVING is applied after GROUP BY and filters rows based on aggregate values. Unlike WHERE (which filters before grouping), HAVING filters after aggregation.
  • Constructor Details

  • Method Details

    • execute

      public List<Row> execute(List<Row> input, OperatorContext context)
      Description copied from interface: Operator
      Execute this operator on the input rows.
      Specified by:
      execute in interface Operator
      Parameters:
      input - The input rows from the previous operator
      context - The execution context containing table metadata and other information
      Returns:
      The output rows after applying this operator
    • getDescription

      public String getDescription()
      Description copied from interface: Operator
      Get a description of this operator for debugging/logging.
      Specified by:
      getDescription in interface Operator
      Returns:
      A human-readable description of the operator