Package com.sap.cds
Interface DataStoreConfiguration
public interface DataStoreConfiguration
Provides runtime configuration parameters for
CdsDataStore
implementations. The string constants in this class are configuration keys
consumed by implementations of this interface.-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetProperty
(String key) Get the property value for a given key.default boolean
getProperty
(String key, boolean defaultValue) Get the property value for a given key.default int
getProperty
(String key, int defaultValue) Get the property value for a given key.default String
getProperty
(String key, String defaultValue) Get the property value for a given key.
-
Field Details
-
DOCSTORE_INTEGRATION_ENABLED
- See Also:
-
IGNORE_LOCALE_ON_HANA
- See Also:
-
SUPPORTED_LOCALES
- See Also:
-
IGNORE_VIRTUAL_ELEMENTS
- See Also:
-
USE_LOCALIZED_VIEW_SEARCH_RESOLVER
- See Also:
-
SELECT_STAR
- See Also:
-
SELECT_STAR_COLUMNS
- See Also:
-
UNIVERSAL_CSN
- See Also:
-
LOG_CQN_VALUES
- See Also:
-
MAX_BATCH_SIZE
- See Also:
-
MAX_BATCH_SIZE_DEFAULT
static final int MAX_BATCH_SIZE_DEFAULT- See Also:
-
-
Method Details
-
getProperty
Get the property value for a given key.- Parameters:
key
- the key of the configuration property- Returns:
- the value for the provided key or null
-
getProperty
Get the property value for a given key. If no value is present for the key it returns the provided default value.- Parameters:
key
- the key of the configuration propertydefaultValue
- the default value if no value is present for the provided key- Returns:
- either the value for the provided key or the default value
-
getProperty
Get the property value for a given key. If no value is present for the key it returns the provided default value.- Parameters:
key
- the key of the configuration propertydefaultValue
- the default value if no value is present for the provided key- Returns:
- either the value for the provided key or the default value
-
getProperty
Get the property value for a given key. If no value is present for the key it returns the provided default value.- Parameters:
key
- the key of the configuration propertydefaultValue
- the default value if no value is present for the provided key- Returns:
- either the value for the provided key or the default value
-