|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.query.processor.TempTableDataManager
public class TempTableDataManager
This proxy ProcessorDataManager is used during XML query processing to handle temporary groups in the document model. Temp groups are materialized during processing, and their tuple sources are cached, so this proxy shortcuts the need to go to the DataTierManager and immediately returns the tuple source (synchronously) if a temp group's source is what's being requested.
Constructor Summary | |
---|---|
TempTableDataManager(ProcessorDataManager processorDataManager,
TempTableStore tempTableStore)
Constructor takes the "real" ProcessorDataManager that this object will be a proxy to, and will pass most calls through to transparently. |
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(java.lang.Object processorID,
Command command,
java.lang.String modelName,
java.lang.String connectorBindingId,
int nodeID)
This is the magic method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TempTableDataManager(ProcessorDataManager processorDataManager, TempTableStore tempTableStore)
processorDataManager
- the real ProcessorDataManager that this object is a proxy toenv
- a ProcessorEnvironment implementationMethod Detail |
---|
public TupleSource registerRequest(java.lang.Object processorID, Command command, java.lang.String modelName, java.lang.String connectorBindingId, int nodeID) throws MetaMatrixComponentException, MetaMatrixProcessingException
registerRequest
in interface ProcessorDataManager
MetaMatrixProcessingException
MetaMatrixComponentException
com.metamatrix.query.processor.ProcessorDataManager#registerRequest(Object, Command, String, String, TupleSourceID)
public 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
LookupEvaluator
lookupCodeValue
in interface LookupEvaluator
context
- Context for processingcodeTableName
- Name of the code table - must be a physical tablereturnElementName
- Name of the element to be returned in the code tablekeyElementName
- Name of the key element in the code tablekeyValue
- Key value to look up
BlockedException
- If code table must be loaded
MetaMatrixComponentException
- If an unexpected error occurs
MetaMatrixProcessingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |