Class ReadOption

public abstract class ReadOption implements Serializable

Specifies options for read operations in Datastore, namely getting/fetching entities and running queries.

Inheritance

java.lang.Object > ReadOption

Implements

Serializable

Methods

eventualConsistency()

public static ReadOption.EventualConsistency eventualConsistency()

Returns a ReadOption that specifies eventual consistency, allowing Datastore to return stale results from gets, fetches, and ancestor queries.

Returns
TypeDescription
ReadOption.EventualConsistency