<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Wed Sep 16 10:26:32 PDT 2015 -->
<title>functions</title>
<meta name="date" content="2015-09-16">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="functions";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/spark/sql/ExperimentalMethods.html" title="class in org.apache.spark.sql"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/spark/sql/GroupedData.html" title="class in org.apache.spark.sql"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/spark/sql/functions.html" target="_top">Frames</a></li>
<li><a href="functions.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li>Field | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.spark.sql</div>
<h2 title="Class functions" class="title">Class functions</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.apache.spark.sql.functions</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">functions</span>
extends java.lang.Object</pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#functions()">functions</a></strong>()</code> </td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#abs(org.apache.spark.sql.Column)">abs</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Computes the absolute value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#acos(org.apache.spark.sql.Column)">acos</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Computes the cosine inverse of the given value; the returned angle is in the range
0.0 through pi.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#acos(java.lang.String)">acos</a></strong>(java.lang.String columnName)</code>
<div class="block">Computes the cosine inverse of the given column; the returned angle is in the range
0.0 through pi.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#add_months(org.apache.spark.sql.Column, int)">add_months</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> startDate,
int numMonths)</code>
<div class="block">Returns the date that is numMonths after startDate.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#approxCountDistinct(org.apache.spark.sql.Column)">approxCountDistinct</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Aggregate function: returns the approximate number of distinct items in a group.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#approxCountDistinct(org.apache.spark.sql.Column, double)">approxCountDistinct</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
double rsd)</code>
<div class="block">Aggregate function: returns the approximate number of distinct items in a group.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#approxCountDistinct(java.lang.String)">approxCountDistinct</a></strong>(java.lang.String columnName)</code>
<div class="block">Aggregate function: returns the approximate number of distinct items in a group.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#approxCountDistinct(java.lang.String, double)">approxCountDistinct</a></strong>(java.lang.String columnName,
double rsd)</code>
<div class="block">Aggregate function: returns the approximate number of distinct items in a group.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#array_contains(org.apache.spark.sql.Column, java.lang.Object)">array_contains</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> column,
java.lang.Object value)</code>
<div class="block">Returns true if the array contain the value</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#array(org.apache.spark.sql.Column...)">array</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>... cols)</code>
<div class="block">Creates a new array column.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#array(scala.collection.Seq)">array</a></strong>(scala.collection.Seq<<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>> cols)</code>
<div class="block">Creates a new array column.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#array(java.lang.String, scala.collection.Seq)">array</a></strong>(java.lang.String colName,
scala.collection.Seq<java.lang.String> colNames)</code>
<div class="block">Creates a new array column.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#asc(java.lang.String)">asc</a></strong>(java.lang.String columnName)</code>
<div class="block">Returns a sort expression based on ascending order of the column.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#ascii(org.apache.spark.sql.Column)">ascii</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Computes the numeric value of the first character of the string column, and returns the
result as a int column.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#asin(org.apache.spark.sql.Column)">asin</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Computes the sine inverse of the given value; the returned angle is in the range
-pi/2 through pi/2.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#asin(java.lang.String)">asin</a></strong>(java.lang.String columnName)</code>
<div class="block">Computes the sine inverse of the given column; the returned angle is in the range
-pi/2 through pi/2.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#atan(org.apache.spark.sql.Column)">atan</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Computes the tangent inverse of the given value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#atan(java.lang.String)">atan</a></strong>(java.lang.String columnName)</code>
<div class="block">Computes the tangent inverse of the given column.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#atan2(org.apache.spark.sql.Column, org.apache.spark.sql.Column)">atan2</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> l,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> r)</code>
<div class="block">Returns the angle theta from the conversion of rectangular coordinates (x, y) to
polar coordinates (r, theta).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#atan2(org.apache.spark.sql.Column, double)">atan2</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> l,
double r)</code>
<div class="block">Returns the angle theta from the conversion of rectangular coordinates (x, y) to
polar coordinates (r, theta).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#atan2(org.apache.spark.sql.Column, java.lang.String)">atan2</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> l,
java.lang.String rightName)</code>
<div class="block">Returns the angle theta from the conversion of rectangular coordinates (x, y) to
polar coordinates (r, theta).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#atan2(double, org.apache.spark.sql.Column)">atan2</a></strong>(double l,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> r)</code>
<div class="block">Returns the angle theta from the conversion of rectangular coordinates (x, y) to
polar coordinates (r, theta).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#atan2(double, java.lang.String)">atan2</a></strong>(double l,
java.lang.String rightName)</code>
<div class="block">Returns the angle theta from the conversion of rectangular coordinates (x, y) to
polar coordinates (r, theta).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#atan2(java.lang.String, org.apache.spark.sql.Column)">atan2</a></strong>(java.lang.String leftName,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> r)</code>
<div class="block">Returns the angle theta from the conversion of rectangular coordinates (x, y) to
polar coordinates (r, theta).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#atan2(java.lang.String, double)">atan2</a></strong>(java.lang.String leftName,
double r)</code>
<div class="block">Returns the angle theta from the conversion of rectangular coordinates (x, y) to
polar coordinates (r, theta).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#atan2(java.lang.String, java.lang.String)">atan2</a></strong>(java.lang.String leftName,
java.lang.String rightName)</code>
<div class="block">Returns the angle theta from the conversion of rectangular coordinates (x, y) to
polar coordinates (r, theta).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#avg(org.apache.spark.sql.Column)">avg</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Aggregate function: returns the average of the values in a group.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#avg(java.lang.String)">avg</a></strong>(java.lang.String columnName)</code>
<div class="block">Aggregate function: returns the average of the values in a group.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#base64(org.apache.spark.sql.Column)">base64</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Computes the BASE64 encoding of a binary column and returns it as a string column.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#bin(org.apache.spark.sql.Column)">bin</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">An expression that returns the string representation of the binary value of the given long
column.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#bin(java.lang.String)">bin</a></strong>(java.lang.String columnName)</code>
<div class="block">An expression that returns the string representation of the binary value of the given long
column.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#bitwiseNOT(org.apache.spark.sql.Column)">bitwiseNOT</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Computes bitwise NOT.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/DataFrame.html" title="class in org.apache.spark.sql">DataFrame</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#broadcast(org.apache.spark.sql.DataFrame)">broadcast</a></strong>(<a href="../../../../org/apache/spark/sql/DataFrame.html" title="class in org.apache.spark.sql">DataFrame</a> df)</code>
<div class="block">Marks a DataFrame as small enough for use in broadcast joins.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#callUDF(scala.Function0, org.apache.spark.sql.types.DataType)">callUDF</a></strong>(scala.Function0<?> f,
<a href="../../../../org/apache/spark/sql/types/DataType.html" title="class in org.apache.spark.sql.types">DataType</a> returnType)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>As of 1.5.0, since it's redundant with udf()</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#callUDF(scala.Function1, org.apache.spark.sql.types.DataType, org.apache.spark.sql.Column)">callUDF</a></strong>(scala.Function1<?,?> f,
<a href="../../../../org/apache/spark/sql/types/DataType.html" title="class in org.apache.spark.sql.types">DataType</a> returnType,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg1)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>As of 1.5.0, since it's redundant with udf()</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#callUDF(scala.Function10, org.apache.spark.sql.types.DataType, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column)">callUDF</a></strong>(scala.Function10<?,?,?,?,?,?,?,?,?,?,?> f,
<a href="../../../../org/apache/spark/sql/types/DataType.html" title="class in org.apache.spark.sql.types">DataType</a> returnType,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg1,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg2,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg3,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg4,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg5,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg6,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg7,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg8,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg9,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg10)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>As of 1.5.0, since it's redundant with udf()</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#callUDF(scala.Function2, org.apache.spark.sql.types.DataType, org.apache.spark.sql.Column, org.apache.spark.sql.Column)">callUDF</a></strong>(scala.Function2<?,?,?> f,
<a href="../../../../org/apache/spark/sql/types/DataType.html" title="class in org.apache.spark.sql.types">DataType</a> returnType,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg1,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg2)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>As of 1.5.0, since it's redundant with udf()</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#callUDF(scala.Function3, org.apache.spark.sql.types.DataType, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column)">callUDF</a></strong>(scala.Function3<?,?,?,?> f,
<a href="../../../../org/apache/spark/sql/types/DataType.html" title="class in org.apache.spark.sql.types">DataType</a> returnType,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg1,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg2,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg3)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>As of 1.5.0, since it's redundant with udf()</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#callUDF(scala.Function4, org.apache.spark.sql.types.DataType, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column)">callUDF</a></strong>(scala.Function4<?,?,?,?,?> f,
<a href="../../../../org/apache/spark/sql/types/DataType.html" title="class in org.apache.spark.sql.types">DataType</a> returnType,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg1,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg2,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg3,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg4)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>As of 1.5.0, since it's redundant with udf()</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#callUDF(scala.Function5, org.apache.spark.sql.types.DataType, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column)">callUDF</a></strong>(scala.Function5<?,?,?,?,?,?> f,
<a href="../../../../org/apache/spark/sql/types/DataType.html" title="class in org.apache.spark.sql.types">DataType</a> returnType,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg1,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg2,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg3,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg4,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg5)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>As of 1.5.0, since it's redundant with udf()</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#callUDF(scala.Function6, org.apache.spark.sql.types.DataType, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column)">callUDF</a></strong>(scala.Function6<?,?,?,?,?,?,?> f,
<a href="../../../../org/apache/spark/sql/types/DataType.html" title="class in org.apache.spark.sql.types">DataType</a> returnType,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg1,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg2,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg3,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg4,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg5,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg6)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>As of 1.5.0, since it's redundant with udf()</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#callUDF(scala.Function7, org.apache.spark.sql.types.DataType, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column)">callUDF</a></strong>(scala.Function7<?,?,?,?,?,?,?,?> f,
<a href="../../../../org/apache/spark/sql/types/DataType.html" title="class in org.apache.spark.sql.types">DataType</a> returnType,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg1,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg2,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg3,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg4,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg5,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg6,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg7)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>As of 1.5.0, since it's redundant with udf()</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#callUDF(scala.Function8, org.apache.spark.sql.types.DataType, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column)">callUDF</a></strong>(scala.Function8<?,?,?,?,?,?,?,?,?> f,
<a href="../../../../org/apache/spark/sql/types/DataType.html" title="class in org.apache.spark.sql.types">DataType</a> returnType,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg1,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg2,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg3,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg4,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg5,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg6,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg7,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg8)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>As of 1.5.0, since it's redundant with udf()</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#callUDF(scala.Function9, org.apache.spark.sql.types.DataType, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column)">callUDF</a></strong>(scala.Function9<?,?,?,?,?,?,?,?,?,?> f,
<a href="../../../../org/apache/spark/sql/types/DataType.html" title="class in org.apache.spark.sql.types">DataType</a> returnType,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg1,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg2,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg3,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg4,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg5,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg6,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg7,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg8,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg9)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>As of 1.5.0, since it's redundant with udf()</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#callUDF(java.lang.String, org.apache.spark.sql.Column...)">callUDF</a></strong>(java.lang.String udfName,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>... cols)</code>
<div class="block">Call an user-defined function.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#callUdf(java.lang.String, scala.collection.Seq)">callUdf</a></strong>(java.lang.String udfName,
scala.collection.Seq<<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>> cols)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>As of 1.5.0, since it was not coherent to have two functions callUdf and callUDF</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#callUDF(java.lang.String, scala.collection.Seq)">callUDF</a></strong>(java.lang.String udfName,
scala.collection.Seq<<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>> cols)</code>
<div class="block">Call an user-defined function.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#cbrt(org.apache.spark.sql.Column)">cbrt</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Computes the cube-root of the given value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#cbrt(java.lang.String)">cbrt</a></strong>(java.lang.String columnName)</code>
<div class="block">Computes the cube-root of the given column.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#ceil(org.apache.spark.sql.Column)">ceil</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Computes the ceiling of the given value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#ceil(java.lang.String)">ceil</a></strong>(java.lang.String columnName)</code>
<div class="block">Computes the ceiling of the given column.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#coalesce(org.apache.spark.sql.Column...)">coalesce</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>... e)</code>
<div class="block">Returns the first column that is not null, or null if all inputs are null.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#coalesce(scala.collection.Seq)">coalesce</a></strong>(scala.collection.Seq<<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>> e)</code>
<div class="block">Returns the first column that is not null, or null if all inputs are null.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#col(java.lang.String)">col</a></strong>(java.lang.String colName)</code>
<div class="block">Returns a <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql"><code>Column</code></a> based on the given column name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#column(java.lang.String)">column</a></strong>(java.lang.String colName)</code>
<div class="block">Returns a <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql"><code>Column</code></a> based on the given column name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#concat_ws(java.lang.String, org.apache.spark.sql.Column...)">concat_ws</a></strong>(java.lang.String sep,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>... exprs)</code>
<div class="block">Concatenates multiple input string columns together into a single string column,
using the given separator.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#concat_ws(java.lang.String, scala.collection.Seq)">concat_ws</a></strong>(java.lang.String sep,
scala.collection.Seq<<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>> exprs)</code>
<div class="block">Concatenates multiple input string columns together into a single string column,
using the given separator.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#concat(org.apache.spark.sql.Column...)">concat</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>... exprs)</code>
<div class="block">Concatenates multiple input string columns together into a single string column.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#concat(scala.collection.Seq)">concat</a></strong>(scala.collection.Seq<<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>> exprs)</code>
<div class="block">Concatenates multiple input string columns together into a single string column.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#conv(org.apache.spark.sql.Column, int, int)">conv</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> num,
int fromBase,
int toBase)</code>
<div class="block">Convert a number in a string column from one base to another.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#cos(org.apache.spark.sql.Column)">cos</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Computes the cosine of the given value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#cos(java.lang.String)">cos</a></strong>(java.lang.String columnName)</code>
<div class="block">Computes the cosine of the given column.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#cosh(org.apache.spark.sql.Column)">cosh</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Computes the hyperbolic cosine of the given value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#cosh(java.lang.String)">cosh</a></strong>(java.lang.String columnName)</code>
<div class="block">Computes the hyperbolic cosine of the given column.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#count(org.apache.spark.sql.Column)">count</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Aggregate function: returns the number of items in a group.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#count(java.lang.String)">count</a></strong>(java.lang.String columnName)</code>
<div class="block">Aggregate function: returns the number of items in a group.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#countDistinct(org.apache.spark.sql.Column, org.apache.spark.sql.Column...)">countDistinct</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> expr,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>... exprs)</code>
<div class="block">Aggregate function: returns the number of distinct items in a group.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#countDistinct(org.apache.spark.sql.Column, scala.collection.Seq)">countDistinct</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> expr,
scala.collection.Seq<<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>> exprs)</code>
<div class="block">Aggregate function: returns the number of distinct items in a group.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#countDistinct(java.lang.String, scala.collection.Seq)">countDistinct</a></strong>(java.lang.String columnName,
scala.collection.Seq<java.lang.String> columnNames)</code>
<div class="block">Aggregate function: returns the number of distinct items in a group.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#countDistinct(java.lang.String, java.lang.String...)">countDistinct</a></strong>(java.lang.String columnName,
java.lang.String... columnNames)</code>
<div class="block">Aggregate function: returns the number of distinct items in a group.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#crc32(org.apache.spark.sql.Column)">crc32</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Calculates the cyclic redundancy check value (CRC32) of a binary column and
returns the value as a bigint.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#cumeDist()">cumeDist</a></strong>()</code>
<div class="block">Window function: returns the cumulative distribution of values within a window partition,
i.e.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#current_date()">current_date</a></strong>()</code>
<div class="block">Returns the current date as a date column.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#current_timestamp()">current_timestamp</a></strong>()</code>
<div class="block">Returns the current timestamp as a timestamp column.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#date_add(org.apache.spark.sql.Column, int)">date_add</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> start,
int days)</code>
<div class="block">Returns the date that is <code>days</code> days after <code>start</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#date_format(org.apache.spark.sql.Column, java.lang.String)">date_format</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> dateExpr,
java.lang.String format)</code>
<div class="block">Converts a date/timestamp/string to a value of string in the format specified by the date
format given by the second argument.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#date_sub(org.apache.spark.sql.Column, int)">date_sub</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> start,
int days)</code>
<div class="block">Returns the date that is <code>days</code> days before <code>start</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#datediff(org.apache.spark.sql.Column, org.apache.spark.sql.Column)">datediff</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> end,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> start)</code>
<div class="block">Returns the number of days from <code>start</code> to <code>end</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#dayofmonth(org.apache.spark.sql.Column)">dayofmonth</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Extracts the day of the month as an integer from a given date/timestamp/string.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#dayofyear(org.apache.spark.sql.Column)">dayofyear</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Extracts the day of the year as an integer from a given date/timestamp/string.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#decode(org.apache.spark.sql.Column, java.lang.String)">decode</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> value,
java.lang.String charset)</code>
<div class="block">Computes the first argument into a string from a binary using the provided character set
(one of 'US-ASCII', 'ISO-8859-1', 'UTF-8', 'UTF-16BE', 'UTF-16LE', 'UTF-16').</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#denseRank()">denseRank</a></strong>()</code>
<div class="block">Window function: returns the rank of rows within a window partition, without any gaps.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#desc(java.lang.String)">desc</a></strong>(java.lang.String columnName)</code>
<div class="block">Returns a sort expression based on the descending order of the column.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#encode(org.apache.spark.sql.Column, java.lang.String)">encode</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> value,
java.lang.String charset)</code>
<div class="block">Computes the first argument into a binary from a string using the provided character set
(one of 'US-ASCII', 'ISO-8859-1', 'UTF-8', 'UTF-16BE', 'UTF-16LE', 'UTF-16').</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#exp(org.apache.spark.sql.Column)">exp</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Computes the exponential of the given value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#exp(java.lang.String)">exp</a></strong>(java.lang.String columnName)</code>
<div class="block">Computes the exponential of the given column.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#explode(org.apache.spark.sql.Column)">explode</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Creates a new row for each element in the given array or map column.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#expm1(org.apache.spark.sql.Column)">expm1</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Computes the exponential of the given value minus one.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#expm1(java.lang.String)">expm1</a></strong>(java.lang.String columnName)</code>
<div class="block">Computes the exponential of the given column.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#expr(java.lang.String)">expr</a></strong>(java.lang.String expr)</code>
<div class="block">Parses the expression string into the column that it represents, similar to
DataFrame.selectExpr</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#factorial(org.apache.spark.sql.Column)">factorial</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Computes the factorial of the given value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#first(org.apache.spark.sql.Column)">first</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Aggregate function: returns the first value in a group.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#first(java.lang.String)">first</a></strong>(java.lang.String columnName)</code>
<div class="block">Aggregate function: returns the first value of a column in a group.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#floor(org.apache.spark.sql.Column)">floor</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Computes the floor of the given value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#floor(java.lang.String)">floor</a></strong>(java.lang.String columnName)</code>
<div class="block">Computes the floor of the given column.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#format_number(org.apache.spark.sql.Column, int)">format_number</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> x,
int d)</code>
<div class="block">Formats numeric column x to a format like '#,###,###.##', rounded to d decimal places,
and returns the result as a string column.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#format_string(java.lang.String, org.apache.spark.sql.Column...)">format_string</a></strong>(java.lang.String format,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>... arguments)</code>
<div class="block">Formats the arguments in printf-style and returns the result as a string column.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#format_string(java.lang.String, scala.collection.Seq)">format_string</a></strong>(java.lang.String format,
scala.collection.Seq<<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>> arguments)</code>
<div class="block">Formats the arguments in printf-style and returns the result as a string column.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#from_unixtime(org.apache.spark.sql.Column)">from_unixtime</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> ut)</code>
<div class="block">Converts the number of seconds from unix epoch (1970-01-01 00:00:00 UTC) to a string
representing the timestamp of that moment in the current system time zone in the given
format.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#from_unixtime(org.apache.spark.sql.Column, java.lang.String)">from_unixtime</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> ut,
java.lang.String f)</code>
<div class="block">Converts the number of seconds from unix epoch (1970-01-01 00:00:00 UTC) to a string
representing the timestamp of that moment in the current system time zone in the given
format.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#from_utc_timestamp(org.apache.spark.sql.Column, java.lang.String)">from_utc_timestamp</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> ts,
java.lang.String tz)</code>
<div class="block">Assumes given timestamp is UTC and converts to given timezone.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#greatest(org.apache.spark.sql.Column...)">greatest</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>... exprs)</code>
<div class="block">Returns the greatest value of the list of values, skipping null values.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#greatest(scala.collection.Seq)">greatest</a></strong>(scala.collection.Seq<<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>> exprs)</code>
<div class="block">Returns the greatest value of the list of values, skipping null values.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#greatest(java.lang.String, scala.collection.Seq)">greatest</a></strong>(java.lang.String columnName,
scala.collection.Seq<java.lang.String> columnNames)</code>
<div class="block">Returns the greatest value of the list of column names, skipping null values.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#greatest(java.lang.String, java.lang.String...)">greatest</a></strong>(java.lang.String columnName,
java.lang.String... columnNames)</code>
<div class="block">Returns the greatest value of the list of column names, skipping null values.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#hex(org.apache.spark.sql.Column)">hex</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> column)</code>
<div class="block">Computes hex value of the given column.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#hour(org.apache.spark.sql.Column)">hour</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Extracts the hours as an integer from a given date/timestamp/string.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#hypot(org.apache.spark.sql.Column, org.apache.spark.sql.Column)">hypot</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> l,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> r)</code>
<div class="block">Computes <code>sqrt(a^2^ + b^2^)</code> without intermediate overflow or underflow.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#hypot(org.apache.spark.sql.Column, double)">hypot</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> l,
double r)</code>
<div class="block">Computes <code>sqrt(a^2^ + b^2^)</code> without intermediate overflow or underflow.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#hypot(org.apache.spark.sql.Column, java.lang.String)">hypot</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> l,
java.lang.String rightName)</code>
<div class="block">Computes <code>sqrt(a^2^ + b^2^)</code> without intermediate overflow or underflow.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#hypot(double, org.apache.spark.sql.Column)">hypot</a></strong>(double l,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> r)</code>
<div class="block">Computes <code>sqrt(a^2^ + b^2^)</code> without intermediate overflow or underflow.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#hypot(double, java.lang.String)">hypot</a></strong>(double l,
java.lang.String rightName)</code>
<div class="block">Computes <code>sqrt(a^2^ + b^2^)</code> without intermediate overflow or underflow.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#hypot(java.lang.String, org.apache.spark.sql.Column)">hypot</a></strong>(java.lang.String leftName,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> r)</code>
<div class="block">Computes <code>sqrt(a^2^ + b^2^)</code> without intermediate overflow or underflow.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#hypot(java.lang.String, double)">hypot</a></strong>(java.lang.String leftName,
double r)</code>
<div class="block">Computes <code>sqrt(a^2^ + b^2^)</code> without intermediate overflow or underflow.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#hypot(java.lang.String, java.lang.String)">hypot</a></strong>(java.lang.String leftName,
java.lang.String rightName)</code>
<div class="block">Computes <code>sqrt(a^2^ + b^2^)</code> without intermediate overflow or underflow.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#initcap(org.apache.spark.sql.Column)">initcap</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Returns a new string column by converting the first letter of each word to uppercase.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#inputFileName()">inputFileName</a></strong>()</code>
<div class="block">Creates a string column for the file name of the current Spark task.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#instr(org.apache.spark.sql.Column, java.lang.String)">instr</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> str,
java.lang.String substring)</code>
<div class="block">Locate the position of the first occurrence of substr column in the given string.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#isNaN(org.apache.spark.sql.Column)">isNaN</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Return true iff the column is NaN.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#lag(org.apache.spark.sql.Column, int)">lag</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
int offset)</code>
<div class="block">Window function: returns the value that is <code>offset</code> rows before the current row, and
<code>null</code> if there is less than <code>offset</code> rows before the current row.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#lag(org.apache.spark.sql.Column, int, java.lang.Object)">lag</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
int offset,
java.lang.Object defaultValue)</code>
<div class="block">Window function: returns the value that is <code>offset</code> rows before the current row, and
<code>defaultValue</code> if there is less than <code>offset</code> rows before the current row.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#lag(java.lang.String, int)">lag</a></strong>(java.lang.String columnName,
int offset)</code>
<div class="block">Window function: returns the value that is <code>offset</code> rows before the current row, and
<code>null</code> if there is less than <code>offset</code> rows before the current row.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#lag(java.lang.String, int, java.lang.Object)">lag</a></strong>(java.lang.String columnName,
int offset,
java.lang.Object defaultValue)</code>
<div class="block">Window function: returns the value that is <code>offset</code> rows before the current row, and
<code>defaultValue</code> if there is less than <code>offset</code> rows before the current row.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#last_day(org.apache.spark.sql.Column)">last_day</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Given a date column, returns the last day of the month which the given date belongs to.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#last(org.apache.spark.sql.Column)">last</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Aggregate function: returns the last value in a group.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#last(java.lang.String)">last</a></strong>(java.lang.String columnName)</code>
<div class="block">Aggregate function: returns the last value of the column in a group.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#lead(org.apache.spark.sql.Column, int)">lead</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
int offset)</code>
<div class="block">Window function: returns the value that is <code>offset</code> rows after the current row, and
<code>null</code> if there is less than <code>offset</code> rows after the current row.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#lead(org.apache.spark.sql.Column, int, java.lang.Object)">lead</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
int offset,
java.lang.Object defaultValue)</code>
<div class="block">Window function: returns the value that is <code>offset</code> rows after the current row, and
<code>defaultValue</code> if there is less than <code>offset</code> rows after the current row.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#lead(java.lang.String, int)">lead</a></strong>(java.lang.String columnName,
int offset)</code>
<div class="block">Window function: returns the value that is <code>offset</code> rows after the current row, and
<code>null</code> if there is less than <code>offset</code> rows after the current row.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#lead(java.lang.String, int, java.lang.Object)">lead</a></strong>(java.lang.String columnName,
int offset,
java.lang.Object defaultValue)</code>
<div class="block">Window function: returns the value that is <code>offset</code> rows after the current row, and
<code>defaultValue</code> if there is less than <code>offset</code> rows after the current row.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#least(org.apache.spark.sql.Column...)">least</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>... exprs)</code>
<div class="block">Returns the least value of the list of values, skipping null values.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#least(scala.collection.Seq)">least</a></strong>(scala.collection.Seq<<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>> exprs)</code>
<div class="block">Returns the least value of the list of values, skipping null values.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#least(java.lang.String, scala.collection.Seq)">least</a></strong>(java.lang.String columnName,
scala.collection.Seq<java.lang.String> columnNames)</code>
<div class="block">Returns the least value of the list of column names, skipping null values.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#least(java.lang.String, java.lang.String...)">least</a></strong>(java.lang.String columnName,
java.lang.String... columnNames)</code>
<div class="block">Returns the least value of the list of column names, skipping null values.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#length(org.apache.spark.sql.Column)">length</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Computes the length of a given string or binary column.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#levenshtein(org.apache.spark.sql.Column, org.apache.spark.sql.Column)">levenshtein</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> l,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> r)</code>
<div class="block">Computes the Levenshtein distance of the two given string columns.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#lit(java.lang.Object)">lit</a></strong>(java.lang.Object literal)</code>
<div class="block">Creates a <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql"><code>Column</code></a> of literal value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#locate(java.lang.String, org.apache.spark.sql.Column)">locate</a></strong>(java.lang.String substr,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> str)</code>
<div class="block">Locate the position of the first occurrence of substr.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#locate(java.lang.String, org.apache.spark.sql.Column, int)">locate</a></strong>(java.lang.String substr,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> str,
int pos)</code>
<div class="block">Locate the position of the first occurrence of substr in a string column, after position pos.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#log(org.apache.spark.sql.Column)">log</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Computes the natural logarithm of the given value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#log(double, org.apache.spark.sql.Column)">log</a></strong>(double base,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> a)</code>
<div class="block">Returns the first argument-base logarithm of the second argument.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#log(double, java.lang.String)">log</a></strong>(double base,
java.lang.String columnName)</code>
<div class="block">Returns the first argument-base logarithm of the second argument.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#log(java.lang.String)">log</a></strong>(java.lang.String columnName)</code>
<div class="block">Computes the natural logarithm of the given column.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#log10(org.apache.spark.sql.Column)">log10</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Computes the logarithm of the given value in base 10.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#log10(java.lang.String)">log10</a></strong>(java.lang.String columnName)</code>
<div class="block">Computes the logarithm of the given value in base 10.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#log1p(org.apache.spark.sql.Column)">log1p</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Computes the natural logarithm of the given value plus one.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#log1p(java.lang.String)">log1p</a></strong>(java.lang.String columnName)</code>
<div class="block">Computes the natural logarithm of the given column plus one.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#log2(org.apache.spark.sql.Column)">log2</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> expr)</code>
<div class="block">Computes the logarithm of the given column in base 2.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#log2(java.lang.String)">log2</a></strong>(java.lang.String columnName)</code>
<div class="block">Computes the logarithm of the given value in base 2.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#lower(org.apache.spark.sql.Column)">lower</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Converts a string column to lower case.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#lpad(org.apache.spark.sql.Column, int, java.lang.String)">lpad</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> str,
int len,
java.lang.String pad)</code>
<div class="block">Left-pad the string column with</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#ltrim(org.apache.spark.sql.Column)">ltrim</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Trim the spaces from left end for the specified string value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#max(org.apache.spark.sql.Column)">max</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Aggregate function: returns the maximum value of the expression in a group.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#max(java.lang.String)">max</a></strong>(java.lang.String columnName)</code>
<div class="block">Aggregate function: returns the maximum value of the column in a group.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#md5(org.apache.spark.sql.Column)">md5</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Calculates the MD5 digest of a binary column and returns the value
as a 32 character hex string.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#mean(org.apache.spark.sql.Column)">mean</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Aggregate function: returns the average of the values in a group.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#mean(java.lang.String)">mean</a></strong>(java.lang.String columnName)</code>
<div class="block">Aggregate function: returns the average of the values in a group.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#min(org.apache.spark.sql.Column)">min</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Aggregate function: returns the minimum value of the expression in a group.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#min(java.lang.String)">min</a></strong>(java.lang.String columnName)</code>
<div class="block">Aggregate function: returns the minimum value of the column in a group.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#minute(org.apache.spark.sql.Column)">minute</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Extracts the minutes as an integer from a given date/timestamp/string.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#monotonicallyIncreasingId()">monotonicallyIncreasingId</a></strong>()</code>
<div class="block">A column expression that generates monotonically increasing 64-bit integers.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#month(org.apache.spark.sql.Column)">month</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Extracts the month as an integer from a given date/timestamp/string.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#months_between(org.apache.spark.sql.Column, org.apache.spark.sql.Column)">months_between</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> date1,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> date2)</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#nanvl(org.apache.spark.sql.Column, org.apache.spark.sql.Column)">nanvl</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> col1,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> col2)</code>
<div class="block">Returns col1 if it is not NaN, or col2 if col1 is NaN.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#negate(org.apache.spark.sql.Column)">negate</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Unary minus, i.e.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#next_day(org.apache.spark.sql.Column, java.lang.String)">next_day</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> date,
java.lang.String dayOfWeek)</code>
<div class="block">Given a date column, returns the first date which is later than the value of the date column
that is on the specified day of the week.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#not(org.apache.spark.sql.Column)">not</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Inversion of boolean expression, i.e.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#ntile(int)">ntile</a></strong>(int n)</code>
<div class="block">Window function: returns the ntile group id (from 1 to <code>n</code> inclusive) in an ordered window
partition.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#percentRank()">percentRank</a></strong>()</code>
<div class="block">Window function: returns the relative rank (i.e.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#pmod(org.apache.spark.sql.Column, org.apache.spark.sql.Column)">pmod</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> dividend,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> divisor)</code>
<div class="block">Returns the positive value of dividend mod divisor.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#pow(org.apache.spark.sql.Column, org.apache.spark.sql.Column)">pow</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> l,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> r)</code>
<div class="block">Returns the value of the first argument raised to the power of the second argument.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#pow(org.apache.spark.sql.Column, double)">pow</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> l,
double r)</code>
<div class="block">Returns the value of the first argument raised to the power of the second argument.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#pow(org.apache.spark.sql.Column, java.lang.String)">pow</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> l,
java.lang.String rightName)</code>
<div class="block">Returns the value of the first argument raised to the power of the second argument.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#pow(double, org.apache.spark.sql.Column)">pow</a></strong>(double l,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> r)</code>
<div class="block">Returns the value of the first argument raised to the power of the second argument.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#pow(double, java.lang.String)">pow</a></strong>(double l,
java.lang.String rightName)</code>
<div class="block">Returns the value of the first argument raised to the power of the second argument.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#pow(java.lang.String, org.apache.spark.sql.Column)">pow</a></strong>(java.lang.String leftName,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> r)</code>
<div class="block">Returns the value of the first argument raised to the power of the second argument.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#pow(java.lang.String, double)">pow</a></strong>(java.lang.String leftName,
double r)</code>
<div class="block">Returns the value of the first argument raised to the power of the second argument.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#pow(java.lang.String, java.lang.String)">pow</a></strong>(java.lang.String leftName,
java.lang.String rightName)</code>
<div class="block">Returns the value of the first argument raised to the power of the second argument.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#quarter(org.apache.spark.sql.Column)">quarter</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Extracts the quarter as an integer from a given date/timestamp/string.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#rand()">rand</a></strong>()</code>
<div class="block">Generate a random column with i.i.d.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#rand(long)">rand</a></strong>(long seed)</code>
<div class="block">Generate a random column with i.i.d.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#randn()">randn</a></strong>()</code>
<div class="block">Generate a column with i.i.d.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#randn(long)">randn</a></strong>(long seed)</code>
<div class="block">Generate a column with i.i.d.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#rank()">rank</a></strong>()</code>
<div class="block">Window function: returns the rank of rows within a window partition.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#regexp_extract(org.apache.spark.sql.Column, java.lang.String, int)">regexp_extract</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
java.lang.String exp,
int groupIdx)</code>
<div class="block">Extract a specific(idx) group identified by a java regex, from the specified string column.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#regexp_replace(org.apache.spark.sql.Column, java.lang.String, java.lang.String)">regexp_replace</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
java.lang.String pattern,
java.lang.String replacement)</code>
<div class="block">Replace all substrings of the specified string value that match regexp with rep.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#repeat(org.apache.spark.sql.Column, int)">repeat</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> str,
int n)</code>
<div class="block">Repeats a string column n times, and returns it as a new string column.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#reverse(org.apache.spark.sql.Column)">reverse</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> str)</code>
<div class="block">Reverses the string column and returns it as a new string column.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#rint(org.apache.spark.sql.Column)">rint</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Returns the double value that is closest in value to the argument and
is equal to a mathematical integer.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#rint(java.lang.String)">rint</a></strong>(java.lang.String columnName)</code>
<div class="block">Returns the double value that is closest in value to the argument and
is equal to a mathematical integer.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#round(org.apache.spark.sql.Column)">round</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Returns the value of the column <code>e</code> rounded to 0 decimal places.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#round(org.apache.spark.sql.Column, int)">round</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
int scale)</code>
<div class="block">Round the value of <code>e</code> to <code>scale</code> decimal places if <code>scale</code> >= 0
or at integral part when <code>scale</code> < 0.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#rowNumber()">rowNumber</a></strong>()</code>
<div class="block">Window function: returns a sequential number starting at 1 within a window partition.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#rpad(org.apache.spark.sql.Column, int, java.lang.String)">rpad</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> str,
int len,
java.lang.String pad)</code>
<div class="block">Right-padded with pad to a length of len.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#rtrim(org.apache.spark.sql.Column)">rtrim</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Trim the spaces from right end for the specified string value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#second(org.apache.spark.sql.Column)">second</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Extracts the seconds as an integer from a given date/timestamp/string.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#sha1(org.apache.spark.sql.Column)">sha1</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Calculates the SHA-1 digest of a binary column and returns the value
as a 40 character hex string.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#sha2(org.apache.spark.sql.Column, int)">sha2</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
int numBits)</code>
<div class="block">Calculates the SHA-2 family of hash functions of a binary column and
returns the value as a hex string.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#shiftLeft(org.apache.spark.sql.Column, int)">shiftLeft</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
int numBits)</code>
<div class="block">Shift the the given value numBits left.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#shiftRight(org.apache.spark.sql.Column, int)">shiftRight</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
int numBits)</code>
<div class="block">Shift the the given value numBits right.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#shiftRightUnsigned(org.apache.spark.sql.Column, int)">shiftRightUnsigned</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
int numBits)</code>
<div class="block">Unsigned shift the the given value numBits right.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#signum(org.apache.spark.sql.Column)">signum</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Computes the signum of the given value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#signum(java.lang.String)">signum</a></strong>(java.lang.String columnName)</code>
<div class="block">Computes the signum of the given column.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#sin(org.apache.spark.sql.Column)">sin</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Computes the sine of the given value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#sin(java.lang.String)">sin</a></strong>(java.lang.String columnName)</code>
<div class="block">Computes the sine of the given column.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#sinh(org.apache.spark.sql.Column)">sinh</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Computes the hyperbolic sine of the given value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#sinh(java.lang.String)">sinh</a></strong>(java.lang.String columnName)</code>
<div class="block">Computes the hyperbolic sine of the given column.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#size(org.apache.spark.sql.Column)">size</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Returns length of array or map.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#sort_array(org.apache.spark.sql.Column)">sort_array</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Sorts the input array for the given column in ascending order,
according to the natural ordering of the array elements.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#sort_array(org.apache.spark.sql.Column, boolean)">sort_array</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
boolean asc)</code>
<div class="block">Sorts the input array for the given column in ascending / descending order,
according to the natural ordering of the array elements.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#soundex(org.apache.spark.sql.Column)">soundex</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">* Return the soundex code for the specified expression.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#sparkPartitionId()">sparkPartitionId</a></strong>()</code>
<div class="block">Partition ID of the Spark task.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#split(org.apache.spark.sql.Column, java.lang.String)">split</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> str,
java.lang.String pattern)</code>
<div class="block">Splits str around pattern (pattern is a regular expression).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#sqrt(org.apache.spark.sql.Column)">sqrt</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Computes the square root of the specified float value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#sqrt(java.lang.String)">sqrt</a></strong>(java.lang.String colName)</code>
<div class="block">Computes the square root of the specified float value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#struct(org.apache.spark.sql.Column...)">struct</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>... cols)</code>
<div class="block">Creates a new struct column.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#struct(scala.collection.Seq)">struct</a></strong>(scala.collection.Seq<<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>> cols)</code>
<div class="block">Creates a new struct column.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#struct(java.lang.String, scala.collection.Seq)">struct</a></strong>(java.lang.String colName,
scala.collection.Seq<java.lang.String> colNames)</code>
<div class="block">Creates a new struct column that composes multiple input columns.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#substring_index(org.apache.spark.sql.Column, java.lang.String, int)">substring_index</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> str,
java.lang.String delim,
int count)</code>
<div class="block">Returns the substring from string str before count occurrences of the delimiter delim.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#substring(org.apache.spark.sql.Column, int, int)">substring</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> str,
int pos,
int len)</code>
<div class="block">Substring starts at <code>pos</code> and is of length <code>len</code> when str is String type or
returns the slice of byte array that starts at <code>pos</code> in byte and is of length <code>len</code>
when str is Binary type</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#sum(org.apache.spark.sql.Column)">sum</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Aggregate function: returns the sum of all values in the expression.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#sum(java.lang.String)">sum</a></strong>(java.lang.String columnName)</code>
<div class="block">Aggregate function: returns the sum of all values in the given column.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#sumDistinct(org.apache.spark.sql.Column)">sumDistinct</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Aggregate function: returns the sum of distinct values in the expression.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#sumDistinct(java.lang.String)">sumDistinct</a></strong>(java.lang.String columnName)</code>
<div class="block">Aggregate function: returns the sum of distinct values in the expression.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#tan(org.apache.spark.sql.Column)">tan</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Computes the tangent of the given value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#tan(java.lang.String)">tan</a></strong>(java.lang.String columnName)</code>
<div class="block">Computes the tangent of the given column.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#tanh(org.apache.spark.sql.Column)">tanh</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Computes the hyperbolic tangent of the given value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#tanh(java.lang.String)">tanh</a></strong>(java.lang.String columnName)</code>
<div class="block">Computes the hyperbolic tangent of the given column.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#to_date(org.apache.spark.sql.Column)">to_date</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Converts the column into DateType.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#to_utc_timestamp(org.apache.spark.sql.Column, java.lang.String)">to_utc_timestamp</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> ts,
java.lang.String tz)</code>
<div class="block">Assumes given timestamp is in given timezone and converts to UTC.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#toDegrees(org.apache.spark.sql.Column)">toDegrees</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Converts an angle measured in radians to an approximately equivalent angle measured in degrees.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#toDegrees(java.lang.String)">toDegrees</a></strong>(java.lang.String columnName)</code>
<div class="block">Converts an angle measured in radians to an approximately equivalent angle measured in degrees.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#toRadians(org.apache.spark.sql.Column)">toRadians</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Converts an angle measured in degrees to an approximately equivalent angle measured in radians.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#toRadians(java.lang.String)">toRadians</a></strong>(java.lang.String columnName)</code>
<div class="block">Converts an angle measured in degrees to an approximately equivalent angle measured in radians.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#translate(org.apache.spark.sql.Column, java.lang.String, java.lang.String)">translate</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> src,
java.lang.String matchingString,
java.lang.String replaceString)</code>
<div class="block">Translate any character in the src by a character in replaceString.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#trim(org.apache.spark.sql.Column)">trim</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Trim the spaces from both ends for the specified string column.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#trunc(org.apache.spark.sql.Column, java.lang.String)">trunc</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> date,
java.lang.String format)</code>
<div class="block">Returns date truncated to the unit specified by the format.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <RT> <a href="../../../../org/apache/spark/sql/UserDefinedFunction.html" title="class in org.apache.spark.sql">UserDefinedFunction</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#udf(scala.Function0, scala.reflect.api.TypeTags.TypeTag)">udf</a></strong>(scala.Function0<RT> f,
scala.reflect.api.TypeTags.TypeTag<RT> evidence$1)</code>
<div class="block">Defines a user-defined function of 0 arguments as user-defined function (UDF).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <RT,A1> <a href="../../../../org/apache/spark/sql/UserDefinedFunction.html" title="class in org.apache.spark.sql">UserDefinedFunction</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#udf(scala.Function1, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag)">udf</a></strong>(scala.Function1<A1,RT> f,
scala.reflect.api.TypeTags.TypeTag<RT> evidence$2,
scala.reflect.api.TypeTags.TypeTag<A1> evidence$3)</code>
<div class="block">Defines a user-defined function of 1 arguments as user-defined function (UDF).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <RT,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10> <br><a href="../../../../org/apache/spark/sql/UserDefinedFunction.html" title="class in org.apache.spark.sql">UserDefinedFunction</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#udf(scala.Function10, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag)">udf</a></strong>(scala.Function10<A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,RT> f,
scala.reflect.api.TypeTags.TypeTag<RT> evidence$56,
scala.reflect.api.TypeTags.TypeTag<A1> evidence$57,
scala.reflect.api.TypeTags.TypeTag<A2> evidence$58,
scala.reflect.api.TypeTags.TypeTag<A3> evidence$59,
scala.reflect.api.TypeTags.TypeTag<A4> evidence$60,
scala.reflect.api.TypeTags.TypeTag<A5> evidence$61,
scala.reflect.api.TypeTags.TypeTag<A6> evidence$62,
scala.reflect.api.TypeTags.TypeTag<A7> evidence$63,
scala.reflect.api.TypeTags.TypeTag<A8> evidence$64,
scala.reflect.api.TypeTags.TypeTag<A9> evidence$65,
scala.reflect.api.TypeTags.TypeTag<A10> evidence$66)</code>
<div class="block">Defines a user-defined function of 10 arguments as user-defined function (UDF).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <RT,A1,A2> <a href="../../../../org/apache/spark/sql/UserDefinedFunction.html" title="class in org.apache.spark.sql">UserDefinedFunction</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#udf(scala.Function2, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag)">udf</a></strong>(scala.Function2<A1,A2,RT> f,
scala.reflect.api.TypeTags.TypeTag<RT> evidence$4,
scala.reflect.api.TypeTags.TypeTag<A1> evidence$5,
scala.reflect.api.TypeTags.TypeTag<A2> evidence$6)</code>
<div class="block">Defines a user-defined function of 2 arguments as user-defined function (UDF).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <RT,A1,A2,A3> <br><a href="../../../../org/apache/spark/sql/UserDefinedFunction.html" title="class in org.apache.spark.sql">UserDefinedFunction</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#udf(scala.Function3, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag)">udf</a></strong>(scala.Function3<A1,A2,A3,RT> f,
scala.reflect.api.TypeTags.TypeTag<RT> evidence$7,
scala.reflect.api.TypeTags.TypeTag<A1> evidence$8,
scala.reflect.api.TypeTags.TypeTag<A2> evidence$9,
scala.reflect.api.TypeTags.TypeTag<A3> evidence$10)</code>
<div class="block">Defines a user-defined function of 3 arguments as user-defined function (UDF).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <RT,A1,A2,A3,A4> <br><a href="../../../../org/apache/spark/sql/UserDefinedFunction.html" title="class in org.apache.spark.sql">UserDefinedFunction</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#udf(scala.Function4, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag)">udf</a></strong>(scala.Function4<A1,A2,A3,A4,RT> f,
scala.reflect.api.TypeTags.TypeTag<RT> evidence$11,
scala.reflect.api.TypeTags.TypeTag<A1> evidence$12,
scala.reflect.api.TypeTags.TypeTag<A2> evidence$13,
scala.reflect.api.TypeTags.TypeTag<A3> evidence$14,
scala.reflect.api.TypeTags.TypeTag<A4> evidence$15)</code>
<div class="block">Defines a user-defined function of 4 arguments as user-defined function (UDF).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <RT,A1,A2,A3,A4,A5> <br><a href="../../../../org/apache/spark/sql/UserDefinedFunction.html" title="class in org.apache.spark.sql">UserDefinedFunction</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#udf(scala.Function5, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag)">udf</a></strong>(scala.Function5<A1,A2,A3,A4,A5,RT> f,
scala.reflect.api.TypeTags.TypeTag<RT> evidence$16,
scala.reflect.api.TypeTags.TypeTag<A1> evidence$17,
scala.reflect.api.TypeTags.TypeTag<A2> evidence$18,
scala.reflect.api.TypeTags.TypeTag<A3> evidence$19,
scala.reflect.api.TypeTags.TypeTag<A4> evidence$20,
scala.reflect.api.TypeTags.TypeTag<A5> evidence$21)</code>
<div class="block">Defines a user-defined function of 5 arguments as user-defined function (UDF).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <RT,A1,A2,A3,A4,A5,A6> <br><a href="../../../../org/apache/spark/sql/UserDefinedFunction.html" title="class in org.apache.spark.sql">UserDefinedFunction</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#udf(scala.Function6, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag)">udf</a></strong>(scala.Function6<A1,A2,A3,A4,A5,A6,RT> f,
scala.reflect.api.TypeTags.TypeTag<RT> evidence$22,
scala.reflect.api.TypeTags.TypeTag<A1> evidence$23,
scala.reflect.api.TypeTags.TypeTag<A2> evidence$24,
scala.reflect.api.TypeTags.TypeTag<A3> evidence$25,
scala.reflect.api.TypeTags.TypeTag<A4> evidence$26,
scala.reflect.api.TypeTags.TypeTag<A5> evidence$27,
scala.reflect.api.TypeTags.TypeTag<A6> evidence$28)</code>
<div class="block">Defines a user-defined function of 6 arguments as user-defined function (UDF).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <RT,A1,A2,A3,A4,A5,A6,A7> <br><a href="../../../../org/apache/spark/sql/UserDefinedFunction.html" title="class in org.apache.spark.sql">UserDefinedFunction</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#udf(scala.Function7, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag)">udf</a></strong>(scala.Function7<A1,A2,A3,A4,A5,A6,A7,RT> f,
scala.reflect.api.TypeTags.TypeTag<RT> evidence$29,
scala.reflect.api.TypeTags.TypeTag<A1> evidence$30,
scala.reflect.api.TypeTags.TypeTag<A2> evidence$31,
scala.reflect.api.TypeTags.TypeTag<A3> evidence$32,
scala.reflect.api.TypeTags.TypeTag<A4> evidence$33,
scala.reflect.api.TypeTags.TypeTag<A5> evidence$34,
scala.reflect.api.TypeTags.TypeTag<A6> evidence$35,
scala.reflect.api.TypeTags.TypeTag<A7> evidence$36)</code>
<div class="block">Defines a user-defined function of 7 arguments as user-defined function (UDF).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <RT,A1,A2,A3,A4,A5,A6,A7,A8> <br><a href="../../../../org/apache/spark/sql/UserDefinedFunction.html" title="class in org.apache.spark.sql">UserDefinedFunction</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#udf(scala.Function8, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag)">udf</a></strong>(scala.Function8<A1,A2,A3,A4,A5,A6,A7,A8,RT> f,
scala.reflect.api.TypeTags.TypeTag<RT> evidence$37,
scala.reflect.api.TypeTags.TypeTag<A1> evidence$38,
scala.reflect.api.TypeTags.TypeTag<A2> evidence$39,
scala.reflect.api.TypeTags.TypeTag<A3> evidence$40,
scala.reflect.api.TypeTags.TypeTag<A4> evidence$41,
scala.reflect.api.TypeTags.TypeTag<A5> evidence$42,
scala.reflect.api.TypeTags.TypeTag<A6> evidence$43,
scala.reflect.api.TypeTags.TypeTag<A7> evidence$44,
scala.reflect.api.TypeTags.TypeTag<A8> evidence$45)</code>
<div class="block">Defines a user-defined function of 8 arguments as user-defined function (UDF).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <RT,A1,A2,A3,A4,A5,A6,A7,A8,A9> <br><a href="../../../../org/apache/spark/sql/UserDefinedFunction.html" title="class in org.apache.spark.sql">UserDefinedFunction</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#udf(scala.Function9, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag)">udf</a></strong>(scala.Function9<A1,A2,A3,A4,A5,A6,A7,A8,A9,RT> f,
scala.reflect.api.TypeTags.TypeTag<RT> evidence$46,
scala.reflect.api.TypeTags.TypeTag<A1> evidence$47,
scala.reflect.api.TypeTags.TypeTag<A2> evidence$48,
scala.reflect.api.TypeTags.TypeTag<A3> evidence$49,
scala.reflect.api.TypeTags.TypeTag<A4> evidence$50,
scala.reflect.api.TypeTags.TypeTag<A5> evidence$51,
scala.reflect.api.TypeTags.TypeTag<A6> evidence$52,
scala.reflect.api.TypeTags.TypeTag<A7> evidence$53,
scala.reflect.api.TypeTags.TypeTag<A8> evidence$54,
scala.reflect.api.TypeTags.TypeTag<A9> evidence$55)</code>
<div class="block">Defines a user-defined function of 9 arguments as user-defined function (UDF).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#unbase64(org.apache.spark.sql.Column)">unbase64</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Decodes a BASE64 encoded string column and returns it as a binary column.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#unhex(org.apache.spark.sql.Column)">unhex</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> column)</code>
<div class="block">Inverse of hex.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#unix_timestamp()">unix_timestamp</a></strong>()</code>
<div class="block">Gets current Unix timestamp in seconds.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#unix_timestamp(org.apache.spark.sql.Column)">unix_timestamp</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> s)</code>
<div class="block">Converts time string in format yyyy-MM-dd HH:mm:ss to Unix timestamp (in seconds),
using the default timezone and the default locale, return null if fail.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#unix_timestamp(org.apache.spark.sql.Column, java.lang.String)">unix_timestamp</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> s,
java.lang.String p)</code>
<div class="block">Convert time string with given pattern
(see [http://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html])
to Unix time stamp (in seconds), return null if fail.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#upper(org.apache.spark.sql.Column)">upper</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Converts a string column to upper case.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#weekofyear(org.apache.spark.sql.Column)">weekofyear</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Extracts the week number as an integer from a given date/timestamp/string.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#when(org.apache.spark.sql.Column, java.lang.Object)">when</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> condition,
java.lang.Object value)</code>
<div class="block">Evaluates a list of conditions and returns one of multiple possible result expressions.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/sql/functions.html#year(org.apache.spark.sql.Column)">year</a></strong>(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</code>
<div class="block">Extracts the year as an integer from a given date/timestamp/string.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="functions()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>functions</h4>
<pre>public functions()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="countDistinct(org.apache.spark.sql.Column, org.apache.spark.sql.Column...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>countDistinct</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> countDistinct(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> expr,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>... exprs)</pre>
<div class="block">Aggregate function: returns the number of distinct items in a group.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>expr</code> - (undocumented)</dd><dd><code>exprs</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="countDistinct(java.lang.String, java.lang.String...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>countDistinct</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> countDistinct(java.lang.String columnName,
java.lang.String... columnNames)</pre>
<div class="block">Aggregate function: returns the number of distinct items in a group.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd><dd><code>columnNames</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="array(org.apache.spark.sql.Column...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>array</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> array(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>... cols)</pre>
<div class="block">Creates a new array column. The input columns must all have the same data type.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cols</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="coalesce(org.apache.spark.sql.Column...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>coalesce</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> coalesce(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>... e)</pre>
<div class="block">Returns the first column that is not null, or null if all inputs are null.
<p>
For example, <code>coalesce(a, b, c)</code> will return a if a is not null,
or b if a is null and b is not null, or c if both a and b are null but c is not null.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="struct(org.apache.spark.sql.Column...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>struct</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> struct(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>... cols)</pre>
<div class="block">Creates a new struct column.
If the input column is a column in a <a href="../../../../org/apache/spark/sql/DataFrame.html" title="class in org.apache.spark.sql"><code>DataFrame</code></a>, or a derived column expression
that is named (i.e. aliased), its name would be remained as the StructField's name,
otherwise, the newly generated StructField's name would be auto generated as col${index + 1},
i.e. col1, col2, col3, ...
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cols</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="greatest(org.apache.spark.sql.Column...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>greatest</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> greatest(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>... exprs)</pre>
<div class="block">Returns the greatest value of the list of values, skipping null values.
This function takes at least 2 parameters. It will return null iff all parameters are null.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>exprs</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="greatest(java.lang.String, java.lang.String...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>greatest</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> greatest(java.lang.String columnName,
java.lang.String... columnNames)</pre>
<div class="block">Returns the greatest value of the list of column names, skipping null values.
This function takes at least 2 parameters. It will return null iff all parameters are null.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd><dd><code>columnNames</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="least(org.apache.spark.sql.Column...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>least</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> least(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>... exprs)</pre>
<div class="block">Returns the least value of the list of values, skipping null values.
This function takes at least 2 parameters. It will return null iff all parameters are null.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>exprs</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="least(java.lang.String, java.lang.String...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>least</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> least(java.lang.String columnName,
java.lang.String... columnNames)</pre>
<div class="block">Returns the least value of the list of column names, skipping null values.
This function takes at least 2 parameters. It will return null iff all parameters are null.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd><dd><code>columnNames</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="concat(org.apache.spark.sql.Column...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>concat</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> concat(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>... exprs)</pre>
<div class="block">Concatenates multiple input string columns together into a single string column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>exprs</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="concat_ws(java.lang.String, org.apache.spark.sql.Column...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>concat_ws</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> concat_ws(java.lang.String sep,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>... exprs)</pre>
<div class="block">Concatenates multiple input string columns together into a single string column,
using the given separator.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>sep</code> - (undocumented)</dd><dd><code>exprs</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="format_string(java.lang.String, org.apache.spark.sql.Column...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>format_string</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> format_string(java.lang.String format,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>... arguments)</pre>
<div class="block">Formats the arguments in printf-style and returns the result as a string column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>format</code> - (undocumented)</dd><dd><code>arguments</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="callUDF(java.lang.String, org.apache.spark.sql.Column...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>callUDF</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> callUDF(java.lang.String udfName,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>... cols)</pre>
<div class="block">Call an user-defined function.
Example:
<pre><code>
import org.apache.spark.sql._
val df = Seq(("id1", 1), ("id2", 4), ("id3", 5)).toDF("id", "value")
val sqlContext = df.sqlContext
sqlContext.udf.register("simpleUDF", (v: Int) => v * v)
df.select($"id", callUDF("simpleUDF", $"value"))
</code></pre>
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>udfName</code> - (undocumented)</dd><dd><code>cols</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="col(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>col</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> col(java.lang.String colName)</pre>
<div class="block">Returns a <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql"><code>Column</code></a> based on the given column name.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>colName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="column(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>column</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> column(java.lang.String colName)</pre>
<div class="block">Returns a <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql"><code>Column</code></a> based on the given column name. Alias of <code>col</code>.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>colName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="lit(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lit</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> lit(java.lang.Object literal)</pre>
<div class="block">Creates a <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql"><code>Column</code></a> of literal value.
<p>
The passed in object is returned directly if it is already a <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql"><code>Column</code></a>.
If the object is a Scala Symbol, it is converted into a <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql"><code>Column</code></a> also.
Otherwise, a new <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql"><code>Column</code></a> is created to represent the literal value.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>literal</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="asc(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asc</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> asc(java.lang.String columnName)</pre>
<div class="block">Returns a sort expression based on ascending order of the column.
<pre><code>
// Sort by dept in ascending order, and then age in descending order.
df.sort(asc("dept"), desc("age"))
</code></pre>
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="desc(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>desc</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> desc(java.lang.String columnName)</pre>
<div class="block">Returns a sort expression based on the descending order of the column.
<pre><code>
// Sort by dept in ascending order, and then age in descending order.
df.sort(asc("dept"), desc("age"))
</code></pre>
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="approxCountDistinct(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>approxCountDistinct</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> approxCountDistinct(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Aggregate function: returns the approximate number of distinct items in a group.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="approxCountDistinct(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>approxCountDistinct</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> approxCountDistinct(java.lang.String columnName)</pre>
<div class="block">Aggregate function: returns the approximate number of distinct items in a group.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="approxCountDistinct(org.apache.spark.sql.Column, double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>approxCountDistinct</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> approxCountDistinct(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
double rsd)</pre>
<div class="block">Aggregate function: returns the approximate number of distinct items in a group.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd><dd><code>rsd</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="approxCountDistinct(java.lang.String, double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>approxCountDistinct</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> approxCountDistinct(java.lang.String columnName,
double rsd)</pre>
<div class="block">Aggregate function: returns the approximate number of distinct items in a group.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd><dd><code>rsd</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="avg(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>avg</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> avg(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Aggregate function: returns the average of the values in a group.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="avg(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>avg</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> avg(java.lang.String columnName)</pre>
<div class="block">Aggregate function: returns the average of the values in a group.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="count(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>count</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> count(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Aggregate function: returns the number of items in a group.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="count(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>count</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> count(java.lang.String columnName)</pre>
<div class="block">Aggregate function: returns the number of items in a group.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="countDistinct(org.apache.spark.sql.Column, scala.collection.Seq)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>countDistinct</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> countDistinct(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> expr,
scala.collection.Seq<<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>> exprs)</pre>
<div class="block">Aggregate function: returns the number of distinct items in a group.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>expr</code> - (undocumented)</dd><dd><code>exprs</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="countDistinct(java.lang.String, scala.collection.Seq)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>countDistinct</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> countDistinct(java.lang.String columnName,
scala.collection.Seq<java.lang.String> columnNames)</pre>
<div class="block">Aggregate function: returns the number of distinct items in a group.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd><dd><code>columnNames</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="first(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>first</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> first(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Aggregate function: returns the first value in a group.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="first(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>first</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> first(java.lang.String columnName)</pre>
<div class="block">Aggregate function: returns the first value of a column in a group.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="last(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>last</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> last(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Aggregate function: returns the last value in a group.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="last(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>last</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> last(java.lang.String columnName)</pre>
<div class="block">Aggregate function: returns the last value of the column in a group.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="max(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>max</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> max(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Aggregate function: returns the maximum value of the expression in a group.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="max(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>max</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> max(java.lang.String columnName)</pre>
<div class="block">Aggregate function: returns the maximum value of the column in a group.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="mean(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mean</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> mean(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Aggregate function: returns the average of the values in a group.
Alias for avg.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="mean(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mean</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> mean(java.lang.String columnName)</pre>
<div class="block">Aggregate function: returns the average of the values in a group.
Alias for avg.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="min(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>min</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> min(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Aggregate function: returns the minimum value of the expression in a group.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="min(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>min</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> min(java.lang.String columnName)</pre>
<div class="block">Aggregate function: returns the minimum value of the column in a group.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="sum(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sum</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> sum(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Aggregate function: returns the sum of all values in the expression.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="sum(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sum</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> sum(java.lang.String columnName)</pre>
<div class="block">Aggregate function: returns the sum of all values in the given column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="sumDistinct(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sumDistinct</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> sumDistinct(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Aggregate function: returns the sum of distinct values in the expression.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="sumDistinct(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sumDistinct</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> sumDistinct(java.lang.String columnName)</pre>
<div class="block">Aggregate function: returns the sum of distinct values in the expression.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="cumeDist()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cumeDist</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> cumeDist()</pre>
<div class="block">Window function: returns the cumulative distribution of values within a window partition,
i.e. the fraction of rows that are below the current row.
<p>
<pre><code>
N = total number of rows in the partition
cumeDist(x) = number of values before (and including) x / N
</code></pre>
<p>
This is equivalent to the CUME_DIST function in SQL.
<p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="denseRank()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>denseRank</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> denseRank()</pre>
<div class="block">Window function: returns the rank of rows within a window partition, without any gaps.
<p>
The difference between rank and denseRank is that denseRank leaves no gaps in ranking
sequence when there are ties. That is, if you were ranking a competition using denseRank
and had three people tie for second place, you would say that all three were in second
place and that the next person came in third.
<p>
This is equivalent to the DENSE_RANK function in SQL.
<p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="lag(org.apache.spark.sql.Column, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lag</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> lag(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
int offset)</pre>
<div class="block">Window function: returns the value that is <code>offset</code> rows before the current row, and
<code>null</code> if there is less than <code>offset</code> rows before the current row. For example,
an <code>offset</code> of one will return the previous row at any given point in the window partition.
<p>
This is equivalent to the LAG function in SQL.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd><dd><code>offset</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="lag(java.lang.String, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lag</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> lag(java.lang.String columnName,
int offset)</pre>
<div class="block">Window function: returns the value that is <code>offset</code> rows before the current row, and
<code>null</code> if there is less than <code>offset</code> rows before the current row. For example,
an <code>offset</code> of one will return the previous row at any given point in the window partition.
<p>
This is equivalent to the LAG function in SQL.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd><dd><code>offset</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="lag(java.lang.String, int, java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lag</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> lag(java.lang.String columnName,
int offset,
java.lang.Object defaultValue)</pre>
<div class="block">Window function: returns the value that is <code>offset</code> rows before the current row, and
<code>defaultValue</code> if there is less than <code>offset</code> rows before the current row. For example,
an <code>offset</code> of one will return the previous row at any given point in the window partition.
<p>
This is equivalent to the LAG function in SQL.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd><dd><code>offset</code> - (undocumented)</dd><dd><code>defaultValue</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="lag(org.apache.spark.sql.Column, int, java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lag</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> lag(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
int offset,
java.lang.Object defaultValue)</pre>
<div class="block">Window function: returns the value that is <code>offset</code> rows before the current row, and
<code>defaultValue</code> if there is less than <code>offset</code> rows before the current row. For example,
an <code>offset</code> of one will return the previous row at any given point in the window partition.
<p>
This is equivalent to the LAG function in SQL.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd><dd><code>offset</code> - (undocumented)</dd><dd><code>defaultValue</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="lead(java.lang.String, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lead</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> lead(java.lang.String columnName,
int offset)</pre>
<div class="block">Window function: returns the value that is <code>offset</code> rows after the current row, and
<code>null</code> if there is less than <code>offset</code> rows after the current row. For example,
an <code>offset</code> of one will return the next row at any given point in the window partition.
<p>
This is equivalent to the LEAD function in SQL.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd><dd><code>offset</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="lead(org.apache.spark.sql.Column, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lead</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> lead(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
int offset)</pre>
<div class="block">Window function: returns the value that is <code>offset</code> rows after the current row, and
<code>null</code> if there is less than <code>offset</code> rows after the current row. For example,
an <code>offset</code> of one will return the next row at any given point in the window partition.
<p>
This is equivalent to the LEAD function in SQL.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd><dd><code>offset</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="lead(java.lang.String, int, java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lead</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> lead(java.lang.String columnName,
int offset,
java.lang.Object defaultValue)</pre>
<div class="block">Window function: returns the value that is <code>offset</code> rows after the current row, and
<code>defaultValue</code> if there is less than <code>offset</code> rows after the current row. For example,
an <code>offset</code> of one will return the next row at any given point in the window partition.
<p>
This is equivalent to the LEAD function in SQL.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd><dd><code>offset</code> - (undocumented)</dd><dd><code>defaultValue</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="lead(org.apache.spark.sql.Column, int, java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lead</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> lead(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
int offset,
java.lang.Object defaultValue)</pre>
<div class="block">Window function: returns the value that is <code>offset</code> rows after the current row, and
<code>defaultValue</code> if there is less than <code>offset</code> rows after the current row. For example,
an <code>offset</code> of one will return the next row at any given point in the window partition.
<p>
This is equivalent to the LEAD function in SQL.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd><dd><code>offset</code> - (undocumented)</dd><dd><code>defaultValue</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="ntile(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ntile</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> ntile(int n)</pre>
<div class="block">Window function: returns the ntile group id (from 1 to <code>n</code> inclusive) in an ordered window
partition. Fow example, if <code>n</code> is 4, the first quarter of the rows will get value 1, the second
quarter will get 2, the third quarter will get 3, and the last quarter will get 4.
<p>
This is equivalent to the NTILE function in SQL.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>n</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="percentRank()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>percentRank</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> percentRank()</pre>
<div class="block">Window function: returns the relative rank (i.e. percentile) of rows within a window partition.
<p>
This is computed by:
<pre><code>
(rank of row in its partition - 1) / (number of rows in the partition - 1)
</code></pre>
<p>
This is equivalent to the PERCENT_RANK function in SQL.
<p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="rank()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rank</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> rank()</pre>
<div class="block">Window function: returns the rank of rows within a window partition.
<p>
The difference between rank and denseRank is that denseRank leaves no gaps in ranking
sequence when there are ties. That is, if you were ranking a competition using denseRank
and had three people tie for second place, you would say that all three were in second
place and that the next person came in third.
<p>
This is equivalent to the RANK function in SQL.
<p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="rowNumber()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rowNumber</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> rowNumber()</pre>
<div class="block">Window function: returns a sequential number starting at 1 within a window partition.
<p>
This is equivalent to the ROW_NUMBER function in SQL.
<p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="abs(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>abs</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> abs(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Computes the absolute value.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="array(scala.collection.Seq)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>array</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> array(scala.collection.Seq<<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>> cols)</pre>
<div class="block">Creates a new array column. The input columns must all have the same data type.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cols</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="array(java.lang.String, scala.collection.Seq)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>array</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> array(java.lang.String colName,
scala.collection.Seq<java.lang.String> colNames)</pre>
<div class="block">Creates a new array column. The input columns must all have the same data type.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>colName</code> - (undocumented)</dd><dd><code>colNames</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="broadcast(org.apache.spark.sql.DataFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>broadcast</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/DataFrame.html" title="class in org.apache.spark.sql">DataFrame</a> broadcast(<a href="../../../../org/apache/spark/sql/DataFrame.html" title="class in org.apache.spark.sql">DataFrame</a> df)</pre>
<div class="block">Marks a DataFrame as small enough for use in broadcast joins.
<p>
The following example marks the right DataFrame for broadcast hash join using <code>joinKey</code>.
<pre><code>
// left and right are DataFrames
left.join(broadcast(right), "joinKey")
</code></pre>
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>df</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="coalesce(scala.collection.Seq)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>coalesce</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> coalesce(scala.collection.Seq<<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>> e)</pre>
<div class="block">Returns the first column that is not null, or null if all inputs are null.
<p>
For example, <code>coalesce(a, b, c)</code> will return a if a is not null,
or b if a is null and b is not null, or c if both a and b are null but c is not null.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="inputFileName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>inputFileName</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> inputFileName()</pre>
<div class="block">Creates a string column for the file name of the current Spark task.
<p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="isNaN(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNaN</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> isNaN(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Return true iff the column is NaN.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="monotonicallyIncreasingId()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>monotonicallyIncreasingId</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> monotonicallyIncreasingId()</pre>
<div class="block">A column expression that generates monotonically increasing 64-bit integers.
<p>
The generated ID is guaranteed to be monotonically increasing and unique, but not consecutive.
The current implementation puts the partition ID in the upper 31 bits, and the record number
within each partition in the lower 33 bits. The assumption is that the data frame has
less than 1 billion partitions, and each partition has less than 8 billion records.
<p>
As an example, consider a <a href="../../../../org/apache/spark/sql/DataFrame.html" title="class in org.apache.spark.sql"><code>DataFrame</code></a> with two partitions, each with 3 records.
This expression would return the following IDs:
0, 1, 2, 8589934592 (1L << 33), 8589934593, 8589934594.
<p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="nanvl(org.apache.spark.sql.Column, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nanvl</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> nanvl(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> col1,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> col2)</pre>
<div class="block">Returns col1 if it is not NaN, or col2 if col1 is NaN.
<p>
Both inputs should be floating point columns (DoubleType or FloatType).
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>col1</code> - (undocumented)</dd><dd><code>col2</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="negate(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>negate</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> negate(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Unary minus, i.e. negate the expression.
<pre><code>
// Select the amount column and negates all values.
// Scala:
df.select( -df("amount") )
// Java:
df.select( negate(df.col("amount")) );
</code></pre>
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="not(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>not</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> not(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Inversion of boolean expression, i.e. NOT.
<pre><code>
// Scala: select rows that are not active (isActive === false)
df.filter( !df("isActive") )
// Java:
df.filter( not(df.col("isActive")) );
</code></pre>
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="rand(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rand</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> rand(long seed)</pre>
<div class="block">Generate a random column with i.i.d. samples from U[0.0, 1.0].
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>seed</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="rand()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rand</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> rand()</pre>
<div class="block">Generate a random column with i.i.d. samples from U[0.0, 1.0].
<p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="randn(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>randn</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> randn(long seed)</pre>
<div class="block">Generate a column with i.i.d. samples from the standard normal distribution.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>seed</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="randn()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>randn</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> randn()</pre>
<div class="block">Generate a column with i.i.d. samples from the standard normal distribution.
<p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="sparkPartitionId()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sparkPartitionId</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> sparkPartitionId()</pre>
<div class="block">Partition ID of the Spark task.
<p>
Note that this is indeterministic because it depends on data partitioning and task scheduling.
<p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="sqrt(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sqrt</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> sqrt(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Computes the square root of the specified float value.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="sqrt(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sqrt</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> sqrt(java.lang.String colName)</pre>
<div class="block">Computes the square root of the specified float value.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>colName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="struct(scala.collection.Seq)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>struct</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> struct(scala.collection.Seq<<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>> cols)</pre>
<div class="block">Creates a new struct column.
If the input column is a column in a <a href="../../../../org/apache/spark/sql/DataFrame.html" title="class in org.apache.spark.sql"><code>DataFrame</code></a>, or a derived column expression
that is named (i.e. aliased), its name would be remained as the StructField's name,
otherwise, the newly generated StructField's name would be auto generated as col${index + 1},
i.e. col1, col2, col3, ...
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cols</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="struct(java.lang.String, scala.collection.Seq)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>struct</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> struct(java.lang.String colName,
scala.collection.Seq<java.lang.String> colNames)</pre>
<div class="block">Creates a new struct column that composes multiple input columns.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>colName</code> - (undocumented)</dd><dd><code>colNames</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="when(org.apache.spark.sql.Column, java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>when</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> when(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> condition,
java.lang.Object value)</pre>
<div class="block">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.
<p>
<pre><code>
// Example: encoding gender string column into integer.
// Scala:
people.select(when(people("gender") === "male", 0)
.when(people("gender") === "female", 1)
.otherwise(2))
// Java:
people.select(when(col("gender").equalTo("male"), 0)
.when(col("gender").equalTo("female"), 1)
.otherwise(2))
</code></pre>
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>condition</code> - (undocumented)</dd><dd><code>value</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="bitwiseNOT(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>bitwiseNOT</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> bitwiseNOT(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Computes bitwise NOT.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="expr(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>expr</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> expr(java.lang.String expr)</pre>
<div class="block">Parses the expression string into the column that it represents, similar to
DataFrame.selectExpr
<pre><code>
// get the number of words of each length
df.groupBy(expr("length(word)")).count()
</code></pre>
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>expr</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="acos(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>acos</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> acos(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Computes the cosine inverse of the given value; the returned angle is in the range
0.0 through pi.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="acos(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>acos</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> acos(java.lang.String columnName)</pre>
<div class="block">Computes the cosine inverse of the given column; the returned angle is in the range
0.0 through pi.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="asin(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asin</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> asin(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Computes the sine inverse of the given value; the returned angle is in the range
-pi/2 through pi/2.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="asin(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asin</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> asin(java.lang.String columnName)</pre>
<div class="block">Computes the sine inverse of the given column; the returned angle is in the range
-pi/2 through pi/2.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="atan(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>atan</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> atan(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Computes the tangent inverse of the given value.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="atan(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>atan</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> atan(java.lang.String columnName)</pre>
<div class="block">Computes the tangent inverse of the given column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="atan2(org.apache.spark.sql.Column, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>atan2</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> atan2(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> l,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> r)</pre>
<div class="block">Returns the angle theta from the conversion of rectangular coordinates (x, y) to
polar coordinates (r, theta).
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>l</code> - (undocumented)</dd><dd><code>r</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="atan2(org.apache.spark.sql.Column, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>atan2</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> atan2(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> l,
java.lang.String rightName)</pre>
<div class="block">Returns the angle theta from the conversion of rectangular coordinates (x, y) to
polar coordinates (r, theta).
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>l</code> - (undocumented)</dd><dd><code>rightName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="atan2(java.lang.String, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>atan2</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> atan2(java.lang.String leftName,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> r)</pre>
<div class="block">Returns the angle theta from the conversion of rectangular coordinates (x, y) to
polar coordinates (r, theta).
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>leftName</code> - (undocumented)</dd><dd><code>r</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="atan2(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>atan2</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> atan2(java.lang.String leftName,
java.lang.String rightName)</pre>
<div class="block">Returns the angle theta from the conversion of rectangular coordinates (x, y) to
polar coordinates (r, theta).
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>leftName</code> - (undocumented)</dd><dd><code>rightName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="atan2(org.apache.spark.sql.Column, double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>atan2</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> atan2(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> l,
double r)</pre>
<div class="block">Returns the angle theta from the conversion of rectangular coordinates (x, y) to
polar coordinates (r, theta).
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>l</code> - (undocumented)</dd><dd><code>r</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="atan2(java.lang.String, double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>atan2</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> atan2(java.lang.String leftName,
double r)</pre>
<div class="block">Returns the angle theta from the conversion of rectangular coordinates (x, y) to
polar coordinates (r, theta).
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>leftName</code> - (undocumented)</dd><dd><code>r</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="atan2(double, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>atan2</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> atan2(double l,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> r)</pre>
<div class="block">Returns the angle theta from the conversion of rectangular coordinates (x, y) to
polar coordinates (r, theta).
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>l</code> - (undocumented)</dd><dd><code>r</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="atan2(double, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>atan2</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> atan2(double l,
java.lang.String rightName)</pre>
<div class="block">Returns the angle theta from the conversion of rectangular coordinates (x, y) to
polar coordinates (r, theta).
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>l</code> - (undocumented)</dd><dd><code>rightName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="bin(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>bin</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> bin(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">An expression that returns the string representation of the binary value of the given long
column. For example, bin("12") returns "1100".
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="bin(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>bin</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> bin(java.lang.String columnName)</pre>
<div class="block">An expression that returns the string representation of the binary value of the given long
column. For example, bin("12") returns "1100".
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="cbrt(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cbrt</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> cbrt(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Computes the cube-root of the given value.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="cbrt(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cbrt</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> cbrt(java.lang.String columnName)</pre>
<div class="block">Computes the cube-root of the given column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="ceil(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ceil</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> ceil(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Computes the ceiling of the given value.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="ceil(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ceil</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> ceil(java.lang.String columnName)</pre>
<div class="block">Computes the ceiling of the given column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="conv(org.apache.spark.sql.Column, int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>conv</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> conv(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> num,
int fromBase,
int toBase)</pre>
<div class="block">Convert a number in a string column from one base to another.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>num</code> - (undocumented)</dd><dd><code>fromBase</code> - (undocumented)</dd><dd><code>toBase</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="cos(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cos</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> cos(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Computes the cosine of the given value.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="cos(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cos</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> cos(java.lang.String columnName)</pre>
<div class="block">Computes the cosine of the given column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="cosh(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cosh</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> cosh(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Computes the hyperbolic cosine of the given value.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="cosh(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cosh</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> cosh(java.lang.String columnName)</pre>
<div class="block">Computes the hyperbolic cosine of the given column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="exp(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>exp</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> exp(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Computes the exponential of the given value.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="exp(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>exp</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> exp(java.lang.String columnName)</pre>
<div class="block">Computes the exponential of the given column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="expm1(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>expm1</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> expm1(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Computes the exponential of the given value minus one.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="expm1(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>expm1</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> expm1(java.lang.String columnName)</pre>
<div class="block">Computes the exponential of the given column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="factorial(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>factorial</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> factorial(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Computes the factorial of the given value.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="floor(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>floor</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> floor(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Computes the floor of the given value.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="floor(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>floor</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> floor(java.lang.String columnName)</pre>
<div class="block">Computes the floor of the given column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="greatest(scala.collection.Seq)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>greatest</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> greatest(scala.collection.Seq<<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>> exprs)</pre>
<div class="block">Returns the greatest value of the list of values, skipping null values.
This function takes at least 2 parameters. It will return null iff all parameters are null.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>exprs</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="greatest(java.lang.String, scala.collection.Seq)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>greatest</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> greatest(java.lang.String columnName,
scala.collection.Seq<java.lang.String> columnNames)</pre>
<div class="block">Returns the greatest value of the list of column names, skipping null values.
This function takes at least 2 parameters. It will return null iff all parameters are null.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd><dd><code>columnNames</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="hex(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hex</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> hex(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> column)</pre>
<div class="block">Computes hex value of the given column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>column</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="unhex(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unhex</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> unhex(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> column)</pre>
<div class="block">Inverse of hex. Interprets each pair of characters as a hexadecimal number
and converts to the byte representation of number.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>column</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="hypot(org.apache.spark.sql.Column, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hypot</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> hypot(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> l,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> r)</pre>
<div class="block">Computes <code>sqrt(a^2^ + b^2^)</code> without intermediate overflow or underflow.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>l</code> - (undocumented)</dd><dd><code>r</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="hypot(org.apache.spark.sql.Column, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hypot</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> hypot(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> l,
java.lang.String rightName)</pre>
<div class="block">Computes <code>sqrt(a^2^ + b^2^)</code> without intermediate overflow or underflow.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>l</code> - (undocumented)</dd><dd><code>rightName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="hypot(java.lang.String, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hypot</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> hypot(java.lang.String leftName,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> r)</pre>
<div class="block">Computes <code>sqrt(a^2^ + b^2^)</code> without intermediate overflow or underflow.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>leftName</code> - (undocumented)</dd><dd><code>r</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="hypot(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hypot</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> hypot(java.lang.String leftName,
java.lang.String rightName)</pre>
<div class="block">Computes <code>sqrt(a^2^ + b^2^)</code> without intermediate overflow or underflow.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>leftName</code> - (undocumented)</dd><dd><code>rightName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="hypot(org.apache.spark.sql.Column, double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hypot</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> hypot(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> l,
double r)</pre>
<div class="block">Computes <code>sqrt(a^2^ + b^2^)</code> without intermediate overflow or underflow.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>l</code> - (undocumented)</dd><dd><code>r</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="hypot(java.lang.String, double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hypot</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> hypot(java.lang.String leftName,
double r)</pre>
<div class="block">Computes <code>sqrt(a^2^ + b^2^)</code> without intermediate overflow or underflow.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>leftName</code> - (undocumented)</dd><dd><code>r</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="hypot(double, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hypot</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> hypot(double l,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> r)</pre>
<div class="block">Computes <code>sqrt(a^2^ + b^2^)</code> without intermediate overflow or underflow.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>l</code> - (undocumented)</dd><dd><code>r</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="hypot(double, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hypot</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> hypot(double l,
java.lang.String rightName)</pre>
<div class="block">Computes <code>sqrt(a^2^ + b^2^)</code> without intermediate overflow or underflow.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>l</code> - (undocumented)</dd><dd><code>rightName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="least(scala.collection.Seq)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>least</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> least(scala.collection.Seq<<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>> exprs)</pre>
<div class="block">Returns the least value of the list of values, skipping null values.
This function takes at least 2 parameters. It will return null iff all parameters are null.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>exprs</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="least(java.lang.String, scala.collection.Seq)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>least</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> least(java.lang.String columnName,
scala.collection.Seq<java.lang.String> columnNames)</pre>
<div class="block">Returns the least value of the list of column names, skipping null values.
This function takes at least 2 parameters. It will return null iff all parameters are null.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd><dd><code>columnNames</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="log(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>log</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> log(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Computes the natural logarithm of the given value.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="log(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>log</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> log(java.lang.String columnName)</pre>
<div class="block">Computes the natural logarithm of the given column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="log(double, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>log</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> log(double base,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> a)</pre>
<div class="block">Returns the first argument-base logarithm of the second argument.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>base</code> - (undocumented)</dd><dd><code>a</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="log(double, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>log</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> log(double base,
java.lang.String columnName)</pre>
<div class="block">Returns the first argument-base logarithm of the second argument.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>base</code> - (undocumented)</dd><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="log10(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>log10</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> log10(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Computes the logarithm of the given value in base 10.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="log10(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>log10</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> log10(java.lang.String columnName)</pre>
<div class="block">Computes the logarithm of the given value in base 10.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="log1p(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>log1p</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> log1p(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Computes the natural logarithm of the given value plus one.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="log1p(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>log1p</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> log1p(java.lang.String columnName)</pre>
<div class="block">Computes the natural logarithm of the given column plus one.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="log2(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>log2</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> log2(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> expr)</pre>
<div class="block">Computes the logarithm of the given column in base 2.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>expr</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="log2(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>log2</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> log2(java.lang.String columnName)</pre>
<div class="block">Computes the logarithm of the given value in base 2.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="pow(org.apache.spark.sql.Column, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pow</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> pow(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> l,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> r)</pre>
<div class="block">Returns the value of the first argument raised to the power of the second argument.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>l</code> - (undocumented)</dd><dd><code>r</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="pow(org.apache.spark.sql.Column, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pow</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> pow(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> l,
java.lang.String rightName)</pre>
<div class="block">Returns the value of the first argument raised to the power of the second argument.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>l</code> - (undocumented)</dd><dd><code>rightName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="pow(java.lang.String, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pow</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> pow(java.lang.String leftName,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> r)</pre>
<div class="block">Returns the value of the first argument raised to the power of the second argument.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>leftName</code> - (undocumented)</dd><dd><code>r</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="pow(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pow</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> pow(java.lang.String leftName,
java.lang.String rightName)</pre>
<div class="block">Returns the value of the first argument raised to the power of the second argument.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>leftName</code> - (undocumented)</dd><dd><code>rightName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="pow(org.apache.spark.sql.Column, double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pow</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> pow(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> l,
double r)</pre>
<div class="block">Returns the value of the first argument raised to the power of the second argument.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>l</code> - (undocumented)</dd><dd><code>r</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="pow(java.lang.String, double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pow</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> pow(java.lang.String leftName,
double r)</pre>
<div class="block">Returns the value of the first argument raised to the power of the second argument.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>leftName</code> - (undocumented)</dd><dd><code>r</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="pow(double, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pow</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> pow(double l,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> r)</pre>
<div class="block">Returns the value of the first argument raised to the power of the second argument.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>l</code> - (undocumented)</dd><dd><code>r</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="pow(double, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pow</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> pow(double l,
java.lang.String rightName)</pre>
<div class="block">Returns the value of the first argument raised to the power of the second argument.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>l</code> - (undocumented)</dd><dd><code>rightName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="pmod(org.apache.spark.sql.Column, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pmod</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> pmod(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> dividend,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> divisor)</pre>
<div class="block">Returns the positive value of dividend mod divisor.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dividend</code> - (undocumented)</dd><dd><code>divisor</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="rint(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rint</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> rint(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Returns the double value that is closest in value to the argument and
is equal to a mathematical integer.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="rint(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rint</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> rint(java.lang.String columnName)</pre>
<div class="block">Returns the double value that is closest in value to the argument and
is equal to a mathematical integer.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="round(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>round</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> round(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Returns the value of the column <code>e</code> rounded to 0 decimal places.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="round(org.apache.spark.sql.Column, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>round</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> round(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
int scale)</pre>
<div class="block">Round the value of <code>e</code> to <code>scale</code> decimal places if <code>scale</code> >= 0
or at integral part when <code>scale</code> < 0.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd><dd><code>scale</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="shiftLeft(org.apache.spark.sql.Column, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shiftLeft</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> shiftLeft(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
int numBits)</pre>
<div class="block">Shift the the given value numBits left. If the given value is a long value, this function
will return a long value else it will return an integer value.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd><dd><code>numBits</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="shiftRight(org.apache.spark.sql.Column, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shiftRight</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> shiftRight(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
int numBits)</pre>
<div class="block">Shift the the given value numBits right. If the given value is a long value, it will return
a long value else it will return an integer value.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd><dd><code>numBits</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="shiftRightUnsigned(org.apache.spark.sql.Column, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shiftRightUnsigned</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> shiftRightUnsigned(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
int numBits)</pre>
<div class="block">Unsigned shift the the given value numBits right. If the given value is a long value,
it will return a long value else it will return an integer value.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd><dd><code>numBits</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="signum(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>signum</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> signum(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Computes the signum of the given value.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="signum(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>signum</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> signum(java.lang.String columnName)</pre>
<div class="block">Computes the signum of the given column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="sin(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sin</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> sin(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Computes the sine of the given value.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="sin(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sin</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> sin(java.lang.String columnName)</pre>
<div class="block">Computes the sine of the given column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="sinh(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sinh</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> sinh(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Computes the hyperbolic sine of the given value.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="sinh(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sinh</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> sinh(java.lang.String columnName)</pre>
<div class="block">Computes the hyperbolic sine of the given column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="tan(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tan</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> tan(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Computes the tangent of the given value.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="tan(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tan</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> tan(java.lang.String columnName)</pre>
<div class="block">Computes the tangent of the given column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="tanh(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tanh</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> tanh(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Computes the hyperbolic tangent of the given value.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="tanh(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tanh</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> tanh(java.lang.String columnName)</pre>
<div class="block">Computes the hyperbolic tangent of the given column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="toDegrees(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toDegrees</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> toDegrees(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Converts an angle measured in radians to an approximately equivalent angle measured in degrees.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="toDegrees(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toDegrees</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> toDegrees(java.lang.String columnName)</pre>
<div class="block">Converts an angle measured in radians to an approximately equivalent angle measured in degrees.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="toRadians(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toRadians</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> toRadians(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Converts an angle measured in degrees to an approximately equivalent angle measured in radians.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="toRadians(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toRadians</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> toRadians(java.lang.String columnName)</pre>
<div class="block">Converts an angle measured in degrees to an approximately equivalent angle measured in radians.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>columnName</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
<a name="md5(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>md5</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> md5(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Calculates the MD5 digest of a binary column and returns the value
as a 32 character hex string.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="sha1(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sha1</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> sha1(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Calculates the SHA-1 digest of a binary column and returns the value
as a 40 character hex string.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="sha2(org.apache.spark.sql.Column, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sha2</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> sha2(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
int numBits)</pre>
<div class="block">Calculates the SHA-2 family of hash functions of a binary column and
returns the value as a hex string.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - column to compute SHA-2 on.</dd><dd><code>numBits</code> - one of 224, 256, 384, or 512.
<p></dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="crc32(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>crc32</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> crc32(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Calculates the cyclic redundancy check value (CRC32) of a binary column and
returns the value as a bigint.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="ascii(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ascii</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> ascii(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Computes the numeric value of the first character of the string column, and returns the
result as a int column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="base64(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>base64</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> base64(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Computes the BASE64 encoding of a binary column and returns it as a string column.
This is the reverse of unbase64.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="concat(scala.collection.Seq)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>concat</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> concat(scala.collection.Seq<<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>> exprs)</pre>
<div class="block">Concatenates multiple input string columns together into a single string column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>exprs</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="concat_ws(java.lang.String, scala.collection.Seq)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>concat_ws</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> concat_ws(java.lang.String sep,
scala.collection.Seq<<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>> exprs)</pre>
<div class="block">Concatenates multiple input string columns together into a single string column,
using the given separator.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>sep</code> - (undocumented)</dd><dd><code>exprs</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="decode(org.apache.spark.sql.Column, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>decode</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> decode(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> value,
java.lang.String charset)</pre>
<div class="block">Computes the first argument into a string from a binary using the provided character set
(one of 'US-ASCII', 'ISO-8859-1', 'UTF-8', 'UTF-16BE', 'UTF-16LE', 'UTF-16').
If either argument is null, the result will also be null.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - (undocumented)</dd><dd><code>charset</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="encode(org.apache.spark.sql.Column, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>encode</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> encode(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> value,
java.lang.String charset)</pre>
<div class="block">Computes the first argument into a binary from a string using the provided character set
(one of 'US-ASCII', 'ISO-8859-1', 'UTF-8', 'UTF-16BE', 'UTF-16LE', 'UTF-16').
If either argument is null, the result will also be null.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - (undocumented)</dd><dd><code>charset</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="format_number(org.apache.spark.sql.Column, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>format_number</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> format_number(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> x,
int d)</pre>
<div class="block">Formats numeric column x to a format like '#,###,###.##', rounded to d decimal places,
and returns the result as a string column.
<p>
If d is 0, the result has no decimal point or fractional part.
If d < 0, the result will be null.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - (undocumented)</dd><dd><code>d</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="format_string(java.lang.String, scala.collection.Seq)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>format_string</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> format_string(java.lang.String format,
scala.collection.Seq<<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>> arguments)</pre>
<div class="block">Formats the arguments in printf-style and returns the result as a string column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>format</code> - (undocumented)</dd><dd><code>arguments</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="initcap(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initcap</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> initcap(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Returns a new string column by converting the first letter of each word to uppercase.
Words are delimited by whitespace.
<p>
For example, "hello world" will become "Hello World".
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="instr(org.apache.spark.sql.Column, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>instr</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> instr(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> str,
java.lang.String substring)</pre>
<div class="block">Locate the position of the first occurrence of substr column in the given string.
Returns null if either of the arguments are null.
<p>
NOTE: The position is not zero based, but 1 based index, returns 0 if substr
could not be found in str.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - (undocumented)</dd><dd><code>substring</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="length(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>length</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> length(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Computes the length of a given string or binary column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="lower(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lower</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> lower(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Converts a string column to lower case.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="levenshtein(org.apache.spark.sql.Column, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>levenshtein</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> levenshtein(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> l,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> r)</pre>
<div class="block">Computes the Levenshtein distance of the two given string columns.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>l</code> - (undocumented)</dd><dd><code>r</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="locate(java.lang.String, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>locate</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> locate(java.lang.String substr,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> str)</pre>
<div class="block">Locate the position of the first occurrence of substr.
NOTE: The position is not zero based, but 1 based index, returns 0 if substr
could not be found in str.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>substr</code> - (undocumented)</dd><dd><code>str</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="locate(java.lang.String, org.apache.spark.sql.Column, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>locate</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> locate(java.lang.String substr,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> str,
int pos)</pre>
<div class="block">Locate the position of the first occurrence of substr in a string column, after position pos.
<p>
NOTE: The position is not zero based, but 1 based index. returns 0 if substr
could not be found in str.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>substr</code> - (undocumented)</dd><dd><code>str</code> - (undocumented)</dd><dd><code>pos</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="lpad(org.apache.spark.sql.Column, int, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lpad</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> lpad(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> str,
int len,
java.lang.String pad)</pre>
<div class="block">Left-pad the string column with
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - (undocumented)</dd><dd><code>len</code> - (undocumented)</dd><dd><code>pad</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="ltrim(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ltrim</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> ltrim(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Trim the spaces from left end for the specified string value.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="regexp_extract(org.apache.spark.sql.Column, java.lang.String, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>regexp_extract</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> regexp_extract(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
java.lang.String exp,
int groupIdx)</pre>
<div class="block">Extract a specific(idx) group identified by a java regex, from the specified string column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd><dd><code>exp</code> - (undocumented)</dd><dd><code>groupIdx</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="regexp_replace(org.apache.spark.sql.Column, java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>regexp_replace</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> regexp_replace(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
java.lang.String pattern,
java.lang.String replacement)</pre>
<div class="block">Replace all substrings of the specified string value that match regexp with rep.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd><dd><code>pattern</code> - (undocumented)</dd><dd><code>replacement</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="unbase64(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unbase64</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> unbase64(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Decodes a BASE64 encoded string column and returns it as a binary column.
This is the reverse of base64.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="rpad(org.apache.spark.sql.Column, int, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rpad</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> rpad(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> str,
int len,
java.lang.String pad)</pre>
<div class="block">Right-padded with pad to a length of len.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - (undocumented)</dd><dd><code>len</code> - (undocumented)</dd><dd><code>pad</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="repeat(org.apache.spark.sql.Column, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>repeat</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> repeat(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> str,
int n)</pre>
<div class="block">Repeats a string column n times, and returns it as a new string column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - (undocumented)</dd><dd><code>n</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="reverse(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reverse</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> reverse(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> str)</pre>
<div class="block">Reverses the string column and returns it as a new string column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="rtrim(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rtrim</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> rtrim(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Trim the spaces from right end for the specified string value.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="soundex(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>soundex</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> soundex(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">* Return the soundex code for the specified expression.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="split(org.apache.spark.sql.Column, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>split</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> split(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> str,
java.lang.String pattern)</pre>
<div class="block">Splits str around pattern (pattern is a regular expression).
NOTE: pattern is a string represent the regular expression.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - (undocumented)</dd><dd><code>pattern</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="substring(org.apache.spark.sql.Column, int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>substring</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> substring(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> str,
int pos,
int len)</pre>
<div class="block">Substring starts at <code>pos</code> and is of length <code>len</code> when str is String type or
returns the slice of byte array that starts at <code>pos</code> in byte and is of length <code>len</code>
when str is Binary type
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - (undocumented)</dd><dd><code>pos</code> - (undocumented)</dd><dd><code>len</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="substring_index(org.apache.spark.sql.Column, java.lang.String, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>substring_index</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> substring_index(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> str,
java.lang.String delim,
int count)</pre>
<div class="block">Returns the substring from string str before count occurrences of the delimiter delim.
If count is positive, everything the left of the final delimiter (counting from left) is
returned. If count is negative, every to the right of the final delimiter (counting from the
right) is returned. substring_index performs a case-sensitive match when searching for delim.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - (undocumented)</dd><dd><code>delim</code> - (undocumented)</dd><dd><code>count</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="translate(org.apache.spark.sql.Column, java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>translate</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> translate(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> src,
java.lang.String matchingString,
java.lang.String replaceString)</pre>
<div class="block">Translate any character in the src by a character in replaceString.
The characters in replaceString is corresponding to the characters in matchingString.
The translate will happen when any character in the string matching with the character
in the matchingString.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - (undocumented)</dd><dd><code>matchingString</code> - (undocumented)</dd><dd><code>replaceString</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="trim(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trim</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> trim(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Trim the spaces from both ends for the specified string column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="upper(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>upper</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> upper(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Converts a string column to upper case.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="add_months(org.apache.spark.sql.Column, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add_months</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> add_months(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> startDate,
int numMonths)</pre>
<div class="block">Returns the date that is numMonths after startDate.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>startDate</code> - (undocumented)</dd><dd><code>numMonths</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="current_date()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>current_date</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> current_date()</pre>
<div class="block">Returns the current date as a date column.
<p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="current_timestamp()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>current_timestamp</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> current_timestamp()</pre>
<div class="block">Returns the current timestamp as a timestamp column.
<p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="date_format(org.apache.spark.sql.Column, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>date_format</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> date_format(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> dateExpr,
java.lang.String format)</pre>
<div class="block">Converts a date/timestamp/string to a value of string in the format specified by the date
format given by the second argument.
<p>
A pattern could be for instance <code>dd.MM.yyyy</code> and could return a string like '18.03.1993'. All
pattern letters of <code>SimpleDateFormat</code> can be used.
<p>
NOTE: Use when ever possible specialized functions like <code>year</code>. These benefit from a
specialized implementation.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dateExpr</code> - (undocumented)</dd><dd><code>format</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="date_add(org.apache.spark.sql.Column, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>date_add</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> date_add(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> start,
int days)</pre>
<div class="block">Returns the date that is <code>days</code> days after <code>start</code></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>start</code> - (undocumented)</dd><dd><code>days</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="date_sub(org.apache.spark.sql.Column, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>date_sub</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> date_sub(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> start,
int days)</pre>
<div class="block">Returns the date that is <code>days</code> days before <code>start</code></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>start</code> - (undocumented)</dd><dd><code>days</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="datediff(org.apache.spark.sql.Column, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>datediff</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> datediff(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> end,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> start)</pre>
<div class="block">Returns the number of days from <code>start</code> to <code>end</code>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>end</code> - (undocumented)</dd><dd><code>start</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="year(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>year</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> year(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Extracts the year as an integer from a given date/timestamp/string.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="quarter(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>quarter</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> quarter(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Extracts the quarter as an integer from a given date/timestamp/string.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="month(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>month</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> month(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Extracts the month as an integer from a given date/timestamp/string.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="dayofmonth(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dayofmonth</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> dayofmonth(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Extracts the day of the month as an integer from a given date/timestamp/string.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="dayofyear(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dayofyear</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> dayofyear(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Extracts the day of the year as an integer from a given date/timestamp/string.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="hour(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hour</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> hour(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Extracts the hours as an integer from a given date/timestamp/string.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="last_day(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>last_day</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> last_day(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Given a date column, returns the last day of the month which the given date belongs to.
For example, input "2015-07-27" returns "2015-07-31" since July 31 is the last day of the
month in July 2015.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="minute(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minute</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> minute(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Extracts the minutes as an integer from a given date/timestamp/string.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="months_between(org.apache.spark.sql.Column, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>months_between</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> months_between(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> date1,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> date2)</pre>
</li>
</ul>
<a name="next_day(org.apache.spark.sql.Column, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>next_day</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> next_day(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> date,
java.lang.String dayOfWeek)</pre>
<div class="block">Given a date column, returns the first date which is later than the value of the date column
that is on the specified day of the week.
<p>
For example, <code>next_day('2015-07-27', "Sunday")</code> returns 2015-08-02 because that is the first
Sunday after 2015-07-27.
<p>
Day of the week parameter is case insensitive, and accepts:
"Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun".
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>date</code> - (undocumented)</dd><dd><code>dayOfWeek</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="second(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>second</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> second(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Extracts the seconds as an integer from a given date/timestamp/string.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="weekofyear(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>weekofyear</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> weekofyear(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Extracts the week number as an integer from a given date/timestamp/string.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="from_unixtime(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>from_unixtime</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> from_unixtime(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> ut)</pre>
<div class="block">Converts the number of seconds from unix epoch (1970-01-01 00:00:00 UTC) to a string
representing the timestamp of that moment in the current system time zone in the given
format.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ut</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="from_unixtime(org.apache.spark.sql.Column, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>from_unixtime</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> from_unixtime(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> ut,
java.lang.String f)</pre>
<div class="block">Converts the number of seconds from unix epoch (1970-01-01 00:00:00 UTC) to a string
representing the timestamp of that moment in the current system time zone in the given
format.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ut</code> - (undocumented)</dd><dd><code>f</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="unix_timestamp()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unix_timestamp</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> unix_timestamp()</pre>
<div class="block">Gets current Unix timestamp in seconds.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="unix_timestamp(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unix_timestamp</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> unix_timestamp(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> s)</pre>
<div class="block">Converts time string in format yyyy-MM-dd HH:mm:ss to Unix timestamp (in seconds),
using the default timezone and the default locale, return null if fail.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>s</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="unix_timestamp(org.apache.spark.sql.Column, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unix_timestamp</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> unix_timestamp(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> s,
java.lang.String p)</pre>
<div class="block">Convert time string with given pattern
(see [http://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html])
to Unix time stamp (in seconds), return null if fail.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>s</code> - (undocumented)</dd><dd><code>p</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="to_date(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>to_date</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> to_date(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Converts the column into DateType.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="trunc(org.apache.spark.sql.Column, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trunc</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> trunc(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> date,
java.lang.String format)</pre>
<div class="block">Returns date truncated to the unit specified by the format.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>format:</code> - 'year', 'yyyy', 'yy' for truncate by year,
or 'month', 'mon', 'mm' for truncate by month
<p></dd><dd><code>date</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="from_utc_timestamp(org.apache.spark.sql.Column, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>from_utc_timestamp</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> from_utc_timestamp(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> ts,
java.lang.String tz)</pre>
<div class="block">Assumes given timestamp is UTC and converts to given timezone.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ts</code> - (undocumented)</dd><dd><code>tz</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="to_utc_timestamp(org.apache.spark.sql.Column, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>to_utc_timestamp</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> to_utc_timestamp(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> ts,
java.lang.String tz)</pre>
<div class="block">Assumes given timestamp is in given timezone and converts to UTC.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ts</code> - (undocumented)</dd><dd><code>tz</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="array_contains(org.apache.spark.sql.Column, java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>array_contains</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> array_contains(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> column,
java.lang.Object value)</pre>
<div class="block">Returns true if the array contain the value</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>column</code> - (undocumented)</dd><dd><code>value</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="explode(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>explode</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> explode(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Creates a new row for each element in the given array or map column.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="size(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>size</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> size(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Returns length of array or map.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="sort_array(org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sort_array</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> sort_array(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e)</pre>
<div class="block">Sorts the input array for the given column in ascending order,
according to the natural ordering of the array elements.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="sort_array(org.apache.spark.sql.Column, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sort_array</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> sort_array(<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> e,
boolean asc)</pre>
<div class="block">Sorts the input array for the given column in ascending / descending order,
according to the natural ordering of the array elements.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - (undocumented)</dd><dd><code>asc</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="udf(scala.Function0, scala.reflect.api.TypeTags.TypeTag)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>udf</h4>
<pre>public static <RT> <a href="../../../../org/apache/spark/sql/UserDefinedFunction.html" title="class in org.apache.spark.sql">UserDefinedFunction</a> udf(scala.Function0<RT> f,
scala.reflect.api.TypeTags.TypeTag<RT> evidence$1)</pre>
<div class="block">Defines a user-defined function of 0 arguments as user-defined function (UDF).
The data types are automatically inferred based on the function's signature.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - (undocumented)</dd><dd><code>evidence$1</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="udf(scala.Function1, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>udf</h4>
<pre>public static <RT,A1> <a href="../../../../org/apache/spark/sql/UserDefinedFunction.html" title="class in org.apache.spark.sql">UserDefinedFunction</a> udf(scala.Function1<A1,RT> f,
scala.reflect.api.TypeTags.TypeTag<RT> evidence$2,
scala.reflect.api.TypeTags.TypeTag<A1> evidence$3)</pre>
<div class="block">Defines a user-defined function of 1 arguments as user-defined function (UDF).
The data types are automatically inferred based on the function's signature.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - (undocumented)</dd><dd><code>evidence$2</code> - (undocumented)</dd><dd><code>evidence$3</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="udf(scala.Function2, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>udf</h4>
<pre>public static <RT,A1,A2> <a href="../../../../org/apache/spark/sql/UserDefinedFunction.html" title="class in org.apache.spark.sql">UserDefinedFunction</a> udf(scala.Function2<A1,A2,RT> f,
scala.reflect.api.TypeTags.TypeTag<RT> evidence$4,
scala.reflect.api.TypeTags.TypeTag<A1> evidence$5,
scala.reflect.api.TypeTags.TypeTag<A2> evidence$6)</pre>
<div class="block">Defines a user-defined function of 2 arguments as user-defined function (UDF).
The data types are automatically inferred based on the function's signature.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - (undocumented)</dd><dd><code>evidence$4</code> - (undocumented)</dd><dd><code>evidence$5</code> - (undocumented)</dd><dd><code>evidence$6</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="udf(scala.Function3, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>udf</h4>
<pre>public static <RT,A1,A2,A3> <a href="../../../../org/apache/spark/sql/UserDefinedFunction.html" title="class in org.apache.spark.sql">UserDefinedFunction</a> udf(scala.Function3<A1,A2,A3,RT> f,
scala.reflect.api.TypeTags.TypeTag<RT> evidence$7,
scala.reflect.api.TypeTags.TypeTag<A1> evidence$8,
scala.reflect.api.TypeTags.TypeTag<A2> evidence$9,
scala.reflect.api.TypeTags.TypeTag<A3> evidence$10)</pre>
<div class="block">Defines a user-defined function of 3 arguments as user-defined function (UDF).
The data types are automatically inferred based on the function's signature.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - (undocumented)</dd><dd><code>evidence$7</code> - (undocumented)</dd><dd><code>evidence$8</code> - (undocumented)</dd><dd><code>evidence$9</code> - (undocumented)</dd><dd><code>evidence$10</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="udf(scala.Function4, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>udf</h4>
<pre>public static <RT,A1,A2,A3,A4> <a href="../../../../org/apache/spark/sql/UserDefinedFunction.html" title="class in org.apache.spark.sql">UserDefinedFunction</a> udf(scala.Function4<A1,A2,A3,A4,RT> f,
scala.reflect.api.TypeTags.TypeTag<RT> evidence$11,
scala.reflect.api.TypeTags.TypeTag<A1> evidence$12,
scala.reflect.api.TypeTags.TypeTag<A2> evidence$13,
scala.reflect.api.TypeTags.TypeTag<A3> evidence$14,
scala.reflect.api.TypeTags.TypeTag<A4> evidence$15)</pre>
<div class="block">Defines a user-defined function of 4 arguments as user-defined function (UDF).
The data types are automatically inferred based on the function's signature.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - (undocumented)</dd><dd><code>evidence$11</code> - (undocumented)</dd><dd><code>evidence$12</code> - (undocumented)</dd><dd><code>evidence$13</code> - (undocumented)</dd><dd><code>evidence$14</code> - (undocumented)</dd><dd><code>evidence$15</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="udf(scala.Function5, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>udf</h4>
<pre>public static <RT,A1,A2,A3,A4,A5> <a href="../../../../org/apache/spark/sql/UserDefinedFunction.html" title="class in org.apache.spark.sql">UserDefinedFunction</a> udf(scala.Function5<A1,A2,A3,A4,A5,RT> f,
scala.reflect.api.TypeTags.TypeTag<RT> evidence$16,
scala.reflect.api.TypeTags.TypeTag<A1> evidence$17,
scala.reflect.api.TypeTags.TypeTag<A2> evidence$18,
scala.reflect.api.TypeTags.TypeTag<A3> evidence$19,
scala.reflect.api.TypeTags.TypeTag<A4> evidence$20,
scala.reflect.api.TypeTags.TypeTag<A5> evidence$21)</pre>
<div class="block">Defines a user-defined function of 5 arguments as user-defined function (UDF).
The data types are automatically inferred based on the function's signature.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - (undocumented)</dd><dd><code>evidence$16</code> - (undocumented)</dd><dd><code>evidence$17</code> - (undocumented)</dd><dd><code>evidence$18</code> - (undocumented)</dd><dd><code>evidence$19</code> - (undocumented)</dd><dd><code>evidence$20</code> - (undocumented)</dd><dd><code>evidence$21</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="udf(scala.Function6, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>udf</h4>
<pre>public static <RT,A1,A2,A3,A4,A5,A6> <a href="../../../../org/apache/spark/sql/UserDefinedFunction.html" title="class in org.apache.spark.sql">UserDefinedFunction</a> udf(scala.Function6<A1,A2,A3,A4,A5,A6,RT> f,
scala.reflect.api.TypeTags.TypeTag<RT> evidence$22,
scala.reflect.api.TypeTags.TypeTag<A1> evidence$23,
scala.reflect.api.TypeTags.TypeTag<A2> evidence$24,
scala.reflect.api.TypeTags.TypeTag<A3> evidence$25,
scala.reflect.api.TypeTags.TypeTag<A4> evidence$26,
scala.reflect.api.TypeTags.TypeTag<A5> evidence$27,
scala.reflect.api.TypeTags.TypeTag<A6> evidence$28)</pre>
<div class="block">Defines a user-defined function of 6 arguments as user-defined function (UDF).
The data types are automatically inferred based on the function's signature.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - (undocumented)</dd><dd><code>evidence$22</code> - (undocumented)</dd><dd><code>evidence$23</code> - (undocumented)</dd><dd><code>evidence$24</code> - (undocumented)</dd><dd><code>evidence$25</code> - (undocumented)</dd><dd><code>evidence$26</code> - (undocumented)</dd><dd><code>evidence$27</code> - (undocumented)</dd><dd><code>evidence$28</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="udf(scala.Function7, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>udf</h4>
<pre>public static <RT,A1,A2,A3,A4,A5,A6,A7> <a href="../../../../org/apache/spark/sql/UserDefinedFunction.html" title="class in org.apache.spark.sql">UserDefinedFunction</a> udf(scala.Function7<A1,A2,A3,A4,A5,A6,A7,RT> f,
scala.reflect.api.TypeTags.TypeTag<RT> evidence$29,
scala.reflect.api.TypeTags.TypeTag<A1> evidence$30,
scala.reflect.api.TypeTags.TypeTag<A2> evidence$31,
scala.reflect.api.TypeTags.TypeTag<A3> evidence$32,
scala.reflect.api.TypeTags.TypeTag<A4> evidence$33,
scala.reflect.api.TypeTags.TypeTag<A5> evidence$34,
scala.reflect.api.TypeTags.TypeTag<A6> evidence$35,
scala.reflect.api.TypeTags.TypeTag<A7> evidence$36)</pre>
<div class="block">Defines a user-defined function of 7 arguments as user-defined function (UDF).
The data types are automatically inferred based on the function's signature.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - (undocumented)</dd><dd><code>evidence$29</code> - (undocumented)</dd><dd><code>evidence$30</code> - (undocumented)</dd><dd><code>evidence$31</code> - (undocumented)</dd><dd><code>evidence$32</code> - (undocumented)</dd><dd><code>evidence$33</code> - (undocumented)</dd><dd><code>evidence$34</code> - (undocumented)</dd><dd><code>evidence$35</code> - (undocumented)</dd><dd><code>evidence$36</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="udf(scala.Function8, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>udf</h4>
<pre>public static <RT,A1,A2,A3,A4,A5,A6,A7,A8> <a href="../../../../org/apache/spark/sql/UserDefinedFunction.html" title="class in org.apache.spark.sql">UserDefinedFunction</a> udf(scala.Function8<A1,A2,A3,A4,A5,A6,A7,A8,RT> f,
scala.reflect.api.TypeTags.TypeTag<RT> evidence$37,
scala.reflect.api.TypeTags.TypeTag<A1> evidence$38,
scala.reflect.api.TypeTags.TypeTag<A2> evidence$39,
scala.reflect.api.TypeTags.TypeTag<A3> evidence$40,
scala.reflect.api.TypeTags.TypeTag<A4> evidence$41,
scala.reflect.api.TypeTags.TypeTag<A5> evidence$42,
scala.reflect.api.TypeTags.TypeTag<A6> evidence$43,
scala.reflect.api.TypeTags.TypeTag<A7> evidence$44,
scala.reflect.api.TypeTags.TypeTag<A8> evidence$45)</pre>
<div class="block">Defines a user-defined function of 8 arguments as user-defined function (UDF).
The data types are automatically inferred based on the function's signature.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - (undocumented)</dd><dd><code>evidence$37</code> - (undocumented)</dd><dd><code>evidence$38</code> - (undocumented)</dd><dd><code>evidence$39</code> - (undocumented)</dd><dd><code>evidence$40</code> - (undocumented)</dd><dd><code>evidence$41</code> - (undocumented)</dd><dd><code>evidence$42</code> - (undocumented)</dd><dd><code>evidence$43</code> - (undocumented)</dd><dd><code>evidence$44</code> - (undocumented)</dd><dd><code>evidence$45</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="udf(scala.Function9, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>udf</h4>
<pre>public static <RT,A1,A2,A3,A4,A5,A6,A7,A8,A9> <a href="../../../../org/apache/spark/sql/UserDefinedFunction.html" title="class in org.apache.spark.sql">UserDefinedFunction</a> udf(scala.Function9<A1,A2,A3,A4,A5,A6,A7,A8,A9,RT> f,
scala.reflect.api.TypeTags.TypeTag<RT> evidence$46,
scala.reflect.api.TypeTags.TypeTag<A1> evidence$47,
scala.reflect.api.TypeTags.TypeTag<A2> evidence$48,
scala.reflect.api.TypeTags.TypeTag<A3> evidence$49,
scala.reflect.api.TypeTags.TypeTag<A4> evidence$50,
scala.reflect.api.TypeTags.TypeTag<A5> evidence$51,
scala.reflect.api.TypeTags.TypeTag<A6> evidence$52,
scala.reflect.api.TypeTags.TypeTag<A7> evidence$53,
scala.reflect.api.TypeTags.TypeTag<A8> evidence$54,
scala.reflect.api.TypeTags.TypeTag<A9> evidence$55)</pre>
<div class="block">Defines a user-defined function of 9 arguments as user-defined function (UDF).
The data types are automatically inferred based on the function's signature.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - (undocumented)</dd><dd><code>evidence$46</code> - (undocumented)</dd><dd><code>evidence$47</code> - (undocumented)</dd><dd><code>evidence$48</code> - (undocumented)</dd><dd><code>evidence$49</code> - (undocumented)</dd><dd><code>evidence$50</code> - (undocumented)</dd><dd><code>evidence$51</code> - (undocumented)</dd><dd><code>evidence$52</code> - (undocumented)</dd><dd><code>evidence$53</code> - (undocumented)</dd><dd><code>evidence$54</code> - (undocumented)</dd><dd><code>evidence$55</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="udf(scala.Function10, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag, scala.reflect.api.TypeTags.TypeTag)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>udf</h4>
<pre>public static <RT,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10> <a href="../../../../org/apache/spark/sql/UserDefinedFunction.html" title="class in org.apache.spark.sql">UserDefinedFunction</a> udf(scala.Function10<A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,RT> f,
scala.reflect.api.TypeTags.TypeTag<RT> evidence$56,
scala.reflect.api.TypeTags.TypeTag<A1> evidence$57,
scala.reflect.api.TypeTags.TypeTag<A2> evidence$58,
scala.reflect.api.TypeTags.TypeTag<A3> evidence$59,
scala.reflect.api.TypeTags.TypeTag<A4> evidence$60,
scala.reflect.api.TypeTags.TypeTag<A5> evidence$61,
scala.reflect.api.TypeTags.TypeTag<A6> evidence$62,
scala.reflect.api.TypeTags.TypeTag<A7> evidence$63,
scala.reflect.api.TypeTags.TypeTag<A8> evidence$64,
scala.reflect.api.TypeTags.TypeTag<A9> evidence$65,
scala.reflect.api.TypeTags.TypeTag<A10> evidence$66)</pre>
<div class="block">Defines a user-defined function of 10 arguments as user-defined function (UDF).
The data types are automatically inferred based on the function's signature.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - (undocumented)</dd><dd><code>evidence$56</code> - (undocumented)</dd><dd><code>evidence$57</code> - (undocumented)</dd><dd><code>evidence$58</code> - (undocumented)</dd><dd><code>evidence$59</code> - (undocumented)</dd><dd><code>evidence$60</code> - (undocumented)</dd><dd><code>evidence$61</code> - (undocumented)</dd><dd><code>evidence$62</code> - (undocumented)</dd><dd><code>evidence$63</code> - (undocumented)</dd><dd><code>evidence$64</code> - (undocumented)</dd><dd><code>evidence$65</code> - (undocumented)</dd><dd><code>evidence$66</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="callUDF(scala.Function0, org.apache.spark.sql.types.DataType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>callUDF</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> callUDF(scala.Function0<?> f,
<a href="../../../../org/apache/spark/sql/types/DataType.html" title="class in org.apache.spark.sql.types">DataType</a> returnType)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>As of 1.5.0, since it's redundant with udf()</i></div>
<div class="block">Call a Scala function of 0 arguments as user-defined function (UDF). This requires
you to specify the return data type.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - (undocumented)</dd><dd><code>returnType</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="callUDF(scala.Function1, org.apache.spark.sql.types.DataType, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>callUDF</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> callUDF(scala.Function1<?,?> f,
<a href="../../../../org/apache/spark/sql/types/DataType.html" title="class in org.apache.spark.sql.types">DataType</a> returnType,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg1)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>As of 1.5.0, since it's redundant with udf()</i></div>
<div class="block">Call a Scala function of 1 arguments as user-defined function (UDF). This requires
you to specify the return data type.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - (undocumented)</dd><dd><code>returnType</code> - (undocumented)</dd><dd><code>arg1</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="callUDF(scala.Function2, org.apache.spark.sql.types.DataType, org.apache.spark.sql.Column, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>callUDF</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> callUDF(scala.Function2<?,?,?> f,
<a href="../../../../org/apache/spark/sql/types/DataType.html" title="class in org.apache.spark.sql.types">DataType</a> returnType,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg1,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg2)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>As of 1.5.0, since it's redundant with udf()</i></div>
<div class="block">Call a Scala function of 2 arguments as user-defined function (UDF). This requires
you to specify the return data type.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - (undocumented)</dd><dd><code>returnType</code> - (undocumented)</dd><dd><code>arg1</code> - (undocumented)</dd><dd><code>arg2</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="callUDF(scala.Function3, org.apache.spark.sql.types.DataType, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>callUDF</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> callUDF(scala.Function3<?,?,?,?> f,
<a href="../../../../org/apache/spark/sql/types/DataType.html" title="class in org.apache.spark.sql.types">DataType</a> returnType,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg1,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg2,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg3)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>As of 1.5.0, since it's redundant with udf()</i></div>
<div class="block">Call a Scala function of 3 arguments as user-defined function (UDF). This requires
you to specify the return data type.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - (undocumented)</dd><dd><code>returnType</code> - (undocumented)</dd><dd><code>arg1</code> - (undocumented)</dd><dd><code>arg2</code> - (undocumented)</dd><dd><code>arg3</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="callUDF(scala.Function4, org.apache.spark.sql.types.DataType, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>callUDF</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> callUDF(scala.Function4<?,?,?,?,?> f,
<a href="../../../../org/apache/spark/sql/types/DataType.html" title="class in org.apache.spark.sql.types">DataType</a> returnType,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg1,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg2,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg3,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg4)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>As of 1.5.0, since it's redundant with udf()</i></div>
<div class="block">Call a Scala function of 4 arguments as user-defined function (UDF). This requires
you to specify the return data type.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - (undocumented)</dd><dd><code>returnType</code> - (undocumented)</dd><dd><code>arg1</code> - (undocumented)</dd><dd><code>arg2</code> - (undocumented)</dd><dd><code>arg3</code> - (undocumented)</dd><dd><code>arg4</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="callUDF(scala.Function5, org.apache.spark.sql.types.DataType, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>callUDF</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> callUDF(scala.Function5<?,?,?,?,?,?> f,
<a href="../../../../org/apache/spark/sql/types/DataType.html" title="class in org.apache.spark.sql.types">DataType</a> returnType,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg1,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg2,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg3,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg4,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg5)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>As of 1.5.0, since it's redundant with udf()</i></div>
<div class="block">Call a Scala function of 5 arguments as user-defined function (UDF). This requires
you to specify the return data type.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - (undocumented)</dd><dd><code>returnType</code> - (undocumented)</dd><dd><code>arg1</code> - (undocumented)</dd><dd><code>arg2</code> - (undocumented)</dd><dd><code>arg3</code> - (undocumented)</dd><dd><code>arg4</code> - (undocumented)</dd><dd><code>arg5</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="callUDF(scala.Function6, org.apache.spark.sql.types.DataType, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>callUDF</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> callUDF(scala.Function6<?,?,?,?,?,?,?> f,
<a href="../../../../org/apache/spark/sql/types/DataType.html" title="class in org.apache.spark.sql.types">DataType</a> returnType,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg1,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg2,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg3,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg4,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg5,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg6)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>As of 1.5.0, since it's redundant with udf()</i></div>
<div class="block">Call a Scala function of 6 arguments as user-defined function (UDF). This requires
you to specify the return data type.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - (undocumented)</dd><dd><code>returnType</code> - (undocumented)</dd><dd><code>arg1</code> - (undocumented)</dd><dd><code>arg2</code> - (undocumented)</dd><dd><code>arg3</code> - (undocumented)</dd><dd><code>arg4</code> - (undocumented)</dd><dd><code>arg5</code> - (undocumented)</dd><dd><code>arg6</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="callUDF(scala.Function7, org.apache.spark.sql.types.DataType, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>callUDF</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> callUDF(scala.Function7<?,?,?,?,?,?,?,?> f,
<a href="../../../../org/apache/spark/sql/types/DataType.html" title="class in org.apache.spark.sql.types">DataType</a> returnType,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg1,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg2,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg3,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg4,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg5,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg6,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg7)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>As of 1.5.0, since it's redundant with udf()</i></div>
<div class="block">Call a Scala function of 7 arguments as user-defined function (UDF). This requires
you to specify the return data type.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - (undocumented)</dd><dd><code>returnType</code> - (undocumented)</dd><dd><code>arg1</code> - (undocumented)</dd><dd><code>arg2</code> - (undocumented)</dd><dd><code>arg3</code> - (undocumented)</dd><dd><code>arg4</code> - (undocumented)</dd><dd><code>arg5</code> - (undocumented)</dd><dd><code>arg6</code> - (undocumented)</dd><dd><code>arg7</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="callUDF(scala.Function8, org.apache.spark.sql.types.DataType, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>callUDF</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> callUDF(scala.Function8<?,?,?,?,?,?,?,?,?> f,
<a href="../../../../org/apache/spark/sql/types/DataType.html" title="class in org.apache.spark.sql.types">DataType</a> returnType,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg1,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg2,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg3,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg4,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg5,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg6,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg7,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg8)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>As of 1.5.0, since it's redundant with udf()</i></div>
<div class="block">Call a Scala function of 8 arguments as user-defined function (UDF). This requires
you to specify the return data type.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - (undocumented)</dd><dd><code>returnType</code> - (undocumented)</dd><dd><code>arg1</code> - (undocumented)</dd><dd><code>arg2</code> - (undocumented)</dd><dd><code>arg3</code> - (undocumented)</dd><dd><code>arg4</code> - (undocumented)</dd><dd><code>arg5</code> - (undocumented)</dd><dd><code>arg6</code> - (undocumented)</dd><dd><code>arg7</code> - (undocumented)</dd><dd><code>arg8</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="callUDF(scala.Function9, org.apache.spark.sql.types.DataType, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>callUDF</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> callUDF(scala.Function9<?,?,?,?,?,?,?,?,?,?> f,
<a href="../../../../org/apache/spark/sql/types/DataType.html" title="class in org.apache.spark.sql.types">DataType</a> returnType,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg1,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg2,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg3,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg4,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg5,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg6,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg7,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg8,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg9)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>As of 1.5.0, since it's redundant with udf()</i></div>
<div class="block">Call a Scala function of 9 arguments as user-defined function (UDF). This requires
you to specify the return data type.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - (undocumented)</dd><dd><code>returnType</code> - (undocumented)</dd><dd><code>arg1</code> - (undocumented)</dd><dd><code>arg2</code> - (undocumented)</dd><dd><code>arg3</code> - (undocumented)</dd><dd><code>arg4</code> - (undocumented)</dd><dd><code>arg5</code> - (undocumented)</dd><dd><code>arg6</code> - (undocumented)</dd><dd><code>arg7</code> - (undocumented)</dd><dd><code>arg8</code> - (undocumented)</dd><dd><code>arg9</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="callUDF(scala.Function10, org.apache.spark.sql.types.DataType, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column, org.apache.spark.sql.Column)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>callUDF</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> callUDF(scala.Function10<?,?,?,?,?,?,?,?,?,?,?> f,
<a href="../../../../org/apache/spark/sql/types/DataType.html" title="class in org.apache.spark.sql.types">DataType</a> returnType,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg1,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg2,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg3,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg4,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg5,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg6,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg7,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg8,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg9,
<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> arg10)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>As of 1.5.0, since it's redundant with udf()</i></div>
<div class="block">Call a Scala function of 10 arguments as user-defined function (UDF). This requires
you to specify the return data type.
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - (undocumented)</dd><dd><code>returnType</code> - (undocumented)</dd><dd><code>arg1</code> - (undocumented)</dd><dd><code>arg2</code> - (undocumented)</dd><dd><code>arg3</code> - (undocumented)</dd><dd><code>arg4</code> - (undocumented)</dd><dd><code>arg5</code> - (undocumented)</dd><dd><code>arg6</code> - (undocumented)</dd><dd><code>arg7</code> - (undocumented)</dd><dd><code>arg8</code> - (undocumented)</dd><dd><code>arg9</code> - (undocumented)</dd><dd><code>arg10</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.3.0</dd></dl>
</li>
</ul>
<a name="callUDF(java.lang.String, scala.collection.Seq)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>callUDF</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> callUDF(java.lang.String udfName,
scala.collection.Seq<<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>> cols)</pre>
<div class="block">Call an user-defined function.
Example:
<pre><code>
import org.apache.spark.sql._
val df = Seq(("id1", 1), ("id2", 4), ("id3", 5)).toDF("id", "value")
val sqlContext = df.sqlContext
sqlContext.udf.register("simpleUDF", (v: Int) => v * v)
df.select($"id", callUDF("simpleUDF", $"value"))
</code></pre>
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>udfName</code> - (undocumented)</dd><dd><code>cols</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5.0</dd></dl>
</li>
</ul>
<a name="callUdf(java.lang.String, scala.collection.Seq)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>callUdf</h4>
<pre>public static <a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a> callUdf(java.lang.String udfName,
scala.collection.Seq<<a href="../../../../org/apache/spark/sql/Column.html" title="class in org.apache.spark.sql">Column</a>> cols)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>As of 1.5.0, since it was not coherent to have two functions callUdf and callUDF</i></div>
<div class="block">Call an user-defined function.
Example:
<pre><code>
import org.apache.spark.sql._
val df = Seq(("id1", 1), ("id2", 4), ("id3", 5)).toDF("id", "value")
val sqlContext = df.sqlContext
sqlContext.udf.register("simpleUDF", (v: Int) => v * v)
df.select($"id", callUdf("simpleUDF", $"value"))
</code></pre>
<p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>udfName</code> - (undocumented)</dd><dd><code>cols</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd><dt><span class="strong">Since:</span></dt>
<dd>1.4.0</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/spark/sql/ExperimentalMethods.html" title="class in org.apache.spark.sql"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/spark/sql/GroupedData.html" title="class in org.apache.spark.sql"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/spark/sql/functions.html" target="_top">Frames</a></li>
<li><a href="functions.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li>Field | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<script defer="defer" type="text/javascript" src="../../../../lib/jquery.js"></script><script defer="defer" type="text/javascript" src="../../../../lib/api-javadocs.js"></script></body>
</html>