Packages

t

org.apache.spark.sql.hive.rapids

GpuHiveUDFBase

trait GpuHiveUDFBase extends Expression with GpuUserDefinedFunction

Common implementation across Hive UDFs

Linear Supertypes
GpuUserDefinedFunction, Serializable, Serializable, UserDefinedExpression, GpuExpression, Arm, Expression, TreeNode[Expression], Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GpuHiveUDFBase
  2. GpuUserDefinedFunction
  3. Serializable
  4. Serializable
  5. UserDefinedExpression
  6. GpuExpression
  7. Arm
  8. Expression
  9. TreeNode
  10. Product
  11. Equals
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def canEqual(that: Any): Boolean
    Definition Classes
    Equals
  2. abstract def children: Seq[Expression]
    Definition Classes
    TreeNode
  3. abstract def dataType: DataType
    Definition Classes
    Expression
  4. abstract val funcWrapper: HiveFunctionWrapper
  5. abstract val function: RapidsUDF

    User's UDF instance

    User's UDF instance

    Definition Classes
    GpuUserDefinedFunction
  6. abstract val name: String

    name of the UDF function

    name of the UDF function

    Definition Classes
    GpuUserDefinedFunction
  7. abstract def productArity: Int
    Definition Classes
    Product
  8. abstract def productElement(n: Int): Any
    Definition Classes
    Product
  9. abstract val udfDeterministic: Boolean

    True if the UDF is deterministic

    True if the UDF is deterministic

    Definition Classes
    GpuUserDefinedFunction

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(number: Int): TreeNode[_]
    Definition Classes
    TreeNode
  5. def argString(maxFields: Int): String
    Definition Classes
    TreeNode
  6. def asCode: String
    Definition Classes
    TreeNode
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. lazy val canonicalized: Expression
    Definition Classes
    GpuExpression → Expression
  9. def checkInputDataTypes(): TypeCheckResult
    Definition Classes
    Expression
  10. def childrenResolved: Boolean
    Definition Classes
    Expression
  11. def clone(): Expression
    Definition Classes
    TreeNode → AnyRef
  12. def closeOnExcept[T <: AutoCloseable, V](r: ArrayBuffer[T])(block: (ArrayBuffer[T]) ⇒ V): V

    Executes the provided code block, closing the resources only if an exception occurs

    Executes the provided code block, closing the resources only if an exception occurs

    Definition Classes
    Arm
  13. def closeOnExcept[T <: AutoCloseable, V](r: Array[T])(block: (Array[T]) ⇒ V): V

    Executes the provided code block, closing the resources only if an exception occurs

    Executes the provided code block, closing the resources only if an exception occurs

    Definition Classes
    Arm
  14. def closeOnExcept[T <: AutoCloseable, V](r: Seq[T])(block: (Seq[T]) ⇒ V): V

    Executes the provided code block, closing the resources only if an exception occurs

    Executes the provided code block, closing the resources only if an exception occurs

    Definition Classes
    Arm
  15. def closeOnExcept[T <: AutoCloseable, V](r: T)(block: (T) ⇒ V): V

    Executes the provided code block, closing the resource only if an exception occurs

    Executes the provided code block, closing the resource only if an exception occurs

    Definition Classes
    Arm
  16. def collect[B](pf: PartialFunction[Expression, B]): Seq[B]
    Definition Classes
    TreeNode
  17. def collectFirst[B](pf: PartialFunction[Expression, B]): Option[B]
    Definition Classes
    TreeNode
  18. def collectLeaves(): Seq[Expression]
    Definition Classes
    TreeNode
  19. def columnarEval(batch: ColumnarBatch): Any

    Returns the result of evaluating this expression on the entire ColumnarBatch.

    Returns the result of evaluating this expression on the entire ColumnarBatch. The result of calling this may be a single GpuColumnVector or a scalar value. Scalar values typically happen if they are a part of the expression i.e. col("a") + 100. In this case the 100 is a literal that Add would have to be able to handle.

    By convention any GpuColumnVector returned by columnarEval is owned by the caller and will need to be closed by them. This can happen by putting it into a ColumnarBatch and closing the batch or by closing the vector directly if it is a temporary value.

    Definition Classes
    GpuUserDefinedFunctionGpuExpression
  20. lazy val containsChild: Set[TreeNode[_]]
    Definition Classes
    TreeNode
  21. def copyTagsFrom(other: Expression): Unit
    Attributes
    protected
    Definition Classes
    TreeNode
  22. lazy val deterministic: Boolean
    Definition Classes
    GpuUserDefinedFunction → Expression
  23. def disableCoalesceUntilInput(): Boolean

    Override this if your expression cannot allow combining of data from multiple files into a single batch before it operates on them.

    Override this if your expression cannot allow combining of data from multiple files into a single batch before it operates on them. These are for things like getting the input file name. Which for spark is stored in a thread local variable which means we have to jump through some hoops to make this work.

    Definition Classes
    GpuExpression
  24. final def doGenCode(ctx: CodegenContext, ev: ExprCode): ExprCode
    Attributes
    protected
    Definition Classes
    GpuExpression → Expression
  25. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  27. final def eval(input: InternalRow = null): Any
    Definition Classes
    GpuExpression → Expression
  28. def fastEquals(other: TreeNode[_]): Boolean
    Definition Classes
    TreeNode
  29. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  30. def find(f: (Expression) ⇒ Boolean): Option[Expression]
    Definition Classes
    TreeNode
  31. def flatArguments: Iterator[Any]
    Attributes
    protected
    Definition Classes
    Expression
  32. def flatMap[A](f: (Expression) ⇒ TraversableOnce[A]): Seq[A]
    Definition Classes
    TreeNode
  33. def foldable: Boolean
    Definition Classes
    GpuHiveUDFBase → Expression
  34. def foreach(f: (Expression) ⇒ Unit): Unit
    Definition Classes
    TreeNode
  35. def foreachUp(f: (Expression) ⇒ Unit): Unit
    Definition Classes
    TreeNode
  36. def freeOnExcept[T <: RapidsBuffer, V](r: T)(block: (T) ⇒ V): V

    Executes the provided code block, freeing the RapidsBuffer only if an exception occurs

    Executes the provided code block, freeing the RapidsBuffer only if an exception occurs

    Definition Classes
    Arm
  37. def genCode(ctx: CodegenContext): ExprCode
    Definition Classes
    Expression
  38. def generateTreeString(depth: Int, lastChildren: Seq[Boolean], append: (String) ⇒ Unit, verbose: Boolean, prefix: String, addSuffix: Boolean, maxFields: Int, printNodeId: Boolean): Unit
    Definition Classes
    TreeNode
  39. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  40. def getTagValue[T](tag: TreeNodeTag[T]): Option[T]
    Definition Classes
    TreeNode
  41. def hashCode(): Int
    Definition Classes
    TreeNode → AnyRef → Any
  42. def innerChildren: Seq[TreeNode[_]]
    Definition Classes
    TreeNode
  43. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  44. def jsonFields: List[JField]
    Attributes
    protected
    Definition Classes
    TreeNode
  45. def makeCopy(newArgs: Array[AnyRef]): Expression
    Definition Classes
    TreeNode
  46. def map[A](f: (Expression) ⇒ A): Seq[A]
    Definition Classes
    TreeNode
  47. def mapChildren(f: (Expression) ⇒ Expression): Expression
    Definition Classes
    TreeNode
  48. def mapProductIterator[B](f: (Any) ⇒ B)(implicit arg0: ClassTag[B]): Array[B]
    Attributes
    protected
    Definition Classes
    TreeNode
  49. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  50. def nodeName: String
    Definition Classes
    TreeNode
  51. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  52. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  53. def nullable: Boolean
    Definition Classes
    GpuHiveUDFBase → Expression
  54. def numberedTreeString: String
    Definition Classes
    TreeNode
  55. val origin: Origin
    Definition Classes
    TreeNode
  56. def otherCopyArgs: Seq[AnyRef]
    Attributes
    protected
    Definition Classes
    TreeNode
  57. def p(number: Int): Expression
    Definition Classes
    TreeNode
  58. def prettyJson: String
    Definition Classes
    TreeNode
  59. def prettyName: String
    Definition Classes
    GpuHiveUDFBase → Expression
  60. def productIterator: Iterator[Any]
    Definition Classes
    Product
  61. def productPrefix: String
    Definition Classes
    Product
  62. def references: AttributeSet
    Definition Classes
    Expression
  63. lazy val resolved: Boolean
    Definition Classes
    Expression
  64. def semanticEquals(other: Expression): Boolean
    Definition Classes
    Expression
  65. def semanticHash(): Int
    Definition Classes
    Expression
  66. def setTagValue[T](tag: TreeNodeTag[T], value: T): Unit
    Definition Classes
    TreeNode
  67. def simpleString(maxFields: Int): String
    Definition Classes
    Expression → TreeNode
  68. def simpleStringWithNodeId(): String
    Definition Classes
    Expression → TreeNode
  69. def sql: String
    Definition Classes
    Expression
  70. def stringArgs: Iterator[Any]
    Attributes
    protected
    Definition Classes
    TreeNode
  71. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  72. def toJSON: String
    Definition Classes
    TreeNode
  73. def toString(): String
    Definition Classes
    GpuHiveUDFBase → Expression → TreeNode → AnyRef → Any
  74. def transform(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  75. def transformDown(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  76. def transformUp(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  77. def treeString(append: (String) ⇒ Unit, verbose: Boolean, addSuffix: Boolean, maxFields: Int, printOperatorId: Boolean): Unit
    Definition Classes
    TreeNode
  78. final def treeString(verbose: Boolean, addSuffix: Boolean, maxFields: Int, printOperatorId: Boolean): String
    Definition Classes
    TreeNode
  79. final def treeString: String
    Definition Classes
    TreeNode
  80. def unsetTagValue[T](tag: TreeNodeTag[T]): Unit
    Definition Classes
    TreeNode
  81. final def verboseString(maxFields: Int): String
    Definition Classes
    Expression → TreeNode
  82. def verboseStringWithSuffix(maxFields: Int): String
    Definition Classes
    TreeNode
  83. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  84. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  85. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  86. def withNewChildren(newChildren: Seq[Expression]): Expression
    Definition Classes
    TreeNode
  87. def withResource[T <: AutoCloseable, V](r: ArrayBuffer[T])(block: (ArrayBuffer[T]) ⇒ V): V

    Executes the provided code block and then closes the array buffer of resources

    Executes the provided code block and then closes the array buffer of resources

    Definition Classes
    Arm
  88. def withResource[T <: AutoCloseable, V](r: Array[T])(block: (Array[T]) ⇒ V): V

    Executes the provided code block and then closes the array of resources

    Executes the provided code block and then closes the array of resources

    Definition Classes
    Arm
  89. def withResource[T <: AutoCloseable, V](r: Seq[T])(block: (Seq[T]) ⇒ V): V

    Executes the provided code block and then closes the sequence of resources

    Executes the provided code block and then closes the sequence of resources

    Definition Classes
    Arm
  90. def withResource[T <: AutoCloseable, V](r: Option[T])(block: (Option[T]) ⇒ V): V

    Executes the provided code block and then closes the Option[resource]

    Executes the provided code block and then closes the Option[resource]

    Definition Classes
    Arm
  91. def withResource[T <: AutoCloseable, V](r: T)(block: (T) ⇒ V): V

    Executes the provided code block and then closes the resource

    Executes the provided code block and then closes the resource

    Definition Classes
    Arm
  92. def withResourceIfAllowed[T, V](r: T)(block: (T) ⇒ V): V

    Executes the provided code block and then closes the value if it is AutoCloseable

    Executes the provided code block and then closes the value if it is AutoCloseable

    Definition Classes
    Arm

Inherited from GpuUserDefinedFunction

Inherited from Serializable

Inherited from Serializable

Inherited from UserDefinedExpression

Inherited from GpuExpression

Inherited from Arm

Inherited from Expression

Inherited from TreeNode[Expression]

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped