Java 8 has reached end of support
and will be
deprecated
on January 31, 2026. After deprecation, you won't be able to deploy Java 8
applications, even if your organization previously used an organization policy to
re-enable deployments of legacy runtimes. Your existing Java
8 applications will continue to run and receive traffic after their
deprecation date. We recommend that
you
migrate to the latest supported version of Java.
AdminDatastoreService.QueryBuilder (Google App Engine API for Java)
Stay organized with collections
Save and categorize content based on your preferences.
- java.lang.Object
-
- com.google.appengine.api.datastore.AdminDatastoreService.QueryBuilder
-
- Enclosing class:
- AdminDatastoreService
public static final class AdminDatastoreService.QueryBuilder
extends java.lang.Object
A
Query
builder that pins it to the AdminUtils
appId
and
namespace
.
-
-
Method Summary
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getKind
public java.lang.String getKind()
-
build
public Query build()
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 2025-06-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-16 UTC."],[[["\u003cp\u003e\u003ccode\u003eAdminDatastoreService.QueryBuilder\u003c/code\u003e is a class that extends \u003ccode\u003ejava.lang.Object\u003c/code\u003e and is used to build \u003ccode\u003eQuery\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eIt is designed to pin queries to a specific AdminUtils \u003ccode\u003eappId\u003c/code\u003e and \u003ccode\u003enamespace\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides methods such as \u003ccode\u003esetKind\u003c/code\u003e and \u003ccode\u003egetKind\u003c/code\u003e for setting and retrieving the kind of query being constructed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ebuild\u003c/code\u003e method is used to finalize the construction and return the resultant \u003ccode\u003eQuery\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# AdminDatastoreService.QueryBuilder (Google App Engine API for Java)\n\ncom.google.appengine.api.datastore\n\nClass AdminDatastoreService.QueryBuilder\n----------------------------------------\n\n- java.lang.Object\n-\n - com.google.appengine.api.datastore.AdminDatastoreService.QueryBuilder\n\n-\n\n Enclosing class:\n : [AdminDatastoreService](../../../../../com/google/appengine/api/datastore/AdminDatastoreService.html \"class in com.google.appengine.api.datastore\")\n\n *** ** * ** ***\n\n \u003cbr /\u003e\n\n ```\n public static final class AdminDatastoreService.QueryBuilder\n extends java.lang.Object\n ``` \nA [`Query`](../../../../../com/google/appengine/api/datastore/Query.html \"class in com.google.appengine.api.datastore\") builder that pins it to the AdminUtils `appId` and `namespace`. \n-\n -\n\n ### Method Summary\n\n -\n\n ### Methods inherited from class java.lang.Object\n\n`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait` \n-\n -\n\n ### Method Detail\n\n\n -\n\n #### setKind\n\n ```\n public AdminDatastoreService.QueryBuilder setKind(java.lang.String kind)\n ```\n\n\n -\n\n #### getKind\n\n ```\n public java.lang.String getKind()\n ```\n\n\n -\n\n #### build\n\n ```\n public Query build()\n ```"]]