public class SQLContext.implicits$
extends java.lang.Object
implements scala.Serializable
DataFrame
s.
val sqlContext = new SQLContext(sc)
import sqlContext.implicits._
Modifier and Type | Class and Description |
---|---|
class |
SQLContext.implicits$.StringToColumn
Converts $"col name" into an
Column . |
Constructor and Description |
---|
SQLContext.implicits$() |
Modifier and Type | Method and Description |
---|---|
protected SQLContext |
_sqlContext() |
org.apache.spark.sql.DataFrameHolder |
intRddToDataFrameHolder(RDD<java.lang.Object> data)
Creates a single column DataFrame from an RDD[Int].
|
<A extends scala.Product> |
localSeqToDataFrameHolder(scala.collection.Seq<A> data,
scala.reflect.api.TypeTags.TypeTag<A> evidence$2)
Creates a DataFrame from a local Seq of Product.
|
org.apache.spark.sql.DataFrameHolder |
longRddToDataFrameHolder(RDD<java.lang.Object> data)
Creates a single column DataFrame from an RDD[Long].
|
<A extends scala.Product> |
rddToDataFrameHolder(RDD<A> rdd,
scala.reflect.api.TypeTags.TypeTag<A> evidence$1)
Creates a DataFrame from an RDD of Product (e.g.
|
org.apache.spark.sql.DataFrameHolder |
stringRddToDataFrameHolder(RDD<java.lang.String> data)
Creates a single column DataFrame from an RDD[String].
|
ColumnName |
symbolToColumn(scala.Symbol s)
An implicit conversion that turns a Scala
Symbol into a Column . |
protected SQLContext _sqlContext()
public ColumnName symbolToColumn(scala.Symbol s)
Symbol
into a Column
.s
- (undocumented)public <A extends scala.Product> org.apache.spark.sql.DataFrameHolder rddToDataFrameHolder(RDD<A> rdd, scala.reflect.api.TypeTags.TypeTag<A> evidence$1)
rdd
- (undocumented)evidence$1
- (undocumented)public <A extends scala.Product> org.apache.spark.sql.DataFrameHolder localSeqToDataFrameHolder(scala.collection.Seq<A> data, scala.reflect.api.TypeTags.TypeTag<A> evidence$2)
data
- (undocumented)evidence$2
- (undocumented)public org.apache.spark.sql.DataFrameHolder intRddToDataFrameHolder(RDD<java.lang.Object> data)
data
- (undocumented)public org.apache.spark.sql.DataFrameHolder longRddToDataFrameHolder(RDD<java.lang.Object> data)
data
- (undocumented)public org.apache.spark.sql.DataFrameHolder stringRddToDataFrameHolder(RDD<java.lang.String> data)
data
- (undocumented)