public static class SparkContextOptions.EmptyListenersList extends java.lang.Object implements DefaultValueFactory<java.util.List<org.apache.spark.streaming.api.java.JavaStreamingListener>>
Constructor and Description |
---|
EmptyListenersList() |
Modifier and Type | Method and Description |
---|---|
java.util.List<org.apache.spark.streaming.api.java.JavaStreamingListener> |
create(PipelineOptions options)
Creates a default value for a getter marked with
Default.InstanceFactory . |
public java.util.List<org.apache.spark.streaming.api.java.JavaStreamingListener> create(PipelineOptions options)
DefaultValueFactory
Default.InstanceFactory
.create
in interface DefaultValueFactory<java.util.List<org.apache.spark.streaming.api.java.JavaStreamingListener>>
options
- The current pipeline options.