|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Statement
The MetaMatrix-specific interface for executing statements against the MetaMatrix server. This interface provides methods in addition to the standard JDBC methods.
Field Summary |
---|
Fields inherited from interface java.sql.Statement |
---|
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO |
Method Summary | |
---|---|
void |
attachStylesheet(java.io.Reader reader)
Attach a stylesheet to be applied on the server for XML queries executed with this Statement. |
void |
clearStylesheet()
Clear any previously attached stylesheet for this Statement object. |
java.util.Collection |
getAnnotations()
Get collection of annotations from the query planner from the last command executed on the Statement, if annotations were requested. |
java.lang.String |
getDebugLog()
Obtain the query planner debug log from the last command executed on this Statement, if it was requested with OPTION DEBUG. |
java.lang.String |
getExecutionProperty(java.lang.String name)
Get the MetaMatrix-specific execution property value. |
PlanNode |
getPlanDescription()
Obtain the query plan object representation from the last command executed on this Statement, if a query plan was requested in the command. |
java.lang.String |
getRequestIdentifier()
Get ID for last execution which can be used for matching up executions on the client side with executions in the server logs and MetaMatrix console. |
void |
setExecutionProperty(java.lang.String name,
java.lang.String value)
Set the MetaMatrix-specific execution property value. |
void |
setPayload(java.io.Serializable payload)
Set the per-statement security payload. |
Methods inherited from interface java.sql.Statement |
---|
addBatch, cancel, clearBatch, clearWarnings, close, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout |
Methods inherited from interface java.sql.Wrapper |
---|
isWrapperFor, unwrap |
Method Detail |
---|
java.lang.String getExecutionProperty(java.lang.String name)
name
- Execution property name
void setExecutionProperty(java.lang.String name, java.lang.String value)
name
- Execution property namevalue
- Execution property valuePlanNode getPlanDescription()
java.lang.String getDebugLog()
java.util.Collection getAnnotations()
Annotation
svoid attachStylesheet(java.io.Reader reader) throws java.io.IOException
reader
- Reader for reading a stylesheet in XML
java.io.IOException
- If an error occurs reading the stylesheetvoid clearStylesheet()
java.lang.String getRequestIdentifier()
void setPayload(java.io.Serializable payload)
null
, a new payload is set on
the statement or the statement is closed.
To remove an existing payload from a statement, call this method
with a null
argument.
The execution payload differs from the Trusted Payload in that it is set on the Statement and so may not be constant over the Connection lifecycle and may be changed upon each statement execution. The Execution Payload is not authenticated or validated by the MetaMatrix system.
Given that the Execution Payload is not authenticated by the MetaMatrix system, connector writers are responsible for ensuring its validity. This can possibly be accomplished by comparing it against the Trusted Payload.
payload
- The payload that is to accompany requests executed
from this statement.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |