Package nexj.core.meta.persistence.virtual

Examples of nexj.core.meta.persistence.virtual.ReadMapping


         }
      }

      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();
   }
View Full Code Here

TOP

Related Classes of nexj.core.meta.persistence.virtual.ReadMapping

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.