ZeroFieldCalculator is a base class for operators that don't use fields as input. In particular, the Count operator. It is a companion to the ZeroFieldOperator class.

Derived classes implement processNextEntry() rather than processNextLine(), and the single argument form of calculate() given as an abstract function.

class ZeroFieldCalculator : Calculator {}