Class BaseDataStream (0.4.5)

public class BaseDataStream implements SparkDataStream

Inheritance

java.lang.Object > BaseDataStream

Implements

org.apache.spark.sql.connector.read.streaming.SparkDataStream

Methods

commit(Offset end)

public void commit(Offset end)
Parameter
NameDescription
endorg.apache.spark.sql.connector.read.streaming.Offset

deserializeOffset(String json)

public SparkSourceOffset deserializeOffset(String json)
Parameter
NameDescription
jsonString
Returns
TypeDescription
SparkSourceOffset

initialOffset()

public SparkSourceOffset initialOffset()
Returns
TypeDescription
SparkSourceOffset

stop()

public void stop()