trait ConnectConversions extends AnyRef
Conversions from sql interfaces to the Connect specific implementation.
This class is mainly used by the implementation. It is also meant to be used by extension developers.
We provide both a trait and an object. The trait is useful in situations where an extension developer needs to use these conversions in a project covering multiple Spark versions. They can create a shim for these conversions, the Spark 4+ version of the shim implements this trait, and shims for older versions do not.
- Annotations
- @DeveloperApi()
- Alphabetic
- By Inheritance
- ConnectConversions
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- implicit class ColumnConstructorExt extends AnyRef
Implicit helper that makes it easy to construct a Column from an Expression or an Expression builder.
Implicit helper that makes it easy to construct a Column from an Expression or an Expression builder. This allows developers to create a Column in the same way as in earlier versions of Spark (before 4.0).
- Annotations
- @DeveloperApi()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- implicit def castToImpl[K, V](kvds: sql.KeyValueGroupedDataset[K, V]): KeyValueGroupedDataset[K, V]
- implicit def castToImpl(rgds: sql.RelationalGroupedDataset): RelationalGroupedDataset
- implicit def castToImpl[T](ds: sql.Dataset[T]): Dataset[T]
- implicit def castToImpl(session: sql.SparkSession): SparkSession
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def column(f: (Builder) => Unit): Column
Create a Column using a function that manipulates an proto.Expression.Builder.
Create a Column using a function that manipulates an proto.Expression.Builder.
This method is meant to be used by Connect plugins. We do not guarantee any compatibility between (minor) versions.
- Annotations
- @DeveloperApi()
- def column(expr: Expression): Column
Create a Column from a proto.Expression
Create a Column from a proto.Expression
This method is meant to be used by Connect plugins. We do not guarantee any compatibility between (minor) versions.
- Annotations
- @DeveloperApi()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)