T - type of object contained in the streampublic class WrappedStreamingSource<T> extends StreamingSource<T>
Windower that makes sure logging, classloading, and other pipeline capabilities
are setup correctly.PLUGIN_TYPE| Constructor and Description |
|---|
WrappedStreamingSource(StreamingSource<T> source,
Caller caller) |
| Modifier and Type | Method and Description |
|---|---|
void |
configurePipeline(PipelineConfigurer pipelineConfigurer) |
org.apache.spark.streaming.api.java.JavaDStream<T> |
getStream(StreamingContext context) |
getRequiredExecutorspublic WrappedStreamingSource(StreamingSource<T> source, Caller caller)
public void configurePipeline(PipelineConfigurer pipelineConfigurer) throws IllegalArgumentException
configurePipeline in interface PipelineConfigurableconfigurePipeline in class StreamingSource<T>IllegalArgumentExceptionpublic org.apache.spark.streaming.api.java.JavaDStream<T> getStream(StreamingContext context) throws Exception
getStream in class StreamingSource<T>ExceptionCopyright © 2018 Cask Data, Inc. Licensed under the Apache License, Version 2.0.