Quadcap Embeddable Database

com.quadcap.sql.StatementContext Interface Reference

Inheritance diagram for com.quadcap.sql.StatementContext:

com.quadcap.sql.AggregateExpression.AggregateSessionState com.quadcap.sql.DeletedRows com.quadcap.sql.ExportedKeys com.quadcap.sql.InExpression.InSessionState com.quadcap.sql.UpdateIndex List of all members.

Detailed Description

This interface models some stateful action that is associated with the execution of a statement, but which can't be actually performed until the end of the statement execution.

Author:
Stan Bailes

Definition at line 52 of file StatementContext.java.

Public Member Functions

int priority ()
 At statement end, statement contexts are finished in priority order, lowest number first.

void finish (boolean abort) throws SQLException, IOException
 Called at statement end (not necessarily a transaction end) or if the statement aborts.


Member Function Documentation

void com.quadcap.sql.StatementContext.finish boolean  abort  )  throws SQLException, IOException
 

Called at statement end (not necessarily a transaction end) or if the statement aborts.

Implemented in com.quadcap.sql.AggregateExpression.AggregateSessionState, com.quadcap.sql.DeletedRows, com.quadcap.sql.ExportedKeys, com.quadcap.sql.InExpression.InSessionState, and com.quadcap.sql.UpdateIndex.

Referenced by com.quadcap.sql.Session.finishContexts(), and com.quadcap.sql.Connection.finishContexts().

int com.quadcap.sql.StatementContext.priority  ) 
 

At statement end, statement contexts are finished in priority order, lowest number first.

Implemented in com.quadcap.sql.AggregateExpression.AggregateSessionState, com.quadcap.sql.DeletedRows, com.quadcap.sql.ExportedKeys, com.quadcap.sql.InExpression.InSessionState, and com.quadcap.sql.UpdateIndex.

Referenced by com.quadcap.sql.Session.finishContexts(), and com.quadcap.sql.Connection.finishContexts().