com.googlecode.objectify.impl.translate.LoadContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of objectify Show documentation
Show all versions of objectify Show documentation
The simplest convenient interface to the Google App Engine datastore
package com.googlecode.objectify.impl.translate;
import com.googlecode.objectify.Key;
import com.googlecode.objectify.Ref;
import com.googlecode.objectify.impl.LoadConditions;
import com.googlecode.objectify.impl.LoadEngine;
import com.googlecode.objectify.impl.Path;
import com.googlecode.objectify.repackaged.gentyref.GenericTypeReflector;
import java.lang.reflect.Type;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Deque;
import java.util.Iterator;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* The context of a load operation, which may extend across several entities (for example, a batch).
*/
public class LoadContext
{
/** */
private static final Logger log = Logger.getLogger(LoadContext.class.getName());
/** */
LoadEngine engine;
/** Lazily created, but executed at the end of done() */
List deferred;
/** The key of the current root entity; will change as multiple entities are loaded */
Key> currentRoot;
/** As we enter and exit embedded contexts, track the objects */
Deque
© 2015 - 2024 Weber Informatics LLC | Privacy Policy