org.apache.spark.sql.expressions
ScalarUserDefinedFunction
Companion object ScalarUserDefinedFunction
case class ScalarUserDefinedFunction extends UserDefinedFunction with Product with Serializable
Holder class for a scalar user-defined function and it's input/output encoder(s).
- Alphabetic
- By Inheritance
- ScalarUserDefinedFunction
- Serializable
- Product
- Equals
- UserDefinedFunction
- AnyRef
- Any
- Hide All
- Show All
- 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
- def apply(exprs: Column*): Column
Returns an expression that invokes the UDF, using the given arguments.
Returns an expression that invokes the UDF, using the given arguments.
- Definition Classes
- ScalarUserDefinedFunction → UserDefinedFunction
- Annotations
- @varargs()
- Since
3.4.0
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asNonNullable(): ScalarUserDefinedFunction
Updates UserDefinedFunction to non-nullable.
Updates UserDefinedFunction to non-nullable.
- Definition Classes
- ScalarUserDefinedFunction → UserDefinedFunction
- Since
3.4.0
- def asNondeterministic(): ScalarUserDefinedFunction
Updates UserDefinedFunction to nondeterministic.
Updates UserDefinedFunction to nondeterministic.
- Definition Classes
- ScalarUserDefinedFunction → UserDefinedFunction
- Since
3.4.0
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val deterministic: Boolean
Returns true iff the UDF is deterministic, i.e.
Returns true iff the UDF is deterministic, i.e. the UDF produces the same output given the same input.
- Definition Classes
- ScalarUserDefinedFunction → UserDefinedFunction
- Since
3.4.0
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- val inputTypes: Seq[DataType]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: Option[String]
- 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()
- val nullable: Boolean
Returns true when the UDF can return a nullable value.
Returns true when the UDF can return a nullable value.
- Definition Classes
- ScalarUserDefinedFunction → UserDefinedFunction
- Since
3.4.0
- val outputType: DataType
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val serializedUdfPacket: Array[Byte]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toProto: CommonInlineUserDefinedFunction
- 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])
- def withName(name: String): ScalarUserDefinedFunction
Updates UserDefinedFunction with a given name.
Updates UserDefinedFunction with a given name.
- Definition Classes
- ScalarUserDefinedFunction → UserDefinedFunction
- Since
3.4.0
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)