public class StreamingAlertPublishFunction extends Object implements org.apache.spark.api.java.function.Function2<org.apache.spark.api.java.JavaRDD<Alert>,org.apache.spark.streaming.Time,Void>
| Constructor and Description |
|---|
StreamingAlertPublishFunction(JavaSparkExecutionContext sec,
StageSpec stageSpec) |
| Modifier and Type | Method and Description |
|---|---|
Void |
call(org.apache.spark.api.java.JavaRDD<Alert> data,
org.apache.spark.streaming.Time batchTime) |
public StreamingAlertPublishFunction(JavaSparkExecutionContext sec, StageSpec stageSpec)
Copyright © 2018 Cask Data, Inc. Licensed under the Apache License, Version 2.0.