Red Hat Training

A Red Hat training course is available for Red Hat JBoss Data Virtualization

Appendix A. Executing Commands

A.1. Execution Modes

The JBoss Data Virtualization query engine uses the ExecutionFactory class to obtain the Execution interface for the command it is executing. The query is sent to the translator as a set of objects. Refer to Section B.1, “Language” for more information.
Translators are allowed to support any subset of the available execution modes.

Table A.1. Types of Execution Modes

Execution Interface Command interface(s) Description
ResultSetExecution QueryExpression A query corresponding to a SQL SELECT or set query statement.
UpdateExecution Insert, Update, Delete, BatchedUpdates An insert, update, or delete, corresponding to a SQL INSERT, UPDATE, or DELETE command
ProcedureExecution Call A procedure execution that may return a result set and/or output values.
All of the execution interfaces extend the base Execution interface that defines how executions are canceled and closed. ProcedureExecution also extends ResultSetExecution, since procedures may also return resultsets.