T - type of object in the rddpublic class StreamingSparkSinkFunction<T> extends Object implements org.apache.spark.api.java.function.Function2<org.apache.spark.api.java.JavaRDD<T>,org.apache.spark.streaming.Time,Void>
SparkSink for use with a JavaDStream.| Constructor and Description |
|---|
StreamingSparkSinkFunction(JavaSparkExecutionContext sec,
StageSpec stageSpec) |
| Modifier and Type | Method and Description |
|---|---|
Void |
call(org.apache.spark.api.java.JavaRDD<T> data,
org.apache.spark.streaming.Time batchTime) |
public StreamingSparkSinkFunction(JavaSparkExecutionContext sec, StageSpec stageSpec)
Copyright © 2018 Cask Data, Inc. Licensed under the Apache License, Version 2.0.