}
}
Machine machine = m_adapter.getInvocationContext().getMachine();
VirtualMapping mapping = (VirtualMapping)m_query.getPersistenceMapping();
ReadMapping readMapping = mapping.getReadMapping();
assert mapping.getMetaclass() == m_query.getMetaclass();
m_readArgArray = readMapping.getFunctionArgs(m_query, m_fragment);
if (m_bDebug)
{
logQuery(Logger.DEBUG);
}
long lStartTime = getCurrentTime();
Pair readClosePair = (Pair)machine.invoke(readMapping.getFunction(), m_readArgArray);
logDuration(lStartTime, true);
m_resultIterator = getIterator(readClosePair.getHead(), mapping.getMetaclass());
m_closeFunction = (Function)readClosePair.getTail();
}