public abstract class SQLImplicits
extends java.lang.Object
DataFrame
s.
Constructor and Description |
---|
SQLImplicits() |
Modifier and Type | Method and Description |
---|---|
protected abstract SQLContext |
_sqlContext() |
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$7)
Creates a DataFrame from a local Seq of Product.
|
<T> DatasetHolder<T> |
localSeqToDatasetHolder(scala.collection.Seq<T> s,
Encoder<T> evidence$5)
Creates a
Dataset from a local Seq. |
DataFrameHolder |
longRddToDataFrameHolder(RDD<java.lang.Object> data)
Creates a single column DataFrame from an RDD[Long].
|
Encoder<boolean[]> |
newBooleanArrayEncoder() |
Encoder<java.lang.Object> |
newBooleanEncoder() |
Encoder<scala.collection.Seq<java.lang.Object>> |
newBooleanSeqEncoder() |
Encoder<byte[]> |
newByteArrayEncoder() |
Encoder<java.lang.Object> |
newByteEncoder() |
Encoder<scala.collection.Seq<java.lang.Object>> |
newByteSeqEncoder() |
Encoder<double[]> |
newDoubleArrayEncoder() |
Encoder<java.lang.Object> |
newDoubleEncoder() |
Encoder<scala.collection.Seq<java.lang.Object>> |
newDoubleSeqEncoder() |
Encoder<float[]> |
newFloatArrayEncoder() |
Encoder<java.lang.Object> |
newFloatEncoder() |
Encoder<scala.collection.Seq<java.lang.Object>> |
newFloatSeqEncoder() |
Encoder<int[]> |
newIntArrayEncoder() |
Encoder<java.lang.Object> |
newIntEncoder() |
Encoder<scala.collection.Seq<java.lang.Object>> |
newIntSeqEncoder() |
Encoder<long[]> |
newLongArrayEncoder() |
Encoder<java.lang.Object> |
newLongEncoder() |
Encoder<scala.collection.Seq<java.lang.Object>> |
newLongSeqEncoder() |
<A extends scala.Product> |
newProductArrayEncoder(scala.reflect.api.TypeTags.TypeTag<A> evidence$3) |
<T extends scala.Product> |
newProductEncoder(scala.reflect.api.TypeTags.TypeTag<T> evidence$1) |
<A extends scala.Product> |
newProductSeqEncoder(scala.reflect.api.TypeTags.TypeTag<A> evidence$2) |
Encoder<short[]> |
newShortArrayEncoder() |
Encoder<java.lang.Object> |
newShortEncoder() |
Encoder<scala.collection.Seq<java.lang.Object>> |
newShortSeqEncoder() |
Encoder<java.lang.String[]> |
newStringArrayEncoder() |
Encoder<java.lang.String> |
newStringEncoder() |
Encoder<scala.collection.Seq<java.lang.String>> |
newStringSeqEncoder() |
<A extends scala.Product> |
rddToDataFrameHolder(RDD<A> rdd,
scala.reflect.api.TypeTags.TypeTag<A> evidence$6)
Creates a DataFrame from an RDD of Product (e.g.
|
<T> DatasetHolder<T> |
rddToDatasetHolder(RDD<T> rdd,
Encoder<T> evidence$4)
Creates a
Dataset from an RDD. |
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 abstract SQLContext _sqlContext()
public <T extends scala.Product> Encoder<T> newProductEncoder(scala.reflect.api.TypeTags.TypeTag<T> evidence$1)
public Encoder<java.lang.Object> newIntEncoder()
public Encoder<java.lang.Object> newLongEncoder()
public Encoder<java.lang.Object> newDoubleEncoder()
public Encoder<java.lang.Object> newFloatEncoder()
public Encoder<java.lang.Object> newByteEncoder()
public Encoder<java.lang.Object> newShortEncoder()
public Encoder<java.lang.Object> newBooleanEncoder()
public Encoder<java.lang.String> newStringEncoder()
public Encoder<scala.collection.Seq<java.lang.Object>> newIntSeqEncoder()
public Encoder<scala.collection.Seq<java.lang.Object>> newLongSeqEncoder()
public Encoder<scala.collection.Seq<java.lang.Object>> newDoubleSeqEncoder()
public Encoder<scala.collection.Seq<java.lang.Object>> newFloatSeqEncoder()
public Encoder<scala.collection.Seq<java.lang.Object>> newByteSeqEncoder()
public Encoder<scala.collection.Seq<java.lang.Object>> newShortSeqEncoder()
public Encoder<scala.collection.Seq<java.lang.Object>> newBooleanSeqEncoder()
public Encoder<scala.collection.Seq<java.lang.String>> newStringSeqEncoder()
public <A extends scala.Product> Encoder<scala.collection.Seq<A>> newProductSeqEncoder(scala.reflect.api.TypeTags.TypeTag<A> evidence$2)
public Encoder<int[]> newIntArrayEncoder()
public Encoder<long[]> newLongArrayEncoder()
public Encoder<double[]> newDoubleArrayEncoder()
public Encoder<float[]> newFloatArrayEncoder()
public Encoder<byte[]> newByteArrayEncoder()
public Encoder<short[]> newShortArrayEncoder()
public Encoder<boolean[]> newBooleanArrayEncoder()
public Encoder<java.lang.String[]> newStringArrayEncoder()
public <A extends scala.Product> Encoder<java.lang.Object> newProductArrayEncoder(scala.reflect.api.TypeTags.TypeTag<A> evidence$3)
public <T> DatasetHolder<T> rddToDatasetHolder(RDD<T> rdd, Encoder<T> evidence$4)
Dataset
from an RDD.rdd
- (undocumented)evidence$4
- (undocumented)public <T> DatasetHolder<T> localSeqToDatasetHolder(scala.collection.Seq<T> s, Encoder<T> evidence$5)
Dataset
from a local Seq.s
- (undocumented)evidence$5
- (undocumented)public ColumnName symbolToColumn(scala.Symbol s)
Symbol
into a Column
.s
- (undocumented)public <A extends scala.Product> DataFrameHolder rddToDataFrameHolder(RDD<A> rdd, scala.reflect.api.TypeTags.TypeTag<A> evidence$6)
rdd
- (undocumented)evidence$6
- (undocumented)public <A extends scala.Product> DataFrameHolder localSeqToDataFrameHolder(scala.collection.Seq<A> data, scala.reflect.api.TypeTags.TypeTag<A> evidence$7)
data
- (undocumented)evidence$7
- (undocumented)public DataFrameHolder intRddToDataFrameHolder(RDD<java.lang.Object> data)
data
- (undocumented)public DataFrameHolder longRddToDataFrameHolder(RDD<java.lang.Object> data)
data
- (undocumented)public DataFrameHolder stringRddToDataFrameHolder(RDD<java.lang.String> data)
data
- (undocumented)