public class EncoderHelpers
extends java.lang.Object
Encoders
utility class.Modifier and Type | Class and Description |
---|---|
static class |
EncoderHelpers.DecodeUsingBeamCoder<T>
Catalyst Expression that deserializes elements using Beam
Coder . |
static class |
EncoderHelpers.EncodeUsingBeamCoder<T>
Catalyst Expression that serializes elements using Beam
Coder . |
Constructor and Description |
---|
EncoderHelpers() |
Modifier and Type | Method and Description |
---|---|
static <T> org.apache.spark.sql.Encoder<T> |
fromBeamCoder(Coder<T> coder)
Wrap a Beam coder into a Spark Encoder using Catalyst Expression Encoders (which uses java code
generation).
|
public static <T> org.apache.spark.sql.Encoder<T> fromBeamCoder(Coder<T> coder)