org.apache.spark.streaming.api.java
Recreate a JavaSnappyStreamingContext from a checkpoint file using an existing SparkContext.
Recreate a JavaSnappyStreamingContext from a checkpoint file using an existing SparkContext.
Path to the directory that was specified as the checkpoint directory
Existing SparkContext
Recreate a JavaSnappyStreamingContext from a checkpoint file.
Recreate a JavaSnappyStreamingContext from a checkpoint file.
Path to the directory that was specified as the checkpoint directory
Recreate a JavaSnappyStreamingContext from a checkpoint file.
Recreate a JavaSnappyStreamingContext from a checkpoint file.
Path to the directory that was specified as the checkpoint directory
Optional, configuration object if necessary for reading from HDFS compatible filesystems
Create a JavaSnappyStreamingContext by providing the configuration necessary for a new SparkContext.
Create a JavaSnappyStreamingContext by providing the configuration necessary for a new SparkContext.
a org.apache.spark.SparkConf object specifying Spark parameters
the time interval at which streaming data will be divided into batches
Create a JavaSnappyStreamingContext using an existing SparkContext.
Create a JavaSnappyStreamingContext using an existing SparkContext.
existing SparkContext
the time interval at which streaming data will be divided into batches
Create a JavaSnappyStreamingContext using an existing SparkContext.
Create a JavaSnappyStreamingContext using an existing SparkContext.
existing SparkContext
checkpoint directory
the time interval at which streaming data will be divided into batches
Registers and executes given SQL query and returns SchemaDStream to consume the results
Registers and executes given SQL query and returns SchemaDStream to consume the results
Start the execution of the streams.
Start the execution of the streams. Also registers population of AQP tables from stream tables if present.
IllegalStateException
if the JavaSnappyStreamingContext is already stopped