javacall: Call Java Classes and Methods

Description Usage Arguments Details

Description

A low-level interface to Java and Spark. These functions are exported for programmers who want to interact with Spark directly. See https://spark.apache.org/docs/latest/api/java/index.html?org/apache/spark/sql/Dataset.html.

Usage

1
2
3
4
5
6
7
8
9

Arguments

jobj

a valid jobj object

method

character, the method being invoked

...

any other arguments to be passed on

class

character, the class being invoked

Details

The difference between handled calls and other calls is that handled calls capture JVM exceptions more effectivly. They are used in settings where the success of an operation is not assured. Practically speaking, the handled calls are thin wrappers of the non-handled calls.


danzafar/tidyspark documentation built on Sept. 30, 2020, 12:19 p.m.