Skip to main content

NewStowRawStore

No overview available.

def NewStowRawStore(
baseContainerFQN: DataReference,
loc: stow.Location,
signedURLLoc: stow.Location,
enableDynamicContainerLoading: bool,
metrics: *dataStoreMetrics
) - > *StowStore, error

Initializes and returns a new StowStore instance, configuring it with the provided storage locations and metrics. This function sets up the necessary components for interacting with a stow-based data store.

Parameters

NameTypeDescription
baseContainerFQNDataReferenceThe fully qualified name of the base container that the StowStore will operate within.
locstow.LocationThe stow.Location object representing the primary storage location for the StowStore.
signedURLLocstow.LocationThe stow.Location object used for generating signed URLs, if applicable.
enableDynamicContainerLoadingboolA boolean flag indicating whether dynamic container loading is enabled for this store.
metrics*dataStoreMetricsA pointer to the dataStoreMetrics struct for recording operational metrics related to the store.

Returns

TypeDescription
*StowStore, errorA pointer to the initialized StowStore instance and an error if the base container cannot be loaded.