case class UDTEncoder[E >: Null](udt: UserDefinedType[E], udtClass: Class[_ <: UserDefinedType[_]]) extends AgnosticEncoder[E] with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- UDTEncoder
- Product
- Equals
- AgnosticEncoder
- Encoder
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new UDTEncoder(udt: UserDefinedType[E], udtClass: Class[_ <: UserDefinedType[_]])
Value Members
- def clsTag: ClassTag[E]
A ClassTag that can be used to construct an Array to contain a collection of
T
.A ClassTag that can be used to construct an Array to contain a collection of
T
.- Definition Classes
- UDTEncoder → Encoder
- def dataType: DataType
- Definition Classes
- UDTEncoder → AgnosticEncoder
- def isPrimitive: Boolean
- Definition Classes
- UDTEncoder → AgnosticEncoder
- def isStruct: Boolean
- Definition Classes
- AgnosticEncoder
- def lenientSerialization: Boolean
- Definition Classes
- AgnosticEncoder
- def nullable: Boolean
- Definition Classes
- AgnosticEncoder
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def schema: StructType
Returns the schema of encoding this type of object as a Row.
Returns the schema of encoding this type of object as a Row.
- Definition Classes
- AgnosticEncoder → Encoder
- val udt: UserDefinedType[E]
- val udtClass: Class[_ <: UserDefinedType[_]]