public abstract class SQLImplicits
extends Object
DataFrame
s.
Constructor and Description |
---|
SQLImplicits() |
Modifier and Type | Method and Description |
---|---|
DataFrameHolder |
intRddToDataFrameHolder(RDD<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<Object> data)
Creates a single column DataFrame from an RDD[Long].
|
Encoder<boolean[]> |
newBooleanArrayEncoder() |
Encoder<Object> |
newBooleanEncoder() |
Encoder<scala.collection.Seq<Object>> |
newBooleanSeqEncoder() |
Encoder<byte[]> |
newByteArrayEncoder() |
Encoder<Object> |
newByteEncoder() |
Encoder<scala.collection.Seq<Object>> |
newByteSeqEncoder() |
Encoder<double[]> |
newDoubleArrayEncoder() |
Encoder<Object> |
newDoubleEncoder() |
Encoder<scala.collection.Seq<Object>> |
newDoubleSeqEncoder() |
Encoder<float[]> |
newFloatArrayEncoder() |
Encoder<Object> |
newFloatEncoder() |
Encoder<scala.collection.Seq<Object>> |
newFloatSeqEncoder() |
Encoder<int[]> |
newIntArrayEncoder() |
Encoder<Object> |
newIntEncoder() |
Encoder<scala.collection.Seq<Object>> |
newIntSeqEncoder() |
Encoder<long[]> |
newLongArrayEncoder() |
Encoder<Object> |
newLongEncoder() |
Encoder<scala.collection.Seq<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<Object> |
newShortEncoder() |
Encoder<scala.collection.Seq<Object>> |
newShortSeqEncoder() |
Encoder<String[]> |
newStringArrayEncoder() |
Encoder<String> |
newStringEncoder() |
Encoder<scala.collection.Seq<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<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 . |
public <T extends scala.Product> Encoder<T> newProductEncoder(scala.reflect.api.TypeTags.TypeTag<T> evidence$1)
public Encoder<Object> newIntEncoder()
public Encoder<Object> newLongEncoder()
public Encoder<Object> newDoubleEncoder()
public Encoder<Object> newFloatEncoder()
public Encoder<Object> newByteEncoder()
public Encoder<Object> newShortEncoder()
public Encoder<Object> newBooleanEncoder()
public Encoder<String> newStringEncoder()
public Encoder<scala.collection.Seq<Object>> newIntSeqEncoder()
public Encoder<scala.collection.Seq<Object>> newLongSeqEncoder()
public Encoder<scala.collection.Seq<Object>> newDoubleSeqEncoder()
public Encoder<scala.collection.Seq<Object>> newFloatSeqEncoder()
public Encoder<scala.collection.Seq<Object>> newByteSeqEncoder()
public Encoder<scala.collection.Seq<Object>> newShortSeqEncoder()
public Encoder<scala.collection.Seq<Object>> newBooleanSeqEncoder()
public Encoder<scala.collection.Seq<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<String[]> newStringArrayEncoder()
public <A extends scala.Product> Encoder<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<Object> data)
data
- (undocumented)public DataFrameHolder longRddToDataFrameHolder(RDD<Object> data)
data
- (undocumented)public DataFrameHolder stringRddToDataFrameHolder(RDD<String> data)
data
- (undocumented)