TensorStore
tensorstore::kvstore::WriteGenerationConditions::if_equal
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
        • Key-value storage
          • CSpec
          • CKvStore
            • Constructors
            • Methods
            • Data members
            • Friend functions
            • Related Types
            • Related Functions
              • FOpen
              • FRead
              • FWrite
                • Related Types
                  • CWriteGenerationConditions
                    • Data members
                      • Vif_equal
                    • Methods
                  • CWriteOptions
              • FDelete
              • FDeleteRange
              • FExperimentalCopyRange
              • FListFuture
          • CByteRange
          • COptionalByteRangeRequest
          • CStorageGeneration
          • CTimestampedStorageGeneration
          • CKeyRange
        • 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::WriteGenerationConditions::if_equal;

    The write is aborted if the existing generation associated with the stored key does not match if_equal.

    • The special value of StorageGeneration::Unknown() (the default) disables this condition.

    • The special value of StorageGeneration::NoValue() specifies a condition that the key does not have an existing value.

    Back to top
    Previous tensorstore::kvstore::WriteGenerationConditions
    Next tensorstore::kvstore::WriteGenerationConditions::Matches