Get the spark_connection associated with an object

Usage

spark_connection(x, ...)

Arguments

x
Object to extract connection from
...
Reserved for future use

Value

A spark_connection object that can be passed to invoke_new and invoke_static.

Description

S3 method to get the spark_connection associated with objects of various types.