views_plugin_display::query in core/modules/views/plugins/views_plugin_display.inc
Inject anything into the query that the display handler needs.
views_plugin_display_extender::query in core/modules/views/plugins/views_plugin_display_extender.inc
Inject anything into the query that the display_extender handler needs.
views_plugin_exposed_form::query in core/modules/views/plugins/views_plugin_exposed_form.inc
Add anything to the query that we might need to.
views_plugin_pager::query in core/modules/views/plugins/views_plugin_pager.inc
Modify the query for paging
views_plugin_query::query in core/modules/views/plugins/views_plugin_query.inc
Generate a query and a countQuery from all of the information supplied to the object.
views_plugin_row::query in core/modules/views/plugins/views_plugin_row.inc
Add anything to the query that we might need to.
views_plugin_style::query in core/modules/views/plugins/views_plugin_style.inc
Add anything to the query that we might need to.