Return specific query type from connection

e.g. Mysql connection will return Query\Mysql\Select instead of Query\Select and so on