Creates a SchemaDStream from an DStream of Product (e.
Creates a SchemaDStream from an DStream of Product (e.g. case classes).
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.
if the StreamingContext is already stopped
(Since version 1.3.0) Use awaitTerminationOrTimeout(Long) instead
(Since version 1.0.0) Use receiverStream
Main entry point for SnappyData extensions to Spark Streaming. A SnappyStreamingContext extends Spark's org.apache.spark.streaming.StreamingContext to provides an ability to manipulate SQL like query on org.apache.spark.streaming.dstream.DStream. You can apply schema and register continuous SQL queries(CQ) over the data streams. A single shared SnappyStreamingContext makes it possible to re-use Executors across client connections or applications.