Class SparkContextOptions.EmptyListenersList

  • All Implemented Interfaces:
    org.apache.beam.sdk.options.DefaultValueFactory<java.util.List<org.apache.spark.streaming.api.java.JavaStreamingListener>>
    Enclosing interface:
    SparkContextOptions

    public static class SparkContextOptions.EmptyListenersList
    extends java.lang.Object
    implements org.apache.beam.sdk.options.DefaultValueFactory<java.util.List<org.apache.spark.streaming.api.java.JavaStreamingListener>>
    Returns an empty list, to avoid handling null.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<org.apache.spark.streaming.api.java.JavaStreamingListener> create​(org.apache.beam.sdk.options.PipelineOptions options)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EmptyListenersList

        public EmptyListenersList()
    • Method Detail

      • create

        public java.util.List<org.apache.spark.streaming.api.java.JavaStreamingListener> create​(org.apache.beam.sdk.options.PipelineOptions options)
        Specified by:
        create in interface org.apache.beam.sdk.options.DefaultValueFactory<java.util.List<org.apache.spark.streaming.api.java.JavaStreamingListener>>