TensorStore
tensorstore::StorageGeneration::IsUnknown
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
        • Key-value storage
          • CSpec
          • CKvStore
          • CByteRange
          • COptionalByteRangeRequest
          • CStorageGeneration
            • Data members
            • Conversion operators
            • Methods
              • FDebugString
              • FIsValid
              • FUnknown
              • FNoValue
              • FInvalid
              • FEqualOrUnspecified
              • FNotEqualOrUnspecified
              • FIsUnknown
              • FIsNoValue
              • FIsClean
            • Friend functions
          • CTimestampedStorageGeneration
          • CKeyRange
        • Downsampling
        • Utilities
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    #include "tensorstore/kvstore/generation.h"
    static bool tensorstore::StorageGeneration::IsUnknown(
        
    const StorageGeneration& generation);

    Returns true if generation is equal to the special StorageGeneration::Unknown() value, i.e. an empty string.

    This usually indicates an unspecified generation; in kvstore::ReadGenerationConditions::if_equal and kvstore::ReadGenerationConditions::if_not_equal, it indicates that the condition does not apply.

    Back to top
    Previous tensorstore::StorageGeneration::NotEqualOrUnspecified
    Next tensorstore::StorageGeneration::IsNoValue