Uses of Class
com.google.appengine.api.datastore.Query
Packages that use Query
Package
Description
-
Uses of Query in com.google.appengine.api.datastore
Methods in com.google.appengine.api.datastore that return QueryModifier and TypeMethodDescriptionQuery.addFilter
(String propertyName, Query.FilterOperator operator, Object value) Deprecated.Query.addProjection
(Projection projection) Adds a projection for this query.Specify how the query results should be sorted.Query.addSort
(String propertyName, Query.SortDirection direction) Specify how the query results should be sorted.AdminDatastoreService.QueryBuilder.build()
Query.clearKeysOnly()
Clears the keys only flag.Query.reverse()
Creates a query sorted in the exact opposite direction as the current one.Query.setAncestor
(Key ancestor) Sets an ancestor for this query.Query.setDistinct
(boolean distinct) Sets whether to return only results with distinct values of the properties being projected.Query.setFilter
(@Nullable Query.Filter filter) Sets the filter to use for this query.Query.setKeysOnly()
Makes this query fetch and return only keys, not full entities.Methods in com.google.appengine.api.datastore with parameters of type QueryModifier and TypeMethodDescriptionAdminDatastoreService.compositeIndexesForQuery
(Query query) AdminDatastoreService.compositeIndexForQuery
(Query query) AdminDatastoreService.minimumCompositeIndexesForQuery
(Query query, Collection<Index> indexes) AdminDatastoreService.minimumCompositeIndexForQuery
(Query query, Collection<Index> indexes) AdminDatastoreService.prepare
(Transaction txn, Query query) Prepares a query for execution.BaseDatastoreService.prepare
(Transaction txn, Query query) Exhibits the same behavior asBaseDatastoreService.prepare(Query)
, but executes within the provided transaction.
setFilter(Filter)