This holds a CompiledQuery and RunningQuery instance returned by a
call to
StorageManager.executeQuery . This will not need to extend
QueryResultWrapper when JDOConnection is finally gone.
Get the compiled form of the query. This can be cached and passed to
StorageManager.executeQuery to avoid recompilation. If a
compiledQuery was passed to executeQuery then this may return null.
This is used to optimize remote access.