com.datastax.spark.connector.japi.StreamingContextJavaFunctions Maven / Gradle / Ivy
The newest version!
package com.datastax.spark.connector.japi;
import org.apache.spark.streaming.StreamingContext;
/**
* Java API wrapper over {@link org.apache.spark.streaming.StreamingContext} to provide Spark Cassandra Connector
* functionality.
*
* To obtain an instance of this wrapper, use one of the factory methods in {@link
* com.datastax.spark.connector.japi.CassandraJavaUtil} class.
*/
@SuppressWarnings("UnusedDeclaration")
public class StreamingContextJavaFunctions extends SparkContextJavaFunctions {
public final StreamingContext ssc;
StreamingContextJavaFunctions(StreamingContext ssc) {
super(ssc.sparkContext());
this.ssc = ssc;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy