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.

Constructors

this
this()

Undocumented in source.

Members

Classes

CountCalculator
class CountCalculator

Undocumented in source.

Functions

makeCalculator
ZeroFieldCalculator makeCalculator()

Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From ZeroFieldOperator

setCustomHeader
void setCustomHeader(string customHeader)

Undocumented in source. Be warned that the author may not have intended to support it.

allowCustomHeader
bool allowCustomHeader()

Undocumented in source. Be warned that the author may not have intended to support it.

name
string name()

Undocumented in source. Be warned that the author may not have intended to support it.

header
string header()

Undocumented in source. Be warned that the author may not have intended to support it.

processHeaderLine
void processHeaderLine(char[][] fields)

Undocumented in source. Be warned that the author may not have intended to support it.

numericFieldsToSave
size_t[] numericFieldsToSave()

Undocumented in source. Be warned that the author may not have intended to support it.

textFieldsToSave
size_t[] textFieldsToSave()

Undocumented in source. Be warned that the author may not have intended to support it.

makeCalculator
ZeroFieldCalculator makeCalculator()

Undocumented in source.

Meta