@Internal public interface EncoderProvider
Modifier and Type | Interface and Description |
---|---|
static interface |
EncoderProvider.Factory<T> |
Modifier and Type | Method and Description |
---|---|
default <T> EncoderProvider.Factory<T> |
encoderFactory() |
default <T> org.apache.spark.sql.Encoder<T> |
encoderOf(Coder<T> coder) |
<T> org.apache.spark.sql.Encoder<T> |
encoderOf(Coder<T> coder,
EncoderProvider.Factory<T> factory) |
default <K,V> org.apache.spark.sql.Encoder<K> |
keyEncoderOf(KvCoder<K,V> coder) |
default <K,V> org.apache.spark.sql.Encoder<KV<K,V>> |
kvEncoderOf(KvCoder<K,V> coder) |
default <K,V> org.apache.spark.sql.Encoder<V> |
valueEncoderOf(KvCoder<K,V> coder) |
<T> org.apache.spark.sql.Encoder<T> encoderOf(Coder<T> coder, EncoderProvider.Factory<T> factory)
default <T> org.apache.spark.sql.Encoder<T> encoderOf(Coder<T> coder)
default <K,V> org.apache.spark.sql.Encoder<K> keyEncoderOf(KvCoder<K,V> coder)
default <K,V> org.apache.spark.sql.Encoder<V> valueEncoderOf(KvCoder<K,V> coder)
default <T> EncoderProvider.Factory<T> encoderFactory()