Interface DataStoreConfig


@ConfigMapping(prefix="stargate.data-store") public interface DataStoreConfig
Configuration for the data store.

IMPORTANT: Do not inject this class, but rather DataStoreProperties.

  • Method Details

    • ignoreBridge

      @WithDefault("${stargate.multi-tenancy.enabled}") boolean ignoreBridge()
      Returns:
      If the data store config should not be read from the bridge.
    • bridgeFallbackEnabled

      @WithDefault("false") boolean bridgeFallbackEnabled()
      Returns:
      If call(s) to fetch metadata fail, should we just return default settings ( true) or throw an exception (false). Defaults to false.
    • secondaryIndexesEnabled

      @WithDefault("true") boolean secondaryIndexesEnabled()
      Returns:
      If the secondary indexes are enabled, defaults to true.
    • saiEnabled

      @WithDefault("false") boolean saiEnabled()
      Returns:
      If storage attached indexes are enabled, defaults to false.
    • loggedBatchesEnabled

      @WithDefault("true") boolean loggedBatchesEnabled()
      Returns:
      If logged batches are enabled, defaults to true.
    • vectorSearchEnabled

      @WithDefault("true") boolean vectorSearchEnabled()
      Returns:
      If vector search indexes are enabled, defaults to true.