j_invoke_method: Generic Call Interface

Description Usage Arguments

View source: R/spark_invoke.R

Description

Call a Java method and retrieve the return value through a JVM object reference.

Usage

1
j_invoke_method(sc, static, object, method, ...)

Arguments

sc

spark_connection

static

Is this a static method call (including a constructor). If so then the object parameter should be the name of a class (otherwise it should be a spark_jobj instance).

object

Object instance or name of class (for static)

method

Name of method

...

Call parameters


sparklyr documentation built on June 17, 2021, 5:06 p.m.