pyspark.sql.streaming.
ForeachBatchFunction
This is the Python implementation of Java interface ‘ForeachBatchFunction’. This wraps the user-defined ‘foreachBatch’ function such that it can be called from the JVM when the query is active.
Methods
call(jdf, batch_id)
call