public class DeploymentEntry extends Object
All properties of this entry are optional and evaluated lazily.
| Modifier and Type | Field and Description |
|---|---|
static DeploymentEntry |
DEFAULT_INSTANCE |
protected org.apache.flink.table.descriptors.DescriptorProperties |
properties |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
asMap() |
Map<String,String> |
asTopLevelMap() |
static DeploymentEntry |
create(Map<String,Object> config) |
static DeploymentEntry |
enrich(DeploymentEntry deployment,
Map<String,String> prefixedProperties)
Creates a new deployment entry enriched with additional properties that are prefixed with
Environment.DEPLOYMENT_ENTRY. |
boolean |
equals(Object o) |
org.apache.commons.cli.CommandLine |
getCommandLine(org.apache.commons.cli.Options commandLineOptions)
Parses the given command line options from the deployment properties.
|
String |
getGatewayAddress() |
int |
getGatewayPort() |
long |
getResponseTimeout() |
int |
hashCode() |
static DeploymentEntry |
merge(DeploymentEntry deployment1,
DeploymentEntry deployment2)
Merges two deployments entries.
|
String |
toString() |
protected void |
validate(org.apache.flink.table.descriptors.DescriptorProperties properties)
Performs syntactic validation.
|
public static final DeploymentEntry DEFAULT_INSTANCE
protected final org.apache.flink.table.descriptors.DescriptorProperties properties
protected void validate(org.apache.flink.table.descriptors.DescriptorProperties properties)
public long getResponseTimeout()
public String getGatewayAddress()
public int getGatewayPort()
public org.apache.commons.cli.CommandLine getCommandLine(org.apache.commons.cli.Options commandLineOptions)
throws Exception
Exceptionpublic static DeploymentEntry create(Map<String,Object> config)
public static DeploymentEntry merge(DeploymentEntry deployment1, DeploymentEntry deployment2)
public static DeploymentEntry enrich(DeploymentEntry deployment, Map<String,String> prefixedProperties)
Environment.DEPLOYMENT_ENTRY.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.