This is a QueryImp compiled by a JdbcDataStore and ready to run.
It contains the SQL and enough information to convert the ResultSet
into State's. There is not much logic to avoid referencing server side
classes as a client application may serialize a query containing one of
these and re-associate it with a PM later.
updateSql(SqlDriver driver, Object[] params, boolean forUpdate, boolean forCount) Update all our Param's for the null/not null state of their parameters
and for 'select for update' or not.
If the results of the query should be copied for caching.
This should only happen for non-default type projection queries that
contains references.
If this is a projection that only specifies 'this' then this should
also return false.