Show / Hide Table of Contents

Class QueryResultBatch

A batch of results produced by a query.

Inheritance
object
QueryResultBatch
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Datastore.v1.Data
Assembly: Google.Apis.Datastore.v1.dll
Syntax
public class QueryResultBatch : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

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
string

EntityResultType

The result type for every entity in entity_results.

Declaration
[JsonProperty("entityResultType")]
public virtual string EntityResultType { get; set; }
Property Value
Type Description
string

EntityResults

The results for this batch.

Declaration
[JsonProperty("entityResults")]
public virtual IList<EntityResult> EntityResults { get; set; }
Property Value
Type Description
IList<EntityResult>

MoreResults

The state of the query after the current batch.

Declaration
[JsonProperty("moreResults")]
public virtual string MoreResults { get; set; }
Property Value
Type Description
string

ReadTime

object representation of ReadTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ReadTimeDateTimeOffset instead.")]
public virtual object ReadTime { get; set; }
Property Value
Type Description
object

ReadTimeDateTimeOffset

DateTimeOffset representation of ReadTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? ReadTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

ReadTimeRaw

Read timestamp 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 timestamp. Each batch's read timestamp is valid for all preceding batches. This value will not be set for eventually consistent queries in Cloud Datastore.

Declaration
[JsonProperty("readTime")]
public virtual string ReadTimeRaw { get; set; }
Property Value
Type Description
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
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
int?

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
long?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX