Class AggregationPolicyRules

java.lang.Object
dev.frostlake.executor.AggregationPolicyRules

public final class AggregationPolicyRules extends Object
What an AGGREGATION POLICY allows: which aggregates leak a row, and what a body's verdict says.
  • Method Details

    • leakingAggregate

      public static String leakingAggregate(FrostlakeParser.SelectClauseContext ctx)
      The FIRST select item that uses a forbidden aggregate, spelled as it was written — that text is what the refusal echoes — or null when none does.
    • minGroupSize

      public static int minGroupSize(String verdict)
      The minimum group size a body's verdict carries: AGGREGATION_CONSTRAINT's, or 0 for none.