Send feedback
Class ProjectionEntityQuery.Builder (2.18.5)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.18.5 keyboard_arrow_down
public static final class ProjectionEntityQuery . Builder extends StructuredQuery . BuilderImpl<ProjectionEntity , ProjectionEntityQuery . Builder >
A ProjectionEntityQuery
builder for queries that return ProjectionEntity
results.
Inheritance
java.lang.Object >
com.google.cloud.datastore.StructuredQuery.BuilderImpl >
ProjectionEntityQuery.Builder
Inherited Members
com.google.cloud.datastore.StructuredQuery.BuilderImpl.addOrderBy(com.google.cloud.datastore.StructuredQuery.OrderBy,com.google.cloud.datastore.StructuredQuery.OrderBy...)
com.google.cloud.datastore.StructuredQuery.BuilderImpl.clearOrderBy()
com.google.cloud.datastore.StructuredQuery.BuilderImpl.setEndCursor(com.google.cloud.datastore.Cursor)
com.google.cloud.datastore.StructuredQuery.BuilderImpl.setFilter(com.google.cloud.datastore.StructuredQuery.Filter)
com.google.cloud.datastore.StructuredQuery.BuilderImpl.setKind(java.lang.String)
com.google.cloud.datastore.StructuredQuery.BuilderImpl.setLimit(java.lang.Integer)
com.google.cloud.datastore.StructuredQuery.BuilderImpl.setNamespace(java.lang.String)
com.google.cloud.datastore.StructuredQuery.BuilderImpl.setOffset(int)
com.google.cloud.datastore.StructuredQuery.BuilderImpl.setOrderBy(com.google.cloud.datastore.StructuredQuery.OrderBy,com.google.cloud.datastore.StructuredQuery.OrderBy...)
com.google.cloud.datastore.StructuredQuery.BuilderImpl.setStartCursor(com.google.cloud.datastore.Cursor)
Methods
addDistinctOn(String property, String[] others)
public ProjectionEntityQuery . Builder addDistinctOn ( String property , String [] others )
Adds one or more properties to the existing group by clause.
addProjection(String projection, String[] others)
public ProjectionEntityQuery . Builder addProjection ( String projection , String [] others )
Adds one or more projections to the existing projection clause.
build()
public ProjectionEntityQuery build ()
clearDistinctOn()
public ProjectionEntityQuery . Builder clearDistinctOn ()
Clears the group by clause.
clearProjection()
public ProjectionEntityQuery . Builder clearProjection ()
Clears the projection clause.
setDistinctOn(String property, String[] others)
public ProjectionEntityQuery . Builder setDistinctOn ( String property , String [] others )
Sets the query's distinct on clause (clearing any previously specified distinct on settings).
setProjection(String projection, String[] others)
public ProjectionEntityQuery . Builder setProjection ( String projection , String [] others )
Sets the query's projection clause (clearing any previously specified Projection settings).
Send feedback
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 2024-11-19 UTC.
Need to tell us more?
[[["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 2024-11-19 UTC."],[],[]]