com.metamatrix.query.processor
Interface ProcessorDataManager

All Known Implementing Classes:
TempTableDataManager

public interface ProcessorDataManager


Method Summary
 void clearCodeTables()
           
 java.lang.Object lookupCodeValue(CommandContext context, java.lang.String codeTableName, java.lang.String returnElementName, java.lang.String keyElementName, java.lang.Object keyValue)
          Lookup a value from a cached code table.
 TupleSource registerRequest(java.lang.Object processorId, Command command, java.lang.String modelName, java.lang.String connectorBindingId, int nodeID)
           
 

Method Detail

registerRequest

TupleSource registerRequest(java.lang.Object processorId,
                            Command command,
                            java.lang.String modelName,
                            java.lang.String connectorBindingId,
                            int nodeID)
                            throws MetaMatrixComponentException,
                                   MetaMatrixProcessingException
Throws:
MetaMatrixComponentException
MetaMatrixProcessingException

lookupCodeValue

java.lang.Object lookupCodeValue(CommandContext context,
                                 java.lang.String codeTableName,
                                 java.lang.String returnElementName,
                                 java.lang.String keyElementName,
                                 java.lang.Object keyValue)
                                 throws BlockedException,
                                        MetaMatrixComponentException,
                                        MetaMatrixProcessingException
Lookup a value from a cached code table. If the code table is not loaded, it will be loaded on the first query. Code tables should be cached based on a combination of the codeTableName, returnElementName, and keyElementName. If the table is not loaded, a request will be made and the method should throw a BlockedException.

Throws:
BlockedException
MetaMatrixComponentException
MetaMatrixProcessingException

clearCodeTables

void clearCodeTables()


Copyright © 2009. All Rights Reserved.