Class PostLoadContext (5.0.3)
Stay organized with collections
Save and categorize content based on your preferences.
public final class PostLoadContext extends BaseCallbackContext<Entity>
Concrete CallbackContext implementation that is specific to intercepted operations that
load Entities, currently get and "query". It is important to note that when a
PostLoadContext is provided to a callback following a get operation, #getElements()
returns all retrieved Entities. However, when a PostLoadContext is provided to a callback
following a query, a separate PostLoadContext will be constructed for each Entity in the result
set so #getElements() will only return a List containing a single Entity. This is
due to the streaming nature of query responses.
Inheritance
java.lang.Object >
com.google.appengine.api.datastore.BaseCallbackContext >
PostLoadContext
Inherited Members
com.google.appengine.api.datastore.BaseCallbackContext.getCurrentElement()
com.google.appengine.api.datastore.BaseCallbackContext.getCurrentIndex()
com.google.appengine.api.datastore.BaseCallbackContext.getCurrentTransaction()
com.google.appengine.api.datastore.BaseCallbackContext.getElements()
com.google.appengine.api.datastore.BaseCallbackContext.toString()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-03 UTC.
[null,null,["Last updated 2026-06-03 UTC."],[],[]]