org.apache.spark.sql.execution.streaming
All batches from lastCommittedOffset + 1
to currentOffset
, inclusive.
All batches from lastCommittedOffset + 1
to currentOffset
, inclusive.
Stored in a ListBuffer to facilitate removing committed batches.
Informs the source that Spark has completed processing all data for offsets less than or
equal to end
and will only request offsets greater than end
in the future.
Informs the source that Spark has completed processing all data for offsets less than or
equal to end
and will only request offsets greater than end
in the future.
Returns the data that is between the offsets (start
, end
].
Returns the data that is between the offsets (start
, end
].
Returns the maximum available offset for this source.
Returns the maximum available offset for this source.
Returns None
if this source has never received any data.
Returns the schema of the data from this source
Returns the schema of the data from this source
Stop this source.
Stop this source.
A source that reads text lines through a TCP socket, designed only for tutorials and debugging. This source will *not* work in production applications due to multiple reasons, including no support for fault recovery and keeping all of the text read in memory forever.