TensorStore
tensorstore::KeyRange::CompareKeyAndExclusiveMax
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
        • Key-value storage
          • CSpec
          • CKvStore
          • CByteRange
          • COptionalByteRangeRequest
          • CStorageGeneration
          • CTimestampedStorageGeneration
          • CKeyRange
            • Constructors
            • Methods
              • FEmptyRange
              • FPrefix
              • FAddPrefix
              • FRemovePrefix
              • FRemovePrefixLength
              • FSuccessor
              • FSingleton
              • FPrefixExclusiveMax
              • FCompareKeyAndExclusiveMax
              • FCompareExclusiveMax
              • Fempty
              • Ffull
              • Fis_singleton
              • Fis_non_empty_prefix
            • Friend functions
            • Data members
            • Related Functions
        • Downsampling
        • Utilities
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    #include "tensorstore/kvstore/key_range.h"
    static std::weak_ordering
    tensorstore::KeyRange::CompareKeyAndExclusiveMax(
        
    std::string_view key,
        
    std::string_view bound);
    static std::weak_ordering
    tensorstore::KeyRange::CompareExclusiveMaxAndKey(
        
    std::string_view bound,
        
    std::string_view key);

    Returns the three-way comparison result between a key and an exclusive max bound.

    Back to top
    Previous tensorstore::KeyRange::PrefixExclusiveMax
    Next tensorstore::KeyRange::CompareExclusiveMax