Learn R Programming

SparkR (version 3.1.2)

queryName: queryName

Description

Returns the user-specified name of the query. This is specified in write.stream(df, queryName = "query"). This name, if set, must be unique across all active queries.

Usage

queryName(x)

# S4 method for StreamingQuery queryName(x)

Arguments

x

a StreamingQuery.

Value

The name of the query, or NULL if not specified.

See Also

write.stream

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

Examples

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

Run the code above in your browser using DataLab