org.apache.spark.sql.catalyst

encoders

package encoders

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. encoders
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class ExpressionEncoder[T](schema: StructType, flat: Boolean, serializer: Seq[Expression], deserializer: Expression, clsTag: ClassTag[T]) extends Encoder[T] with Product with Serializable

    A generic encoder for JVM objects.

Value Members

  1. object ExpressionEncoder extends Serializable

    A factory for constructing encoders that convert objects and primitives to and from the internal row format using catalyst expressions and code generation.

  2. object OuterScopes

  3. object RowEncoder

    A factory for constructing encoders that convert external row to/from the Spark SQL internal binary representation.

  4. def encoderFor[A](implicit arg0: Encoder[A]): ExpressionEncoder[A]

    Returns an internal encoder object that can be used to serialize / deserialize JVM objects into Spark SQL rows.

    Returns an internal encoder object that can be used to serialize / deserialize JVM objects into Spark SQL rows. The implicit encoder should always be unresolved (i.e. have no attribute references from a specific schema.) This requirement allows us to preserve whether a given object type is being bound by name or by ordinal when doing resolution.

Inherited from AnyRef

Inherited from Any

Ungrouped