|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.impl.sql.execute.BaseActivation
org.apache.derby.impl.sql.execute.ConstantActionActivation
public final class ConstantActionActivation
A pre-compiled activation that supports a single ResultSet with a single constant action. All the execution logic is contained in the constant action.
At compile time for DDL statements this class will be picked as the implementation of Activation. The language PreparedStatement will contain the ConstantAction created at compiled time. At execute time this class then fetches a language ResultSet using ResultSetFactory.getDDLResultSet and executing the ResultSet will invoke the execute on the ConstantAction.
| Field Summary |
|---|
| Fields inherited from class org.apache.derby.impl.sql.execute.BaseActivation |
|---|
closed, cm, indexOfSessionTableNamesInSavedObjects, numSubqueries, parentResultSets, preStmt, pvs, raParentResultSets, resultDescription, resultSet, row, UUIDString, UUIDValue |
| Fields inherited from interface org.apache.derby.catalog.Dependable |
|---|
ACTIVATION, ALIAS, COLUMNS_IN_TABLE, COLUMNS_PERMISSION, CONGLOMERATE, CONSTRAINT, DEFAULT, FILE, HEAP, INDEX, PERM, PREPARED_STATEMENT, ROLE_GRANT, ROUTINE_PERMISSION, SCHEMA, SEQUENCE, STORED_PREPARED_STATEMENT, TABLE, TABLE_PERMISSION, TRIGGER, VIEW |
| Constructor Summary | |
|---|---|
ConstantActionActivation()
|
|
| Method Summary | |
|---|---|
protected ResultSet |
createResultSet()
Create the ResultSet tree for this statement. |
void |
postConstructor()
Called by the class manager just after calling setGC(). |
protected boolean |
shouldWeCheckRowCounts()
Always return false since constant actions don't need recompilation when the row counts change. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConstantActionActivation()
| Method Detail |
|---|
protected boolean shouldWeCheckRowCounts()
shouldWeCheckRowCounts in class BaseActivation
protected ResultSet createResultSet()
throws StandardException
BaseActivation
createResultSet in class BaseActivationStandardExceptionpublic void postConstructor()
GeneratedByteCode
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||