stopQuery {SparkR}R Documentation

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 signature 'StreamingQuery'
stopQuery(x)

Arguments

x

a StreamingQuery.

Note

stopQuery(StreamingQuery) since 2.2.0

experimental

See Also

Other StreamingQuery methods: awaitTermination, awaitTermination, awaitTermination,StreamingQuery-method; explain, explain, explain, explain,SparkDataFrame-method, explain,StreamingQuery-method; isActive, isActive, isActive,StreamingQuery-method; lastProgress, lastProgress, lastProgress,StreamingQuery-method; queryName, queryName, queryName,StreamingQuery-method; status, status, status,StreamingQuery-method

Examples

## Not run:  stopQuery(sq) 

[Package SparkR version 2.2.0 Index]