|
||||||||||
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 | |
---|---|
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)
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
ProcessorDataManager
lookupCodeValue
in interface ProcessorDataManager
BlockedException
MetaMatrixComponentException
MetaMatrixProcessingException
public void clearCodeTables()
clearCodeTables
in interface ProcessorDataManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |