public class CollectionGroup extends Query
Query.Direction| Modifier and Type | Method and Description |
|---|---|
void |
getPartitions(long desiredPartitionCount,
com.google.api.gax.rpc.ApiStreamObserver<QueryPartition> observer)
Partitions a query by returning partition cursors that can be used to run the query in
parallel.
|
addSnapshotListener, addSnapshotListener, endAt, endAt, endBefore, endBefore, equals, fromProto, get, getFirestore, hashCode, limit, limitToLast, offset, orderBy, orderBy, orderBy, orderBy, select, select, startAfter, startAfter, startAt, startAt, stream, toProto, whereArrayContains, whereArrayContains, whereArrayContainsAny, whereArrayContainsAny, whereEqualTo, whereEqualTo, whereGreaterThan, whereGreaterThan, whereGreaterThanOrEqualTo, whereGreaterThanOrEqualTo, whereIn, whereIn, whereLessThan, whereLessThan, whereLessThanOrEqualTo, whereLessThanOrEqualTo, whereNotEqualTo, whereNotEqualTo, whereNotIn, whereNotInpublic void getPartitions(long desiredPartitionCount,
com.google.api.gax.rpc.ApiStreamObserver<QueryPartition> observer)
desiredPartitionCount - The desired maximum number of partition points. The number must be
strictly positive. The actual number of partitions returned may be fewer.observer - a stream observer that receives the result of the Partition request.Copyright © 2020 Google LLC. All rights reserved.