Returns a Sequence of attributes for the given case class type.
Returns the full class name for a type.
Returns classes of input parameters of scala function object.
Return the Scala Type for T
in the current classloader mirror.
Return the Scala Type for T
in the current classloader mirror.
Use this method instead of the convenience method universe.typeOf
, which
assumes that all types can be found in the classloader that loaded scala-reflect classes.
That's not necessarily the case when running using Eclipse launchers or even
Sbt console or test (without fork := true
).
SPARK-5281
Returns a catalyst DataType and its nullability for the given Scala Type using reflection.
Returns a catalyst DataType and its nullability for the given Scala Type using reflection.
Returns a catalyst DataType and its nullability for the given Scala Type using reflection.
Returns a catalyst DataType and its nullability for the given Scala Type using reflection.
Unlike schemaFor
, this method won't throw exception for un-supported type, it will return
NullType
silently instead.
Support for generating catalyst schemas for scala objects. Note that unlike its companion object, this trait able to work in both the runtime and the compile time (macro) universe.