DataSource QueryEditor determines is visualization support single value or multiple

When rendering the QueryEditor for a DataSource plugin, how does one say determine if the query is for a panel/visualization that support single values (Gauge) vs multiple Values.

Id like to be able to configure the query editor to allow single or multi select for the result set fields for my custom datasource.

Any hints appreacited!