public final class StructuredQuery
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Firestore API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
StructuredQuery() |
Modifier and Type | Method and Description |
---|---|
StructuredQuery |
clone() |
Cursor |
getEndAt()
A end point for the query results.
|
java.util.List<CollectionSelector> |
getFrom()
The collections to query.
|
java.lang.Integer |
getLimit()
The maximum number of results to return.
|
java.lang.Integer |
getOffset()
The number of results to skip.
|
java.util.List<Order> |
getOrderBy()
The order to apply to the query results.
|
Projection |
getSelect()
The projection to return.
|
Cursor |
getStartAt()
A starting point for the query results.
|
Filter |
getWhere()
The filter to apply.
|
StructuredQuery |
set(java.lang.String fieldName,
java.lang.Object value) |
StructuredQuery |
setEndAt(Cursor endAt)
A end point for the query results.
|
StructuredQuery |
setFrom(java.util.List<CollectionSelector> from)
The collections to query.
|
StructuredQuery |
setLimit(java.lang.Integer limit)
The maximum number of results to return.
|
StructuredQuery |
setOffset(java.lang.Integer offset)
The number of results to skip.
|
StructuredQuery |
setOrderBy(java.util.List<Order> orderBy)
The order to apply to the query results.
|
StructuredQuery |
setSelect(Projection select)
The projection to return.
|
StructuredQuery |
setStartAt(Cursor startAt)
A starting point for the query results.
|
StructuredQuery |
setWhere(Filter where)
The filter to apply.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Cursor getEndAt()
null
for nonepublic StructuredQuery setEndAt(Cursor endAt)
endAt
- endAt or null
for nonepublic java.util.List<CollectionSelector> getFrom()
null
for nonepublic StructuredQuery setFrom(java.util.List<CollectionSelector> from)
from
- from or null
for nonepublic java.lang.Integer getLimit()
null
for nonepublic StructuredQuery setLimit(java.lang.Integer limit)
limit
- limit or null
for nonepublic java.lang.Integer getOffset()
null
for nonepublic StructuredQuery setOffset(java.lang.Integer offset)
offset
- offset or null
for nonepublic java.util.List<Order> getOrderBy()
null
for nonepublic StructuredQuery setOrderBy(java.util.List<Order> orderBy)
orderBy
- orderBy or null
for nonepublic Projection getSelect()
null
for nonepublic StructuredQuery setSelect(Projection select)
select
- select or null
for nonepublic Cursor getStartAt()
null
for nonepublic StructuredQuery setStartAt(Cursor startAt)
startAt
- startAt or null
for nonepublic Filter getWhere()
null
for nonepublic StructuredQuery setWhere(Filter where)
where
- where or null
for nonepublic StructuredQuery set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public StructuredQuery clone()
clone
in class com.google.api.client.json.GenericJson