-
#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 thanstaleness_bound
must be validated before being returned. A value ofabsl::InfiniteFuture()
(the default) indicates that the result must be current as of the time theRead
request was made, i.e. it is equivalent to specifying the value ofabsl::Now()
just before invokingRead
.
- OptionalByteRangeRequest byte_range;
Specifies the byte range.