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 StringgetCommand()Get the SQL Command sent to the Server for a RequestlonggetExecutionId()Get the ExecutionId for a RequestIntegergetNodeId()StringgetSessionId()Get the SessionID for a RequestlonggetStartTime()Get when the processing began for this RequestRequest.ProcessingStategetState()Request.ThreadStategetThreadState()StringgetTransactionId()Get the TransactionID of the RequestbooleanisSourceRequest()
-
-
-
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
-
-