Class DatastoreQueryResults

public sealed class DatastoreQueryResults

A complete set of query results, fetched and stored in memory. Results are fetched from a LazyDatastoreQuery or AsyncLazyDatastoreQuery until the query-specified limit or end cursor is reached, or no more results are available.

Inheritance

Object > DatastoreQueryResults

Namespace

Google.Cloud.Datastore.V1

Assembly

Google.Cloud.Datastore.V1.dll

Properties

EndCursor

public ByteString EndCursor { get; }

The cursor at the end of the results. This will never be null.

Property Value
TypeDescription
ByteString

Entities

public IReadOnlyList<Entity> Entities { get; }

The entities returned by the query.

Property Value
TypeDescription
IReadOnlyList<Entity>

MoreResults

public QueryResultBatch.Types.MoreResultsType MoreResults { get; }

The condition that caused the query to complete, indicating whether more results are available beyond the query limit or end cursor, or whether the data has been exhausted.

Property Value
TypeDescription
QueryResultBatch.Types.MoreResultsType