CountOperator

CountOperator counts the number of occurrences of each unique key, or the number of input lines if there is no unique key.

CountOperator differs from most other operators in that it doesn't summarize a specific field on the line. Instead it is summarizing a property of the unique key itself. For this reason it doesn't derive from SingleFieldOperator.

final
class CountOperator : ZeroFieldOperator {}

Meta