Interface PythonDataframeWordCount.WordCountOptions

  • All Superinterfaces:
    org.apache.beam.sdk.transforms.display.HasDisplayData, org.apache.beam.sdk.options.PipelineOptions
    Enclosing class:
    PythonDataframeWordCount

    public static interface PythonDataframeWordCount.WordCountOptions
    extends org.apache.beam.sdk.options.PipelineOptions
    Options supported by PythonDataframeWordCount.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.beam.sdk.options.PipelineOptions

        org.apache.beam.sdk.options.PipelineOptions.AtomicLongFactory, org.apache.beam.sdk.options.PipelineOptions.CheckEnabled, org.apache.beam.sdk.options.PipelineOptions.DirectRunner, org.apache.beam.sdk.options.PipelineOptions.JobNameFactory, org.apache.beam.sdk.options.PipelineOptions.UserAgentFactory
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getExpansionService()
      Set this option to specify Python expansion service URL.
      java.lang.String getInputFile()
      By default, this example reads from a public dataset containing the text of King Lear.
      java.lang.String getOutput()
      Set this required option to specify where to write the output.
      void setExpansionService​(java.lang.String value)  
      void setInputFile​(java.lang.String value)  
      void setOutput​(java.lang.String value)  
      • Methods inherited from interface org.apache.beam.sdk.transforms.display.HasDisplayData

        populateDisplayData
      • Methods inherited from interface org.apache.beam.sdk.options.PipelineOptions

        as, getJobName, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, getUserAgent, outputRuntimeOptions, revision, setJobName, setOptionsId, setRunner, setStableUniqueNames, setTempLocation, setUserAgent
    • Method Detail

      • getInputFile

        @String("gs://apache-beam-samples/shakespeare/kinglear.txt")
        java.lang.String getInputFile()
        By default, this example reads from a public dataset containing the text of King Lear. Set this option to choose a different input file or glob.
      • setInputFile

        void setInputFile​(java.lang.String value)
      • getOutput

        @Required
        java.lang.String getOutput()
        Set this required option to specify where to write the output.
      • setOutput

        void setOutput​(java.lang.String value)
      • getExpansionService

        java.lang.String getExpansionService()
        Set this option to specify Python expansion service URL.
      • setExpansionService

        void setExpansionService​(java.lang.String value)