Package org.apache.spark.streaming.api.java
package org.apache.spark.streaming.api.java
Java APIs for spark streaming.
-
ClassDescriptionJavaDStream<T>A Java-friendly interface to
DStream
, the basic abstraction in Spark Streaming that represents a continuous stream of data.JavaDStreamLike<T,This extends JavaDStreamLike<T, This, R>, R extends JavaRDDLike<T, R>> A Java-friendly interface toInputDStream
.JavaMapWithStateDStream<KeyType,ValueType, StateType, MappedType> DStream representing the stream of data generated bymapWithState
operation on aJavaPairDStream
.JavaPairDStream<K,V> A Java-friendly interface to a DStream of key-value pairs, which provides extra methods likereduceByKey
andjoin
.JavaPairInputDStream<K,V> A Java-friendly interface toInputDStream
of key-value pairs.A Java-friendly interface toReceiverInputDStream
, the abstract class for defining any input stream that receives data over the network.A Java-friendly interface toReceiverInputDStream
, the abstract class for defining any input stream that receives data over the network.Deprecated.This is deprecated as of Spark 3.4.0.Base trait for events related to JavaStreamingListener