Package org.apache.pinot.spi.config
Class ConfigUtils
- java.lang.Object
-
- org.apache.pinot.spi.config.ConfigUtils
-
public class ConfigUtils extends Object
-
-
Method Summary
Modifier and Type Method Description static <T extends BaseJsonConfig>
TapplyConfigWithEnvVariables(Map<String,String> environment, T config)Apply environment variables to any given BaseJsonConfig.static <T extends BaseJsonConfig>
TapplyConfigWithEnvVariables(T config)Apply environment variables to any given BaseJsonConfig.
-
-
-
Method Detail
-
applyConfigWithEnvVariables
public static <T extends BaseJsonConfig> T applyConfigWithEnvVariables(T config)
Apply environment variables to any given BaseJsonConfig.- Returns:
- Config with environment variable applied.
-
applyConfigWithEnvVariables
public static <T extends BaseJsonConfig> T applyConfigWithEnvVariables(Map<String,String> environment, T config)
Apply environment variables to any given BaseJsonConfig.- Returns:
- Config with environment variable applied.
-
-