- All Implemented Interfaces:
- org.apache.spark.sql.sources.RelationProvider
public class EventStreamProvider
extends Object
implements org.apache.spark.sql.sources.RelationProvider
Implements org.apache.spark.sql.sources.RelationProvider
This is called whenever a CREATE_TABLE or INSERT_OVERWRITE Spark query is executed.
At the event of Spark's CREATE_TABLE query, this provider defines an event stream according to the parameters
provided in the options sections of the query.
At the event of Spark's INSERT_OVERWRITE query, this provider creates events from input table and publishes them
into the stream that has been created previously.