Expanded class hierarchy of Query in Drupal 9
- class \Drupal\Core\Entity\Query\QueryBase implements QueryInterface
- class \Drupal\Core\Config\Entity\Query\Query implements QueryInterface
- class \Drupal\Core\Entity\KeyValueStore\Query\Query
- class \Drupal\Core\Entity\Query\Null\Query implements QueryAggregateInterface, QueryInterface
- class \Drupal\Core\Entity\Query\Sql\Query implements QueryInterface
- class \Drupal\Core\Entity\Query\Sql\QueryAggregate implements QueryAggregateInterface
- class \Drupal\synonyms\Plugin\Synonyms\Provider\FieldQuery
- class \Drupal\workspaces\EntityQuery\Query uses QueryTrait