Structured Streaming¶
Core Classes¶
  | 
Interface used to load a streaming   | 
  | 
Interface used to write a streaming   | 
  | 
This is the Python implementation of Java interface ‘ForeachBatchFunction’.  | 
  | 
A handle to a query that is executing continuously in the background as new data arrives.  | 
  | 
Exception that stopped a   | 
  | 
A class to manage all the   | 
Input and Output¶
  | 
Loads a CSV file stream and returns the result as a   | 
  | 
Specifies the input data source format.  | 
  | 
Loads a JSON file stream and returns the results as a   | 
  | 
Loads a data stream from a data source and returns it as a   | 
  | 
Adds an input option for the underlying data source.  | 
  | 
Adds input options for the underlying data source.  | 
  | 
Loads a ORC file stream, returning the result as a   | 
  | 
Loads a Parquet file stream, returning the result as a   | 
  | 
Specifies the input schema.  | 
  | 
Loads a text file stream and returns a   | 
Sets the output of the streaming query to be processed using the provided writer   | 
|
Sets the output of the streaming query to be processed using the provided function.  | 
|
  | 
Specifies the underlying output data source.  | 
  | 
Adds an output option for the underlying data source.  | 
  | 
Adds output options for the underlying data source.  | 
  | 
Specifies how data of a streaming DataFrame/Dataset is written to a streaming sink.  | 
  | 
Partitions the output by the given columns on the file system.  | 
  | 
Specifies the name of the   | 
  | 
Streams the contents of the   | 
  | 
Set the trigger for the stream query.  | 
Query Management¶
  | 
Waits for the termination of this query, either by   | 
New in version 2.1.0.  | 
|
  | 
Prints the (logical and physical) plans to the console for debugging purpose.  | 
Returns the unique id of this query that persists across restarts from checkpoint data.  | 
|
Whether this streaming query is currently active or not.  | 
|
Returns the most recent   | 
|
Returns the user-specified name of the query, or null if not specified.  | 
|
Blocks until all available data in the source has been processed and committed to the sink.  | 
|
Returns an array of the most recent [[StreamingQueryProgress]] updates for this query.  | 
|
Returns the unique id of this query that does not persist across restarts.  | 
|
Returns the current status of the query.  | 
|
Stop this streaming query.  | 
|
Returns a list of active queries associated with this SQLContext  | 
|
Wait until any of the queries on the associated SQLContext has terminated since the creation of the context, or since   | 
|
Returns an active query from this SQLContext or throws exception if an active query with this name doesn’t exist.  | 
|
Forget about past terminated queries so that   |