Learn R Programming

SparkR (version 2.4.6)

stopQuery: stopQuery

Description

Stops the execution of this query if it is running. This method blocks until the execution is stopped.

Usage

stopQuery(x)

# S4 method for StreamingQuery stopQuery(x)

Arguments

x

a StreamingQuery.

See Also

Other StreamingQuery methods: awaitTermination(), explain(), isActive(), lastProgress(), queryName(), status()

Examples

Run this code
# NOT RUN {
 stopQuery(sq) 
# }

Run the code above in your browser using DataLab