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(AtomicRequestID ari)
           
 void cancelQuery(RequestID requestID, boolean shouldRollback)
           
 void clearCache(SessionToken sessionToken)
           
 java.util.Collection getAllQueries()
           
 java.util.Collection<Transaction> getTransactions()
           
 void terminateTransaction(java.lang.String transactionId, java.lang.String sessionId)
           
 void terminateTransaction(javax.transaction.xa.Xid transactionId)
           
 
Methods inherited from interface com.metamatrix.platform.service.api.ServiceInterface
checkState, die, dieNow, getCurrentState, getHostname, getID, getInitException, getProcessName, getProperties, getQueueStatistics, getQueueStatistics, getServiceData, 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()

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(AtomicRequestID ari)
                 throws InvalidRequestIDException,
                        MetaMatrixComponentException
Throws:
InvalidRequestIDException
MetaMatrixComponentException

getTransactions

java.util.Collection<Transaction> getTransactions()

terminateTransaction

void terminateTransaction(javax.transaction.xa.Xid transactionId)
                          throws AdminException
Throws:
AdminException

terminateTransaction

void terminateTransaction(java.lang.String transactionId,
                          java.lang.String sessionId)
                          throws AdminException
Throws:
AdminException


Copyright © 2009. All Rights Reserved.