org.apache.spark.sql.expressions
ScalaUserDefinedFunction
Companion object ScalaUserDefinedFunction
case class ScalaUserDefinedFunction extends UserDefinedFunction with Product with Serializable
Holder class for a scala user-defined function and it's input/output encoder(s).
- Alphabetic
- By Inheritance
- ScalaUserDefinedFunction
- Serializable
- Serializable
- Product
- Equals
- UserDefinedFunction
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
- val aggregate: Boolean
-
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
- ScalaUserDefinedFunction → UserDefinedFunction
- Annotations
- @varargs()
- Since
3.4.0
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asNonNullable(): ScalaUserDefinedFunction
Updates UserDefinedFunction to non-nullable.
Updates UserDefinedFunction to non-nullable.
- Definition Classes
- ScalaUserDefinedFunction → UserDefinedFunction
- Since
3.4.0
-
def
asNondeterministic(): ScalaUserDefinedFunction
Updates UserDefinedFunction to nondeterministic.
Updates UserDefinedFunction to nondeterministic.
- Definition Classes
- ScalaUserDefinedFunction → UserDefinedFunction
- Since
3.4.0
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
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
- ScalaUserDefinedFunction → UserDefinedFunction
- Since
3.4.0
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
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
- ScalaUserDefinedFunction → UserDefinedFunction
- Since
3.4.0
- val outputType: DataType
- 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( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withName(name: String): ScalaUserDefinedFunction
Updates UserDefinedFunction with a given name.
Updates UserDefinedFunction with a given name.
- Definition Classes
- ScalaUserDefinedFunction → 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