QueryExecutor
This interface abstracts away the details of how to compile a query into SQL
and execute it. Instead of passing around all those details, {@link SelectQueryBuilder}
and other classes that execute queries can just pass around and instance of
QueryExecutor
.
§Extends
§Methods
Returns the adapter for the current dialect.
Compiles the transformed query into SQL. You usually want to pass the output of {@link transformQuery} into this method but you can compile any query using this method.
Returns all installed plugins.
Executes a compiled query and runs the result through all plugins'
transformResult
method. Results are streamead instead of loaded
at once.
Given the query the user has built (expressed as an operation node tree)
this method runs it through all plugins' transformQuery
methods and
returns the result.
Returns a copy of this executor with a new connection provider.
Returns a copy of this executor without any plugins.
Returns a copy of this executor with a plugin added as the last plugin.
Returns a copy of this executor with a plugin added as the first plugin.
Returns a copy of this executor with a list of plugins added as the last plugins.