Statement Extensions
The Teiid Spring Boot statement extension interface, org.teiid.jdbc.TeiidStatement
, provides functionality beyond the JDBC standard. To use the extension interface, simply cast or unwap the statement returned by the Connection. The following methods are provided on the extension interface:
Method Name | Description |
---|---|
|
Get the query engine annotations if the statement was last executed with SHOWPLAN ON/DEBUG. Each |
|
Get the debug log if the statement was last executed with SHOWPLAN DEBUG. |
|
Get the current value of an execution property on this statement object. |
|
Get the query plan description if the statement was last executed with SHOWPLAN ON/DEBUG. The plan is a tree made up of |
|
Get an identifier for the last command executed on this statement. If no command has been executed yet, null is returned. |
|
Set the execution property on this statement. See the Execution Properties section for more information. It is generally preferable to use the SET Statement unless the execution property applies only to the statement being executed. |
|
Set a per-command payload to pass to translators. Currently the only built-in use is for sending hints for Oracle data source. |