Package com.googlecode.objectify.impl
Class QueryEngine
java.lang.Object
com.googlecode.objectify.impl.QueryEngine
Logic for dealing with queries.
- Author:
- Jeff Schnitzer invalid input: '<'[email protected]>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.cloud.datastore.AggregationResult
queryAggregations
(com.google.cloud.datastore.StructuredQuery<?> query, com.google.cloud.datastore.aggregation.Aggregation... aggregations) Run an arbitrary aggregation query.com.google.cloud.datastore.AggregationResult
queryAggregations
(com.google.cloud.datastore.StructuredQuery<?> query, com.google.cloud.datastore.aggregation.AggregationBuilder<?>... aggregations) Run an arbitrary aggregation query.<T> com.google.cloud.datastore.QueryResults
<T> queryHybrid
(com.google.cloud.datastore.KeyQuery query, int chunkSize) Perform a keys-only plus batch gets.<T> com.google.cloud.datastore.QueryResults
<Key<T>> queryKeysOnly
(com.google.cloud.datastore.KeyQuery query) Perform a keys-only query.<T> com.google.cloud.datastore.QueryResults
<T> queryNormal
(com.google.cloud.datastore.EntityQuery query, int chunkSize) A normal, non-hybrid query<T> com.google.cloud.datastore.QueryResults
<T> queryProjection
(com.google.cloud.datastore.ProjectionEntityQuery query) A projection query.
-
Constructor Details
-
QueryEngine
public QueryEngine()
-
-
Method Details
-
queryKeysOnly
public <T> com.google.cloud.datastore.QueryResults<Key<T>> queryKeysOnly(com.google.cloud.datastore.KeyQuery query) Perform a keys-only query. -
queryHybrid
public <T> com.google.cloud.datastore.QueryResults<T> queryHybrid(com.google.cloud.datastore.KeyQuery query, int chunkSize) Perform a keys-only plus batch gets. -
queryNormal
public <T> com.google.cloud.datastore.QueryResults<T> queryNormal(com.google.cloud.datastore.EntityQuery query, int chunkSize) A normal, non-hybrid query -
queryProjection
public <T> com.google.cloud.datastore.QueryResults<T> queryProjection(com.google.cloud.datastore.ProjectionEntityQuery query) A projection query. Bypasses the session entirely. -
queryAggregations
public com.google.cloud.datastore.AggregationResult queryAggregations(com.google.cloud.datastore.StructuredQuery<?> query, com.google.cloud.datastore.aggregation.Aggregation... aggregations) Run an arbitrary aggregation query. -
queryAggregations
public com.google.cloud.datastore.AggregationResult queryAggregations(com.google.cloud.datastore.StructuredQuery<?> query, com.google.cloud.datastore.aggregation.AggregationBuilder<?>... aggregations) Run an arbitrary aggregation query.
-