object UDFAdaptors extends Serializable
Adaptors from one UDF shape to another. For example adapting a foreach function for use in foreachPartition.
Please note that this class is being used in Spark Connect Scala UDFs. We need to be careful
with any modifications to this class, otherwise we will break backwards compatibility.
Concretely this means you can only add methods to this class. You cannot rename the class, move
it, change its serialVersionUID
, remove methods, change method signatures, or change method
semantics.
- Annotations
- @SerialVersionUID()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- UDFAdaptors
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def coGroupWithMappedValues[K, V, U, R, IV, IU](f: (K, Iterator[V], Iterator[U]) => IterableOnce[R], leftValueMapFunc: Option[(IV) => V], rightValueMapFunc: Option[(IU) => U]): (K, Iterator[IV], Iterator[IU]) => IterableOnce[R]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def flatMapGroupsWithMappedValues[K, IV, V, R](f: (K, Iterator[V]) => IterableOnce[R], valueMapFunc: Option[(IV) => V]): (K, Iterator[IV]) => IterableOnce[R]
- def flatMapGroupsWithStateWithMappedValues[K, IV, V, S, U](f: (K, Iterator[V], GroupState[S]) => Iterator[U], valueMapFunc: Option[(IV) => V]): (K, Iterator[IV], GroupState[S]) => Iterator[U]
- def flatMapToMapPartitions[V, U](f: FlatMapFunction[V, U]): (Iterator[V]) => Iterator[U]
- def flatMapToMapPartitions[V, U](f: (V) => IterableOnce[U]): (Iterator[V]) => Iterator[U]
- def foreachPartitionToMapPartitions[V, U](f: (Iterator[V]) => Unit): (Iterator[V]) => Iterator[U]
- def foreachToForeachPartition[T](f: ForeachFunction[T]): (Iterator[T]) => Unit
- def foreachToForeachPartition[T](f: (T) => Unit): (Iterator[T]) => Unit
- 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
- def iterableOnceToSeq[A, B](f: (A) => IterableOnce[B]): (A) => Seq[B]
- def mapGroupsToFlatMapGroups[K, V, U](f: (K, Iterator[V]) => U): (K, Iterator[V]) => Iterator[U]
- def mapGroupsWithStateToFlatMapWithState[K, V, S, U](f: (K, Iterator[V], GroupState[S]) => U): (K, Iterator[V], GroupState[S]) => Iterator[U]
- def mapToMapPartitions[V, U](f: MapFunction[V, U]): (Iterator[V]) => Iterator[U]
- def mapToMapPartitions[V, U](f: (V) => U): (Iterator[V]) => Iterator[U]
- 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)