net.sf.farrago.session
Interface FarragoSessionExecutingStmtInfo

All Known Implementing Classes:
FarragoDbSessionExecutingStmtInfo

public interface FarragoSessionExecutingStmtInfo

FarragoSessionExecuctingStmtInfo contains information about executing statements.


Method Summary
 long getId()
          Returns the unique identifier for this executing statement.
 List<String> getObjectsInUse()
          Returns an array of catalog object mofIds in use by this statement.
 List<Object> getParameters()
          Returns any dynamic parameters used to execute this statement.
 String getSql()
          Returns the SQL statement being executed.
 long getStartTime()
          Returns time the statement began executing, in ms.
 FarragoSessionStmtContext getStmtContext()
           
 

Method Detail

getStmtContext

FarragoSessionStmtContext getStmtContext()
Returns:
the executing statement itself, as a FarragoSessionStmtContext

getId

long getId()
Returns the unique identifier for this executing statement.

Returns:
Unique statement ID

getSql

String getSql()
Returns the SQL statement being executed.

Returns:
SQL statement

getParameters

List<Object> getParameters()
Returns any dynamic parameters used to execute this statement.

Returns:
List of dynamic parameters to the statement

getStartTime

long getStartTime()
Returns time the statement began executing, in ms.

Returns:
Start time in ms

getObjectsInUse

List<String> getObjectsInUse()
Returns an array of catalog object mofIds in use by this statement.

Returns:
List of catalog object mofIds