Package org.teiid.adminapi
Interface RequestBean
-
- All Known Subinterfaces:
Request
- All Known Implementing Classes:
RequestMetadata
public interface RequestBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCommand()
Get the SQL Command sent to the Server for a Requestlong
getExecutionId()
Get the ExecutionId for a RequestInteger
getNodeId()
String
getSessionId()
Get the SessionID for a Requestlong
getStartTime()
Get when the processing began for this RequestRequest.ProcessingState
getState()
Request.ThreadState
getThreadState()
String
getTransactionId()
Get the TransactionID of the Requestboolean
isSourceRequest()
-
-
-
Method Detail
-
getExecutionId
long getExecutionId()
Get the ExecutionId for a Request- Returns:
- ExecutionId
-
getSessionId
String getSessionId()
Get the SessionID for a Request- Returns:
- String SessionID
-
getCommand
String getCommand()
Get the SQL Command sent to the Server for a Request- Returns:
- SQL Command
-
getStartTime
long getStartTime()
Get when the processing began for this Request- Returns:
- Date processing began
-
getTransactionId
String getTransactionId()
Get the TransactionID of the Request- Returns:
- String of TransactionID if in a transaction
-
isSourceRequest
boolean isSourceRequest()
- Returns:
- Returns whether this is a Source Request.
-
getNodeId
Integer getNodeId()
- Returns:
- In the case that this is a source request this represents the node id. Otherwise null
-
getState
Request.ProcessingState getState()
- Returns:
- The request state
-
getThreadState
Request.ThreadState getThreadState()
- Returns:
- The thread state
-
-