All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.datastax.spark.connector.japi.StreamingContextJavaFunctions Maven / Gradle / Ivy

There is a newer version: 3.0.0-alpha2
Show 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 - 2024 Weber Informatics LLC | Privacy Policy