TensorStore
tensorstore::kvstore::TransactionalReadGenerationConditions::if_not_equal
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
        • Key-value storage
          • C Spec
          • C KvStore
            • Constructors
            • Methods
            • Data members
            • Friend functions
            • Related Types
            • Related Functions
              • F Open
              • F Read
                • Related Types
                  • C ReadGenerationConditions
                  • C ReadOptions
                  • C TransactionalReadGenerationConditions
                    • Data members
                      • V if_not_equal
                    • Methods
              • F Write
              • F Delete
              • F DeleteRange
              • F ExperimentalCopyRange
              • F ListFuture
          • C ByteRange
          • C OptionalByteRangeRequest
          • C StorageGeneration
          • C TimestampedStorageGeneration
          • C KeyRange
        • Downsampling
        • Utilities
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    #include "tensorstore/kvstore/operations.h"
    StorageGeneration tensorstore::kvstore::
        
    TransactionalReadGenerationConditions::
    if_not_equal;

    The read is aborted if the generation associated with the stored key matches if_not_equal. The special values of StorageGeneration::Unknown() (the default) or StorageGeneration::NoValue() disable this condition.