Class QueryResultBatch
A batch of results produced by a query.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Datastore.v1.Data
Assembly: Google.Apis.Datastore.v1.dll
Syntax
public class QueryResultBatch : IDirectResponseSchema
Properties
EndCursor
A cursor that points to the position after the last result in the batch.
Declaration
[JsonProperty("endCursor")]
public virtual string EndCursor { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
EntityResults
The results for this batch.
Declaration
[JsonProperty("entityResults")]
public virtual IList<EntityResult> EntityResults { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<EntityResult> |
EntityResultType
The result type for every entity in entity_results.
Declaration
[JsonProperty("entityResultType")]
public virtual string EntityResultType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
MoreResults
The state of the query after the current batch.
Declaration
[JsonProperty("moreResults")]
public virtual string MoreResults { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
SkippedCursor
A cursor that points to the position after the last skipped result. Will be set when
skipped_results != 0.
Declaration
[JsonProperty("skippedCursor")]
public virtual string SkippedCursor { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
SkippedResults
The number of results skipped, typically because of an offset.
Declaration
[JsonProperty("skippedResults")]
public virtual int? SkippedResults { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
SnapshotVersion
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.
Declaration
[JsonProperty("snapshotVersion")]
public virtual long? SnapshotVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |