Column-class {SparkR}R Documentation

S4 class that represents a SparkDataFrame column

Description

The column class supports unary, binary operations on SparkDataFrame columns

Returns a Column based on the given column name.

Usage

## S4 method for signature 'jobj'
column(x)

## S4 method for signature 'character'
column(x)

column(x)

Arguments

x

Character column name.

Slots

jc

reference to JVM SparkDataFrame column

Note

Column since 1.4.0

column since 1.6.0

See Also

Other normal_funcs: abs, abs,Column-method; bitwiseNOT, bitwiseNOT, bitwiseNOT,Column-method; coalesce, coalesce, coalesce, coalesce,Column-method, coalesce,SparkDataFrame-method; expr, expr, expr,character-method; greatest, greatest, greatest,Column-method; ifelse, ifelse,Column-method; is.nan, is.nan,Column-method, isnan, isnan, isnan,Column-method; least, least, least,Column-method; lit, lit, lit,ANY-method; nanvl, nanvl, nanvl,Column-method; negate, negate, negate,Column-method; randn, randn, randn, randn,missing-method, randn,numeric-method; rand, rand, rand, rand,missing-method, rand,numeric-method; struct, struct, struct,characterOrColumn-method; when, when, when,Column-method

Examples

## Not run: column("name")

[Package SparkR version 2.1.1 Index]