public static final class ProjectionEntityQuery.Builder extends Object
ProjectionEntityQuery builder for queries that return ProjectionEntity
results.| Modifier and Type | Method and Description |
|---|---|
ProjectionEntityQuery.Builder |
addDistinctOn(String property,
String... others)
Adds one or more properties to the existing group by clause.
|
B |
addOrderBy(StructuredQuery.OrderBy orderBy,
StructuredQuery.OrderBy... others)
Adds settings to the existing order by clause.
|
ProjectionEntityQuery.Builder |
addProjection(String projection,
String... others)
Adds one or more projections to the existing projection clause.
|
ProjectionEntityQuery |
build() |
ProjectionEntityQuery.Builder |
clearDistinctOn()
Clears the group by clause.
|
B |
clearOrderBy()
Clears any previously specified order by settings.
|
ProjectionEntityQuery.Builder |
clearProjection()
Clears the projection clause.
|
ProjectionEntityQuery.Builder |
distinctOn(String property,
String... others)
Deprecated.
|
B |
endCursor(Cursor endCursor)
Deprecated.
|
B |
filter(StructuredQuery.Filter filter)
Deprecated.
|
B |
kind(String kind)
Deprecated.
|
B |
limit(Integer limit)
Deprecated.
|
B |
namespace(String namespace)
Deprecated.
|
B |
offset(int offset)
Deprecated.
|
B |
orderBy(StructuredQuery.OrderBy orderBy,
StructuredQuery.OrderBy... others)
Deprecated.
|
ProjectionEntityQuery.Builder |
projection(String projection,
String... others)
Deprecated.
|
ProjectionEntityQuery.Builder |
setDistinctOn(String property,
String... others)
Sets the query's distinct on clause (clearing any previously specified distinct on settings).
|
B |
setEndCursor(Cursor endCursor)
Sets the end cursor for the query.
|
B |
setFilter(StructuredQuery.Filter filter) |
B |
setKind(String kind)
Sets the kind for the query.
|
B |
setLimit(Integer limit)
Sets the limit for the query.
|
B |
setNamespace(String namespace)
Sets the namespace for the query.
|
B |
setOffset(int offset)
Sets the offset for the query.
|
B |
setOrderBy(StructuredQuery.OrderBy orderBy,
StructuredQuery.OrderBy... others)
Sets the query's order by clause (clearing any previously specified order by settings).
|
ProjectionEntityQuery.Builder |
setProjection(String projection,
String... others)
Sets the query's projection clause (clearing any previously specified Projection settings).
|
B |
setStartCursor(Cursor startCursor)
Sets the start cursor for the query.
|
B |
startCursor(Cursor startCursor)
Deprecated.
|
public ProjectionEntityQuery.Builder clearProjection()
@Deprecated public ProjectionEntityQuery.Builder projection(String projection, String... others)
public ProjectionEntityQuery.Builder setProjection(String projection, String... others)
public ProjectionEntityQuery.Builder addProjection(String projection, String... others)
public ProjectionEntityQuery.Builder clearDistinctOn()
@Deprecated public ProjectionEntityQuery.Builder distinctOn(String property, String... others)
public ProjectionEntityQuery.Builder setDistinctOn(String property, String... others)
public ProjectionEntityQuery.Builder addDistinctOn(String property, String... others)
public ProjectionEntityQuery build()
@Deprecated public B namespace(String namespace)
StructuredQuery.Buildernamespace in interface StructuredQuery.Builder<V>public B setNamespace(String namespace)
StructuredQuery.BuildersetNamespace in interface StructuredQuery.Builder<V>@Deprecated public B kind(String kind)
StructuredQuery.Builderkind in interface StructuredQuery.Builder<V>public B setKind(String kind)
StructuredQuery.BuildersetKind in interface StructuredQuery.Builder<V>@Deprecated public B startCursor(Cursor startCursor)
StructuredQuery.BuilderstartCursor in interface StructuredQuery.Builder<V>public B setStartCursor(Cursor startCursor)
StructuredQuery.BuildersetStartCursor in interface StructuredQuery.Builder<V>@Deprecated public B endCursor(Cursor endCursor)
StructuredQuery.BuilderendCursor in interface StructuredQuery.Builder<V>public B setEndCursor(Cursor endCursor)
StructuredQuery.BuildersetEndCursor in interface StructuredQuery.Builder<V>@Deprecated public B offset(int offset)
StructuredQuery.Builderoffset in interface StructuredQuery.Builder<V>public B setOffset(int offset)
StructuredQuery.BuildersetOffset in interface StructuredQuery.Builder<V>@Deprecated public B limit(Integer limit)
StructuredQuery.Builderlimit in interface StructuredQuery.Builder<V>public B setLimit(Integer limit)
StructuredQuery.BuildersetLimit in interface StructuredQuery.Builder<V>@Deprecated public B filter(StructuredQuery.Filter filter)
StructuredQuery.Builderfilter in interface StructuredQuery.Builder<V>public B setFilter(StructuredQuery.Filter filter)
setFilter in interface StructuredQuery.Builder<V>public B clearOrderBy()
StructuredQuery.BuilderclearOrderBy in interface StructuredQuery.Builder<V>@Deprecated public B orderBy(StructuredQuery.OrderBy orderBy, StructuredQuery.OrderBy... others)
StructuredQuery.BuilderorderBy in interface StructuredQuery.Builder<V>public B setOrderBy(StructuredQuery.OrderBy orderBy, StructuredQuery.OrderBy... others)
StructuredQuery.BuildersetOrderBy in interface StructuredQuery.Builder<V>public B addOrderBy(StructuredQuery.OrderBy orderBy, StructuredQuery.OrderBy... others)
StructuredQuery.BuilderaddOrderBy in interface StructuredQuery.Builder<V>Copyright © 2016 Google. All rights reserved.