public interface QueryResultBatchOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
ByteString |
getEndCursor()
A cursor that points to the position after the last result in the batch.
|
EntityResult |
getEntityResults(int index)
The results for this batch.
|
int |
getEntityResultsCount()
The results for this batch.
|
java.util.List<EntityResult> |
getEntityResultsList()
The results for this batch.
|
EntityResultOrBuilder |
getEntityResultsOrBuilder(int index)
The results for this batch.
|
java.util.List<? extends EntityResultOrBuilder> |
getEntityResultsOrBuilderList()
The results for this batch.
|
EntityResult.ResultType |
getEntityResultType()
The result type for every entity in `entity_results`.
|
int |
getEntityResultTypeValue()
The result type for every entity in `entity_results`.
|
QueryResultBatch.MoreResultsType |
getMoreResults()
The state of the query after the current batch.
|
int |
getMoreResultsValue()
The state of the query after the current batch.
|
ByteString |
getSkippedCursor()
A cursor that points to the position after the last skipped result.
|
int |
getSkippedResults()
The number of results skipped, typically because of an offset.
|
long |
getSnapshotVersion()
The version number of the snapshot this batch was returned from.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
int getSkippedResults()
The number of results skipped, typically because of an offset.
int32 skipped_results = 6;
ByteString getSkippedCursor()
A cursor that points to the position after the last skipped result. Will be set when `skipped_results` != 0.
bytes skipped_cursor = 3;
int getEntityResultTypeValue()
The result type for every entity in `entity_results`.
.google.datastore.v1.EntityResult.ResultType entity_result_type = 1;
EntityResult.ResultType getEntityResultType()
The result type for every entity in `entity_results`.
.google.datastore.v1.EntityResult.ResultType entity_result_type = 1;
java.util.List<EntityResult> getEntityResultsList()
The results for this batch.
repeated .google.datastore.v1.EntityResult entity_results = 2;
EntityResult getEntityResults(int index)
The results for this batch.
repeated .google.datastore.v1.EntityResult entity_results = 2;
int getEntityResultsCount()
The results for this batch.
repeated .google.datastore.v1.EntityResult entity_results = 2;
java.util.List<? extends EntityResultOrBuilder> getEntityResultsOrBuilderList()
The results for this batch.
repeated .google.datastore.v1.EntityResult entity_results = 2;
EntityResultOrBuilder getEntityResultsOrBuilder(int index)
The results for this batch.
repeated .google.datastore.v1.EntityResult entity_results = 2;
ByteString getEndCursor()
A cursor that points to the position after the last result in the batch.
bytes end_cursor = 4;
int getMoreResultsValue()
The state of the query after the current batch.
.google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 5;
QueryResultBatch.MoreResultsType getMoreResults()
The state of the query after the current batch.
.google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 5;
long getSnapshotVersion()
The version number of the snapshot this batch was returned from. This applies to the range of results from the query's `start_cursor` (or the beginning of the query if no cursor was given) to this batch's `end_cursor` (not the query's `end_cursor`). In a single transaction, subsequent query result batches for the same query can have a greater snapshot version number. Each batch's snapshot version is valid for all preceding batches. The value will be zero for eventually consistent queries.
int64 snapshot_version = 7;