TensorStore
tensorstore::StorageGeneration::IsUnknown
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
        • Key-value storage
          • C Spec
          • C KvStore
          • C ByteRange
          • C OptionalByteRangeRequest
          • C StorageGeneration
            • Data members
            • Conversion operators
            • Methods
              • F DebugString
              • F IsValid
              • F Unknown
              • F NoValue
              • F Invalid
              • F EqualOrUnspecified
              • F NotEqualOrUnspecified
              • F IsUnknown
              • F IsNoValue
              • F IsClean
            • Friend functions
          • 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/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.