Package com.orientechnologies.orient.core.fetch

Examples of com.orientechnologies.orient.core.fetch.OFetchContext


   public abstract boolean isEmpty();

   protected void fetchRecord(final Object iRecord, final OFetchListener iFetchListener) {
     if (fetchPlan != null && iRecord instanceof ORecord) {
       final ORecord record = (ORecord) iRecord;
       final OFetchContext context = new ORemoteFetchContext();
       OFetchHelper.fetch(record, record, fetchPlan, iFetchListener, context, "");
     }
   }
View Full Code Here


                 @Override
                 protected void sendRecord(ORecord iLinked) {
                   recordsToSend.add(iLinked);
                 }
               };
               final OFetchContext context = new ORemoteFetchContext();
               OFetchHelper.fetch(doc, doc, fetchPlan, listener, context, "");

               // SEND RECORDS TO LOAD IN CLIENT CACHE
               for (ORecord d : recordsToSend) {
                 if (d.getIdentity().isValid()) {
View Full Code Here

      }

    }

    final OFetchListener listener = new OObjectFetchListener();
    final OFetchContext context = new OObjectFetchContext(iFetchPlan, iLazyLoading, iEntityManager, iObj2RecHandler);
    // BIND LINKS FOLLOWING THE FETCHING PLAN
    OFetchHelper.fetch(iRecord, iPojo, OFetchHelper.buildFetchPlan(iFetchPlan), listener, context, "");

    // CALL AFTER UNMARSHALLING
    invokeCallback(iPojo, iRecord, OAfterDeserialization.class);
View Full Code Here

TOP

Related Classes of com.orientechnologies.orient.core.fetch.OFetchContext

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.