public abstract class SQLImplicits
extends Object
Dataset
s.
Modifier and Type | Class and Description |
---|---|
class |
SQLImplicits.StringToColumn
Converts $"col name" into a
Column . |
Constructor and Description |
---|
SQLImplicits() |
Modifier and Type | Method and Description |
---|---|
<T> DatasetHolder<T> |
localSeqToDatasetHolder(scala.collection.Seq<T> s,
Encoder<T> evidence$5)
Creates a
Dataset from a local Seq. |
Encoder<boolean[]> |
newBooleanArrayEncoder() |
Encoder<Object> |
newBooleanEncoder() |
Encoder<scala.collection.Seq<Object>> |
newBooleanSeqEncoder() |
Encoder<Boolean> |
newBoxedBooleanEncoder() |
Encoder<Byte> |
newBoxedByteEncoder() |
Encoder<Double> |
newBoxedDoubleEncoder() |
Encoder<Float> |
newBoxedFloatEncoder() |
Encoder<Integer> |
newBoxedIntEncoder() |
Encoder<Long> |
newBoxedLongEncoder() |
Encoder<Short> |
newBoxedShortEncoder() |
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() |
<T> DatasetHolder<T> |
rddToDatasetHolder(RDD<T> rdd,
Encoder<T> evidence$4)
Creates a
Dataset from an RDD. |
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<Integer> newBoxedIntEncoder()
public Encoder<Long> newBoxedLongEncoder()
public Encoder<Double> newBoxedDoubleEncoder()
public Encoder<Float> newBoxedFloatEncoder()
public Encoder<Byte> newBoxedByteEncoder()
public Encoder<Short> newBoxedShortEncoder()
public Encoder<Boolean> newBoxedBooleanEncoder()
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)