j_invoke_method: Generic Call Interface

View source: R/spark_invoke.R

j_invoke_methodR Documentation

Generic Call Interface

Description

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

Usage

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 Nov. 2, 2023, 5:09 p.m.