此内容没有您所选择的语言版本。
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.
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.