* @param threshold of type int
*/
@ConstructorProperties({"name", "pipes", "groupingFields", "valueFields", "countField", "include", "threshold"})
public CountBy( String name, Pipe[] pipes, Fields groupingFields, Fields valueFields, Fields countField, Include include, int threshold )
{
super( name, pipes, groupingFields, valueFields, new CountPartials( countField.applyTypes( Long.TYPE ), include ), new Sum( countField.applyTypes( Long.TYPE ) ), threshold );
}