An ordered collection of offsets, used to track the progress of processing data from one or more Sources that are present in a streaming query.
A sink that writes out results to parquet files.
A special log for FileStreamSink.
Writes data given to a FileStreamSink to the given basePath
in the given fileFormat
,
partitioned by the given partitionColumnNames
.
A very simple source that reads text files from the given directory as they appear.
A Sink that forwards all data into ForeachWriter according to the contract defined by ForeachWriter.
A MetadataLog implementation based on HDFS.
A variant of QueryExecution that allows the execution of the given LogicalPlan plan incrementally.
A simple offset for sources that produce a single linear stream of data.
Used to query the data that has been written into a MemorySink.
A sink that stores the results in memory.
A Source that produces value stored in memory as they are added by the user.
A general MetadataLog that supports the following features:
A FileCatalog that generates the list of files to processing by reading them from the metadata log files generated by the FileStreamSink.
An offset is a monotonically increasing metric used to track progress in the computation of a stream.
Used to identify the state store for a given operator.
A trigger executor that runs a batch every intervalMs
milliseconds.
An interface for systems that can collect the results of a streaming query.
The status of a file outputted by FileStreamSink.
A source of continually arriving data for a streaming query.
For each input tuple, the key is calculated and the value from the StateStore is added to the stream (in addition to the input tuple) if present.
For each input tuple, the key is calculated and the tuple is put
into the StateStore.
An operator that saves or restores state from the StateStore.
Manages the execution of a streaming Spark SQL query that is occurring in a separate thread.
A helper class that looks like a Map[Source, Offset].
Used to link a streaming Source of data into a org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.
A bus to forward events to StreamingQueryListeners.
Used to link a streaming DataSource into a org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.
A dummy physical plan for StreamingRelation to support org.apache.spark.sql.Dataset.explain
A source that reads text lines through a TCP socket, designed only for tutorials and debugging.