org.teiid.query.processor
Interface ProcessorDataManager

All Known Implementing Classes:
TempTableDataManager

public interface ProcessorDataManager


Method Summary
 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(CommandContext context, Command command, java.lang.String modelName, java.lang.String connectorBindingId, int nodeID)
           
 

Method Detail

registerRequest

TupleSource registerRequest(CommandContext context,
                            Command command,
                            java.lang.String modelName,
                            java.lang.String connectorBindingId,
                            int nodeID)
                            throws TeiidComponentException,
                                   TeiidProcessingException
Throws:
TeiidComponentException
TeiidProcessingException

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,
                                        TeiidComponentException,
                                        TeiidProcessingException
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
TeiidComponentException
TeiidProcessingException


Copyright © 2010. All Rights Reserved.