Skip to content
TensorStore
tensorstore::SpecRequestOptions
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
          • C Context
          • C Transaction
          • C Batch
          • C Schema
          • C Spec
            • Constructors
            • Methods
            • Conversion operators
            • Friend functions
            • Related Types
              • E OpenMode
              • C MinimalSpec
              • C RecheckCacheOption
              • C RecheckCachedData
              • C RecheckCachedMetadata
              • C RecheckCached
              • C SpecOptions
              • C SpecRequestOptions
                • Data members
                  • V context_binding_mode
                • Methods
                  • F Set
              • C SpecRequestOptions
                • Data members
                  • V context_binding_mode
                • Methods
                  • F Set
              • C SpecConvertOptions
              • C OpenOptions
              • C TransactionalOpenOptions
            • Related Functions
          • C TensorStore
        • Indexing
        • Data types
        • Array
        • Key-value storage
        • Downsampling
        • Utilities
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    • Data members
    • Methods
    #include "tensorstore/open_options.h"
    struct tensorstore::SpecRequestOptions : public SpecOptions;

    Options for requesting a Spec from an open TensorStore.

    Data members¶

    ContextBindingMode context_binding_mode =
        ContextBindingMode::unspecified;

    Specifies how bound context resources are handled in the returned Spec.

    Methods¶

    absl::Status Set(MinimalSpec value);
    absl::Status Set(ContextBindingMode value);

    Applies a MinimalSpec or ContextBindingMode option.