org.apache.spark.sql.streaming
Create a ProcessingTime.
Create a ProcessingTime. If interval
is 0, the query will run as fast as possible.
Example:
import scala.concurrent.duration._ df.write.trigger(ProcessingTime(10.seconds))
2.0.0
Create a ProcessingTime.
Create a ProcessingTime. If interval
is 0, the query will run as fast as possible.
Example:
df.write.trigger(ProcessingTime("10 seconds"))
2.0.0
Create a ProcessingTime.
Create a ProcessingTime. If interval
is 0, the query will run as fast as possible.
Example:
import java.util.concurrent.TimeUnit df.write.trigger(ProcessingTime.create(10, TimeUnit.SECONDS))
2.0.0
Create a ProcessingTime.
Create a ProcessingTime. If interval
is 0, the query will run as fast as possible.
Example:
df.write.trigger(ProcessingTime.create("10 seconds"))
2.0.0
:: Experimental :: Used to create ProcessingTime triggers for StreamingQuerys.
2.0.0