All classes that implement QueryAggregateInterface in Drupal 9
- class \Drupal\Core\Entity\Query\Null\Query implements QueryAggregateInterface, QueryInterface
- class \Drupal\Core\Entity\Query\Sql\QueryAggregate implements QueryAggregateInterface
- class \Drupal\workspaces\EntityQuery\QueryAggregate uses QueryTrait