sql-client.yaml
configuration file.@Deprecated public class Environment extends Object
In future versions, we might restrict the merging or enrichment of deployment properties to not allow overwriting of a deployment by a session.
Modifier and Type | Field and Description |
---|---|
static String |
CONFIGURATION_ENTRY
Deprecated.
|
static String |
DEPLOYMENT_ENTRY
Deprecated.
|
static String |
EXECUTION_ENTRY
Deprecated.
|
Constructor and Description |
---|
Environment()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Environment |
clone()
Deprecated.
|
static Environment |
enrich(Environment env,
Map<String,String> properties)
Deprecated.
Enriches an environment with new/modified properties and returns the new instance.
|
Map<String,CatalogEntry> |
getCatalogs()
Deprecated.
|
ConfigurationEntry |
getConfiguration()
Deprecated.
|
DeploymentEntry |
getDeployment()
Deprecated.
|
ExecutionEntry |
getExecution()
Deprecated.
|
Map<String,FunctionEntry> |
getFunctions()
Deprecated.
|
Map<String,ModuleEntry> |
getModules()
Deprecated.
|
Map<String,TableEntry> |
getTables()
Deprecated.
|
static Environment |
merge(Environment env1,
Environment env2)
Deprecated.
Merges two environments.
|
static Environment |
parse(String content)
Deprecated.
Parses an environment file from an String.
|
static Environment |
parse(URL url)
Deprecated.
Parses an environment file from an URL.
|
void |
setCatalogs(List<Map<String,Object>> catalogs)
Deprecated.
|
void |
setConfiguration(Map<String,Object> config)
Deprecated.
|
void |
setDeployment(Map<String,Object> config)
Deprecated.
|
void |
setExecution(Map<String,Object> config)
Deprecated.
|
void |
setFunctions(List<Map<String,Object>> functions)
Deprecated.
|
void |
setModules(List<Map<String,Object>> modules)
Deprecated.
|
void |
setTables(List<Map<String,Object>> tables)
Deprecated.
|
String |
toString()
Deprecated.
|
public static final String EXECUTION_ENTRY
public static final String CONFIGURATION_ENTRY
public static final String DEPLOYMENT_ENTRY
public Map<String,ModuleEntry> getModules()
public Map<String,CatalogEntry> getCatalogs()
public Map<String,TableEntry> getTables()
public Map<String,FunctionEntry> getFunctions()
public ExecutionEntry getExecution()
public ConfigurationEntry getConfiguration()
public DeploymentEntry getDeployment()
public static Environment parse(URL url) throws IOException
IOException
public static Environment parse(String content) throws IOException
IOException
public static Environment merge(Environment env1, Environment env2)
public Environment clone()
public static Environment enrich(Environment env, Map<String,String> properties)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.