com.metamatrix.server.query.service
Interface QueryServiceInterface

All Superinterfaces:
CacheAdmin, ServiceInterface
All Known Implementing Classes:
QueryService

public interface QueryServiceInterface
extends ServiceInterface, CacheAdmin


Field Summary
static java.lang.String SERVICE_NAME
           
 
Fields inherited from interface com.metamatrix.platform.service.api.ServiceInterface
WAIT_TO_DIE_TIME
 
Fields inherited from interface com.metamatrix.platform.service.api.CacheAdmin
CODE_TABLE_CACHE, CONNECTOR_RESULT_SET_CACHE, PREPARED_PLAN_CACHE, QUERY_SERVICE_RESULT_SET_CACHE
 
Method Summary
 void cancelQueries(SessionToken sessionToken, boolean shouldRollback)
           
 void cancelQuery(RequestID requestID, boolean shouldRollback)
           
 void cancelQuery(RequestID requestID, int nodeID)
           
 void clearCache(SessionToken sessionToken)
           
 java.util.Collection getAllQueries()
           
 java.util.Collection getQueriesForSession(SessionToken userToken)
           
 
Methods inherited from interface com.metamatrix.platform.service.api.ServiceInterface
checkState, die, dieNow, getCurrentState, getHostname, getID, getInitException, getProcessName, getProperties, getQueueStatistics, getQueueStatistics, getServiceType, getStartTime, getStateChangeTime, init, isAlive, setInitException, updateState
 
Methods inherited from interface com.metamatrix.platform.service.api.CacheAdmin
clearCache, getCaches
 

Field Detail

SERVICE_NAME

static final java.lang.String SERVICE_NAME
See Also:
Constant Field Values
Method Detail

clearCache

void clearCache(SessionToken sessionToken)
                throws ComponentNotFoundException
Throws:
ComponentNotFoundException

getAllQueries

java.util.Collection getAllQueries()

getQueriesForSession

java.util.Collection getQueriesForSession(SessionToken userToken)

cancelQueries

void cancelQueries(SessionToken sessionToken,
                   boolean shouldRollback)
                   throws InvalidRequestIDException,
                          MetaMatrixComponentException
Throws:
InvalidRequestIDException
MetaMatrixComponentException

cancelQuery

void cancelQuery(RequestID requestID,
                 boolean shouldRollback)
                 throws InvalidRequestIDException,
                        MetaMatrixComponentException
Throws:
InvalidRequestIDException
MetaMatrixComponentException

cancelQuery

void cancelQuery(RequestID requestID,
                 int nodeID)
                 throws InvalidRequestIDException,
                        MetaMatrixComponentException
Throws:
InvalidRequestIDException
MetaMatrixComponentException


Copyright © 2009. All Rights Reserved.