sink = (LeftTupleSink)node;
}
Queue<TupleEntry> queue = null;
if (NodeTypeEnums.RightInputAdaterNode == sink.getType()) {
RightInputAdapterNode rian = (RightInputAdapterNode) sink;
RiaNodeMemory riaMem = (RiaNodeMemory) wm.getNodeMemory((MemoryFactory)sink);
RiaPathMemory pmem = riaMem.getRiaPathMemory();
queue = pmem.getTupleQueue();
if ( queue == null ) {
ObjectSink[] nodes = rian.getSinkPropagator().getSinks();
// iterate the first child sink, we only need the first, as all reach the same outer rtn
queue = initAndGetTupleQueue((LeftTupleSource) nodes[0], wm);
}
} else if (NodeTypeEnums.isTerminalNode(sink)) {
PathMemory pmem = (PathMemory) wm.getNodeMemory((MemoryFactory) sink);