java.lang.Object
org.apache.flink.api.common.ExecutionConfig.GlobalJobParameters
org.apache.flink.streaming.examples.wordcount.util.CLI
All Implemented Interfaces:
Serializable

public class CLI extends org.apache.flink.api.common.ExecutionConfig.GlobalJobParameters
A simple CLI parser for the WordCount example application.
See Also:
  • Field Details

  • Method Details

    • fromArgs

      public static CLI fromArgs(String[] args) throws Exception
      Throws:
      Exception
    • getInputs

      public Optional<org.apache.flink.core.fs.Path[]> getInputs()
    • getDiscoveryInterval

      public Optional<Duration> getDiscoveryInterval()
    • getOutput

      public Optional<org.apache.flink.core.fs.Path> getOutput()
    • getExecutionMode

      public org.apache.flink.api.common.RuntimeExecutionMode getExecutionMode()
    • isAsyncState

      public boolean isAsyncState()
    • getInt

      public OptionalInt getInt(String key)
    • toMap

      public Map<String,String> toMap()
      Overrides:
      toMap in class org.apache.flink.api.common.ExecutionConfig.GlobalJobParameters
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class org.apache.flink.api.common.ExecutionConfig.GlobalJobParameters
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class org.apache.flink.api.common.ExecutionConfig.GlobalJobParameters