|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.farrago.db.FarragoDbSessionExecutingStmtInfo
public class FarragoDbSessionExecutingStmtInfo
Implements the FarragoSessionExecutingStmtInfo
interface in the
context of a FarragoDbStmtContext
.
Field Summary | |
---|---|
private FarragoDatabase |
database
|
private long |
id
|
private List<String> |
objectsInUse
|
private List<Object> |
parameters
|
private String |
sql
|
private long |
startTime
|
private FarragoSessionStmtContext |
stmt
|
Constructor Summary | |
---|---|
FarragoDbSessionExecutingStmtInfo(FarragoSessionStmtContext stmt,
FarragoDatabase database,
String sql,
List<Object> parameters,
List<String> objectsInUse)
|
Method Summary | |
---|---|
(package private) FarragoDatabase |
getDatabase()
|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private long id
private FarragoSessionStmtContext stmt
private FarragoDatabase database
private String sql
private long startTime
private List<Object> parameters
private List<String> objectsInUse
Constructor Detail |
---|
FarragoDbSessionExecutingStmtInfo(FarragoSessionStmtContext stmt, FarragoDatabase database, String sql, List<Object> parameters, List<String> objectsInUse)
Method Detail |
---|
public FarragoSessionStmtContext getStmtContext()
getStmtContext
in interface FarragoSessionExecutingStmtInfo
FarragoDatabase getDatabase()
public long getId()
FarragoSessionExecutingStmtInfo
getId
in interface FarragoSessionExecutingStmtInfo
public String getSql()
FarragoSessionExecutingStmtInfo
getSql
in interface FarragoSessionExecutingStmtInfo
public List<Object> getParameters()
FarragoSessionExecutingStmtInfo
getParameters
in interface FarragoSessionExecutingStmtInfo
public long getStartTime()
FarragoSessionExecutingStmtInfo
getStartTime
in interface FarragoSessionExecutingStmtInfo
public List<String> getObjectsInUse()
FarragoSessionExecutingStmtInfo
getObjectsInUse
in interface FarragoSessionExecutingStmtInfo
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |