public class CLI extends ExecutionConfig.GlobalJobParameters
WordCount
example application.Modifier and Type | Field and Description |
---|---|
static String |
DISCOVERY_INTERVAL |
static String |
EXECUTION_MODE |
static String |
INPUT_KEY |
static String |
OUTPUT_KEY |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static CLI |
fromArgs(String[] args) |
Optional<Duration> |
getDiscoveryInterval() |
RuntimeExecutionMode |
getExecutionMode() |
Optional<Path[]> |
getInputs() |
OptionalInt |
getInt(String key) |
Optional<Path> |
getOutput() |
int |
hashCode() |
Map<String,String> |
toMap()
Convert UserConfig into a
Map<String, String> representation. |
public static final String INPUT_KEY
public static final String OUTPUT_KEY
public static final String DISCOVERY_INTERVAL
public static final String EXECUTION_MODE
public RuntimeExecutionMode getExecutionMode()
public OptionalInt getInt(String key)
public Map<String,String> toMap()
ExecutionConfig.GlobalJobParameters
Map<String, String>
representation. This can be used by
the runtime, for example for presenting the user config in the web frontend.toMap
in class ExecutionConfig.GlobalJobParameters
public boolean equals(Object o)
equals
in class ExecutionConfig.GlobalJobParameters
public int hashCode()
hashCode
in class ExecutionConfig.GlobalJobParameters
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.