#include "tensorstore/kvstore/operations.h"
struct tensorstore::kvstore::ReadOptions;

Read options for non-transactional reads.

See also:

Data members

ReadGenerationConditions generation_conditions;

Specifies conditions for the read.

absl::Time staleness_bound = {absl::InfiniteFuture()};

Cached data may be used without validation if not older than staleness_bound. Cached data older than staleness_bound must be validated before being returned. A value of absl::InfiniteFuture() (the default) indicates that the result must be current as of the time the Read request was made, i.e. it is equivalent to specifying the value of absl::Now() just before invoking Read.

OptionalByteRangeRequest byte_range;

Specifies the byte range.

Batch batch = {no_batch};

Optional batch to use.