Interface ConstantArgumentsAccumulator

All Known Implementing Classes:
ApproxTopKAccumulator, ApproxTopKCombineAccumulator, ApproxTopKStateAccumulator

public interface ConstantArgumentsAccumulator
An accumulator that reads its constant arguments from the call's TEXT rather than from the rows — the APPROX_TOP_K family's item and counter limits, which must be known even when no row arrives: an empty group still reports the capacity it was configured with.

Both aggregate paths (grouped and windowed) hand over the argument texts in the order written, the aggregated value's own text first, before the first row is fed.

  • Method Details

    • setConstantArgumentTexts

      void setConstantArgumentTexts(List<String> argumentTexts)