trait RapidsUDF extends AnyRef
A RAPIDS accelerated version of a user-defined function (UDF).
- Alphabetic
- By Inheritance
- RapidsUDF
- 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
evaluateColumnar(numRows: Int, args: <repeated...>[ColumnVector]): ColumnVector
Evaluate a user-defined function with RAPIDS cuDF columnar inputs producing a cuDF column as output.
Evaluate a user-defined function with RAPIDS cuDF columnar inputs producing a cuDF column as output. The method must return a column of the appropriate type that corresponds to the type returned by the CPU implementation of the UDF (e.g.: INT32 for int, FLOAT64 for double, STRING for String, etc) or a runtime exception will occur when the results are marshalled into the expected Spark result type for the UDF. The number of rows of output must match the number of rows specified, and all input columns must have that same number of rows.
Note that the inputs should NOT be closed by this method, as they will be closed by the caller. This method must close any intermediate cuDF results produced during the computation (e.g.:
Table,ColumnVectororScalarinstances).- numRows
number of rows of output to return
- args
columnar inputs to the UDF that will be closed by the caller and should not be closed within this method.
- returns
columnar output from the user-defined function
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @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
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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()
Deprecated Value Members
-
def
evaluateColumnar(args: <repeated...>[ColumnVector]): ColumnVector
Evaluate a user-defined function with RAPIDS cuDF columnar inputs producing a cuDF column as output.
Evaluate a user-defined function with RAPIDS cuDF columnar inputs producing a cuDF column as output. The method must return a column of the appropriate type that corresponds to the type returned by the CPU implementation of the UDF (e.g.: INT32 for int, FLOAT64 for double, STRING for String, etc) or a runtime exception will occur when the results are marshalled into the expected Spark result type for the UDF. The number of rows of output must match the number of rows for the input arguments, which will all have the same row count.
Note that the inputs should NOT be closed by this method, as they will be closed by the caller. This method must close any intermediate cuDF results produced during the computation (e.g.:
Table,ColumnVectororScalarinstances).- args
columnar inputs to the UDF that will be closed by the caller and should not be closed within this method.
- returns
columnar output from the user-defined function
- Annotations
- @Deprecated
- Deprecated