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 this StowStore will operate within.
locstow.LocationThe stow.Location object representing the primary storage location for the raw store.
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 collecting and reporting metrics related to data store operations.

Returns

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