public interface VTIEnvironment
VTIEnvironment is the state variable created by the optimizer to help it place a Table Function in the join order. The methods of VTICosting use this state variable in order to pass information to each other and learn other details of the operating environment.
VTICosting
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOriginalSQL()
Return the SQL text of the original SQL statement.
|
java.lang.Object |
getSharedState(java.lang.String key)
Get an object associated with a key from set of objects maintained with the statement plan.
|
int |
getStatementIsolationLevel()
Get the specific JDBC isolation of the statement.
|
boolean |
isCompileTime()
Return true if this instance of the Table Function has been created for compilation,
false if it is for runtime execution.
|
void |
setSharedState(java.lang.String key,
java.io.Serializable value)
Saves an object associated with a key that will be maintained
for the lifetime of the statement plan.
|
boolean isCompileTime()
java.lang.String getOriginalSQL()
int getStatementIsolationLevel()
void setSharedState(java.lang.String key, java.io.Serializable value)
java.lang.Object getSharedState(java.lang.String key)
Apache Derby 10.10 API Documentation - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.