Learn R Programming

SparkR (version 3.1.2)

isActive: isActive

Description

Returns TRUE if this query is actively running.

Usage

isActive(x)

# S4 method for StreamingQuery isActive(x)

Arguments

x

a StreamingQuery.

Value

TRUE if query is actively running, FALSE if stopped.

See Also

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

Examples

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

Run the code above in your browser using DataLab