Classes representing a query, wrapping and hidding internal cqp query syntax.