Package de.cxp.ocs.elasticsearch
Class SettingsProxy
java.lang.Object
de.cxp.ocs.elasticsearch.SettingsProxy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet property from the different "layers" in the following order: - system-properties - environment variable (using property-name in uppercase and dots replaced by _) - properties file - default propertiesgetIsDeduplicationEnabled
(String indexName) int
getMaxFetchSize
(String indexName) getSourceFields
(String indexName) isIndexEnabled
(String indexName)
-
Constructor Details
-
SettingsProxy
public SettingsProxy()
-
-
Method Details
-
get
Get property from the different "layers" in the following order: - system-properties - environment variable (using property-name in uppercase and dots replaced by _) - properties file - default properties- Parameters:
propertyName
-- Returns:
-
get
-
getConnectionConfig
-
isIndexEnabled
-
getSourceFields
- Throws:
IOException
-
getIsDeduplicationEnabled
-
getMaxFetchSize
-