Params: (other: Any)
Result: Column
Equality test.
1.3.0
Source: https://spark.apache.org/docs/3.0.1/api/scala/org/apache/spark/sql/Column.html
Timestamp: 2020-10-19T01:56:19.843Z
Params: (other: Any) Result: Column Equality test. 1.3.0 Source: https://spark.apache.org/docs/3.0.1/api/scala/org/apache/spark/sql/Column.html Timestamp: 2020-10-19T01:56:19.843Z
(case expr & clauses)
Returns a new Column imitating Clojure's case
macro behaviour.
Returns a new Column imitating Clojure's `case` macro behaviour.
(cond & clauses)
Returns a new Column imitating Clojure's cond
macro behaviour.
Returns a new Column imitating Clojure's `cond` macro behaviour.
(condp pred expr & clauses)
Returns a new Column imitating Clojure's condp
macro behaviour.
Returns a new Column imitating Clojure's `condp` macro behaviour.
(dec expr)
Returns an expression one less than expr
.
Returns an expression one less than `expr`.
(even? expr)
Returns true if expr
is even, else false.
Returns true if `expr` is even, else false.
(if condition if-expr)
(if condition if-expr else-expr)
Params: (condition: Column, value: Any)
Result: Column
Evaluates a list of conditions and returns one of multiple possible result expressions. If otherwise is not defined at the end, null is returned for unmatched conditions.
1.4.0
Source: https://spark.apache.org/docs/3.0.1/api/scala/org/apache/spark/sql/functions$.html
Timestamp: 2020-10-19T01:56:22.724Z
Params: (condition: Column, value: Any) Result: Column Evaluates a list of conditions and returns one of multiple possible result expressions. If otherwise is not defined at the end, null is returned for unmatched conditions. 1.4.0 Source: https://spark.apache.org/docs/3.0.1/api/scala/org/apache/spark/sql/functions$.html Timestamp: 2020-10-19T01:56:22.724Z
(inc expr)
Returns an expression one greater than expr
.
Returns an expression one greater than `expr`.
(keys expr)
Params: (e: Column)
Result: Column
Returns an unordered array containing the keys of the map.
2.3.0
Source: https://spark.apache.org/docs/3.0.1/api/scala/org/apache/spark/sql/functions$.html
Timestamp: 2020-10-19T01:56:22.472Z
Params: (e: Column) Result: Column Returns an unordered array containing the keys of the map. 2.3.0 Source: https://spark.apache.org/docs/3.0.1/api/scala/org/apache/spark/sql/functions$.html Timestamp: 2020-10-19T01:56:22.472Z
(merge expr & ms)
Variadic version of map-concat
.
Variadic version of `map-concat`.
(merge-with left right merge-fn)
Params: (left: Column, right: Column, f: (Column, Column, Column) ⇒ Column)
Result: Column
Merge two given maps, key-wise into a single map using a function.
the left input map column
the right input map column
(key, value1, value2) => new_value, the lambda function to merge the map values
3.0.0
Source: https://spark.apache.org/docs/3.0.1/api/scala/org/apache/spark/sql/functions$.html
Timestamp: 2020-10-19T01:56:22.474Z
Params: (left: Column, right: Column, f: (Column, Column, Column) ⇒ Column) Result: Column Merge two given maps, key-wise into a single map using a function. the left input map column the right input map column (key, value1, value2) => new_value, the lambda function to merge the map values 3.0.0 Source: https://spark.apache.org/docs/3.0.1/api/scala/org/apache/spark/sql/functions$.html Timestamp: 2020-10-19T01:56:22.474Z
(neg? expr)
Returns true if expr
is less than zero, else false.
Returns true if `expr` is less than zero, else false.
(odd? expr)
Returns true if expr
is odd, else false.
Returns true if `expr` is odd, else false.
(pos? expr)
Returns true if expr
is greater than zero, else false.
Returns true if `expr` is greater than zero, else false.
(rand-nth dataframe)
Returns a random row collected.
Returns a random row collected.
(remove dataframe expr)
Returns a new Dataset that only contains elements where func returns false.
Returns a new Dataset that only contains elements where func returns false.
(rename-keys expr kmap)
Same as transform-keys
with a map arg.
Same as `transform-keys` with a map arg.
(select-keys expr ks)
Returns a map containing only those entries in map (expr
) whose key is in ks
.
Returns a map containing only those entries in map (`expr`) whose key is in `ks`.
(vals expr)
Params: (e: Column)
Result: Column
Returns an unordered array containing the values of the map.
2.3.0
Source: https://spark.apache.org/docs/3.0.1/api/scala/org/apache/spark/sql/functions$.html
Timestamp: 2020-10-19T01:56:22.473Z
Params: (e: Column) Result: Column Returns an unordered array containing the values of the map. 2.3.0 Source: https://spark.apache.org/docs/3.0.1/api/scala/org/apache/spark/sql/functions$.html Timestamp: 2020-10-19T01:56:22.473Z
(zero? expr)
Returns true if expr
is zero, else false.
Returns true if `expr` is zero, else false.
(zipmap key-expr val-expr)
Params: (keys: Column, values: Column)
Result: Column
Creates a new map column. The array in the first column is used for keys. The array in the second column is used for values. All elements in the array for key should not be null.
2.4
Source: https://spark.apache.org/docs/3.0.1/api/scala/org/apache/spark/sql/functions$.html
Timestamp: 2020-10-19T01:56:22.470Z
Params: (keys: Column, values: Column) Result: Column Creates a new map column. The array in the first column is used for keys. The array in the second column is used for values. All elements in the array for key should not be null. 2.4 Source: https://spark.apache.org/docs/3.0.1/api/scala/org/apache/spark/sql/functions$.html Timestamp: 2020-10-19T01:56:22.470Z
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close