org.teiid.query.processor
Interface ProcessorDataManager

All Known Implementing Classes:
DataTierManagerImpl, TempTableDataManager

public interface ProcessorDataManager


Method Summary
 EventDistributor getEventDistributor()
           
 MetadataRepository getMetadataRepository()
           
 Object lookupCodeValue(CommandContext context, String codeTableName, String returnElementName, String keyElementName, Object keyValue)
          Lookup a value from a cached code table.
 TupleSource registerRequest(CommandContext context, Command command, String modelName, String connectorBindingId, int nodeID, int limit)
           
 

Method Detail

registerRequest

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

lookupCodeValue

Object lookupCodeValue(CommandContext context,
                       String codeTableName,
                       String returnElementName,
                       String keyElementName,
                       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

getEventDistributor

EventDistributor getEventDistributor()

getMetadataRepository

MetadataRepository getMetadataRepository()


Copyright © 2011. All Rights Reserved.