|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QueryAdminAPI
| Method Summary | |
|---|---|
void |
cancelRequest(RequestID requestID)
Cancel a single query. |
void |
cancelRequest(RequestID requestID,
int nodeID)
Cancel an atomic query for the user session. |
void |
cancelRequests(MetaMatrixSessionID userSessionID)
Cancel all queries for the user session. |
java.util.Collection |
getAllRequests()
Return all queries that are in the system. |
java.util.Collection |
getRequestsForSession(MetaMatrixSessionID userSessionID)
Return all queries that are currently being processed for the user session. |
| Method Detail |
|---|
java.util.Collection getAllRequests()
throws AuthorizationException,
InvalidSessionException,
MetaMatrixComponentException
Request objects.
AuthorizationException - if caller is not authorized to perform this method.
InvalidSessionException - if the callerSessionID is not valid or is expired.
MetaMatrixComponentException - if an error occurs in communicating with a component.
java.util.Collection getRequestsForSession(MetaMatrixSessionID userSessionID)
throws AuthorizationException,
InvalidSessionException,
MetaMatrixComponentException
userSessionID - the primary identifier for the user account.
Request objects.
AuthorizationException - if caller is not authorized to perform this method.
InvalidSessionException - if the callerSessionID is not valid or is expired.
MetaMatrixComponentException - if an error occurs in communicating with a component.
void cancelRequest(RequestID requestID)
throws AuthorizationException,
InvalidSessionException,
InvalidRequestIDException,
MetaMatrixComponentException
requestID - the identifier of the query to be cancelled.
AuthorizationException - if caller is not authorized to perform this method.
InvalidSessionException - if the callerSessionID is not valid or is expired.
InvalidRequestIDException - if the Request specified by the ID does not exist.
MetaMatrixComponentException - if an error occurs in communicating with a component.
void cancelRequests(MetaMatrixSessionID userSessionID)
throws AuthorizationException,
InvalidSessionException,
MetaMatrixComponentException
userSessionID - the primary identifier for the user account.
AuthorizationException - if caller is not authorized to perform this method.
InvalidSessionException - if the callerSessionID is not valid or is expired.
MetaMatrixComponentException - if an error occurs in communicating with a component.
void cancelRequest(RequestID requestID,
int nodeID)
throws AuthorizationException,
InvalidSessionException,
InvalidRequestIDException,
MetaMatrixComponentException
callerSessionID - ID of the caller's current session.requestID - the identifier of the query to be cancelled.nodeID - identifies the node in the query to cancel.
AuthorizationException - if caller is not authorized to perform this method.
InvalidSessionException - if the callerSessionID is not valid or is expired.
InvalidRequestIDException - if the Request specified by the ID does not exist.
MetaMatrixComponentException - if an error occurs in communicating with a component.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||