aggregate abstract method

AggregateQuery aggregate(
  1. AggregateField aggregateField1, [
  2. AggregateField? aggregateField2,
  3. AggregateField? aggregateField3,
  4. AggregateField? aggregateField4,
  5. AggregateField? aggregateField5,
  6. AggregateField? aggregateField6,
  7. AggregateField? aggregateField7,
  8. AggregateField? aggregateField8,
  9. AggregateField? aggregateField9,
  10. AggregateField? aggregateField10,
  11. AggregateField? aggregateField11,
  12. AggregateField? aggregateField12,
  13. AggregateField? aggregateField13,
  14. AggregateField? aggregateField14,
  15. AggregateField? aggregateField15,
  16. AggregateField? aggregateField16,
  17. AggregateField? aggregateField17,
  18. AggregateField? aggregateField18,
  19. AggregateField? aggregateField19,
  20. AggregateField? aggregateField20,
  21. AggregateField? aggregateField21,
  22. AggregateField? aggregateField22,
  23. AggregateField? aggregateField23,
  24. AggregateField? aggregateField24,
  25. AggregateField? aggregateField25,
  26. AggregateField? aggregateField26,
  27. AggregateField? aggregateField27,
  28. AggregateField? aggregateField28,
  29. AggregateField? aggregateField29,
  30. AggregateField? aggregateField30,
])
inherited

Calculates the specified aggregations over the documents in the result set of the given query, without actually downloading the documents.

Implementation

AggregateQuery aggregate(
  AggregateField aggregateField1, [
  AggregateField? aggregateField2,
  AggregateField? aggregateField3,
  AggregateField? aggregateField4,
  AggregateField? aggregateField5,
  AggregateField? aggregateField6,
  AggregateField? aggregateField7,
  AggregateField? aggregateField8,
  AggregateField? aggregateField9,
  AggregateField? aggregateField10,
  AggregateField? aggregateField11,
  AggregateField? aggregateField12,
  AggregateField? aggregateField13,
  AggregateField? aggregateField14,
  AggregateField? aggregateField15,
  AggregateField? aggregateField16,
  AggregateField? aggregateField17,
  AggregateField? aggregateField18,
  AggregateField? aggregateField19,
  AggregateField? aggregateField20,
  AggregateField? aggregateField21,
  AggregateField? aggregateField22,
  AggregateField? aggregateField23,
  AggregateField? aggregateField24,
  AggregateField? aggregateField25,
  AggregateField? aggregateField26,
  AggregateField? aggregateField27,
  AggregateField? aggregateField28,
  AggregateField? aggregateField29,
  AggregateField? aggregateField30,
]);