Class

org.apache.spark.sql.execution.python

PythonUDF

Related Doc: package python

Permalink

case class PythonUDF(name: String, func: PythonFunction, dataType: DataType, children: Seq[Expression]) extends Expression with Unevaluable with NonSQLExpression with Product with Serializable

A serialized version of a Python lambda function.

Linear Supertypes
Serializable, Serializable, NonSQLExpression, Unevaluable, Expression, TreeNode[Expression], Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PythonUDF
  2. Serializable
  3. Serializable
  4. NonSQLExpression
  5. Unevaluable
  6. Expression
  7. TreeNode
  8. Product
  9. Equals
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PythonUDF(name: String, func: PythonFunction, dataType: DataType, children: Seq[Expression])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(number: Int): TreeNode[_]

    Permalink
    Definition Classes
    TreeNode
  5. def argString: String

    Permalink
    Definition Classes
    TreeNode
  6. def asCode: String

    Permalink
    Definition Classes
    TreeNode
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. lazy val canonicalized: Expression

    Permalink
    Definition Classes
    Expression
  9. def checkInputDataTypes(): TypeCheckResult

    Permalink
    Definition Classes
    Expression
  10. val children: Seq[Expression]

    Permalink
    Definition Classes
    PythonUDF → TreeNode
  11. def childrenResolved: Boolean

    Permalink
    Definition Classes
    Expression
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def collect[B](pf: PartialFunction[Expression, B]): Seq[B]

    Permalink
    Definition Classes
    TreeNode
  14. def collectFirst[B](pf: PartialFunction[Expression, B]): Option[B]

    Permalink
    Definition Classes
    TreeNode
  15. def collectLeaves(): Seq[Expression]

    Permalink
    Definition Classes
    TreeNode
  16. lazy val containsChild: Set[TreeNode[_]]

    Permalink
    Definition Classes
    TreeNode
  17. val dataType: DataType

    Permalink
    Definition Classes
    PythonUDF → Expression
  18. def deterministic: Boolean

    Permalink
    Definition Classes
    Expression
  19. final def doGenCode(ctx: CodegenContext, ev: ExprCode): ExprCode

    Permalink
    Attributes
    protected
    Definition Classes
    Unevaluable → Expression
  20. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def eval(input: InternalRow): Any

    Permalink
    Definition Classes
    Unevaluable → Expression
  22. def fastEquals(other: TreeNode[_]): Boolean

    Permalink
    Definition Classes
    TreeNode
  23. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def find(f: (Expression) ⇒ Boolean): Option[Expression]

    Permalink
    Definition Classes
    TreeNode
  25. def flatArguments: Iterator[Any]

    Permalink
    Attributes
    protected
    Definition Classes
    Expression
  26. def flatMap[A](f: (Expression) ⇒ TraversableOnce[A]): Seq[A]

    Permalink
    Definition Classes
    TreeNode
  27. def foldable: Boolean

    Permalink
    Definition Classes
    Expression
  28. def foreach(f: (Expression) ⇒ Unit): Unit

    Permalink
    Definition Classes
    TreeNode
  29. def foreachUp(f: (Expression) ⇒ Unit): Unit

    Permalink
    Definition Classes
    TreeNode
  30. val func: PythonFunction

    Permalink
  31. def genCode(ctx: CodegenContext): ExprCode

    Permalink
    Definition Classes
    Expression
  32. def generateTreeString(depth: Int, lastChildren: Seq[Boolean], builder: StringBuilder, verbose: Boolean, prefix: String): StringBuilder

    Permalink
    Definition Classes
    TreeNode
  33. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  34. def hashCode(): Int

    Permalink
    Definition Classes
    TreeNode → AnyRef → Any
  35. def innerChildren: Seq[TreeNode[_]]

    Permalink
    Attributes
    protected
    Definition Classes
    TreeNode
  36. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  37. def jsonFields: List[JField]

    Permalink
    Attributes
    protected
    Definition Classes
    TreeNode
  38. def makeCopy(newArgs: Array[AnyRef]): Expression

    Permalink
    Definition Classes
    TreeNode
  39. def map[A](f: (Expression) ⇒ A): Seq[A]

    Permalink
    Definition Classes
    TreeNode
  40. def mapChildren(f: (Expression) ⇒ Expression): Expression

    Permalink
    Definition Classes
    TreeNode
  41. def mapProductIterator[B](f: (Any) ⇒ B)(implicit arg0: ClassTag[B]): Array[B]

    Permalink
    Attributes
    protected
    Definition Classes
    TreeNode
  42. val name: String

    Permalink
  43. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  44. def nodeName: String

    Permalink
    Definition Classes
    TreeNode
  45. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  46. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  47. def nullable: Boolean

    Permalink
    Definition Classes
    PythonUDF → Expression
  48. def numberedTreeString: String

    Permalink
    Definition Classes
    TreeNode
  49. val origin: Origin

    Permalink
    Definition Classes
    TreeNode
  50. def otherCopyArgs: Seq[AnyRef]

    Permalink
    Attributes
    protected
    Definition Classes
    TreeNode
  51. def p(number: Int): Expression

    Permalink
    Definition Classes
    TreeNode
  52. def prettyJson: String

    Permalink
    Definition Classes
    TreeNode
  53. def prettyName: String

    Permalink
    Definition Classes
    Expression
  54. def references: AttributeSet

    Permalink
    Definition Classes
    Expression
  55. lazy val resolved: Boolean

    Permalink
    Definition Classes
    Expression
  56. def semanticEquals(other: Expression): Boolean

    Permalink
    Definition Classes
    Expression
  57. def semanticHash(): Int

    Permalink
    Definition Classes
    Expression
  58. def simpleString: String

    Permalink
    Definition Classes
    Expression → TreeNode
  59. final def sql: String

    Permalink
    Definition Classes
    NonSQLExpression → Expression
  60. def stringArgs: Iterator[Any]

    Permalink
    Attributes
    protected
    Definition Classes
    TreeNode
  61. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  62. def toJSON: String

    Permalink
    Definition Classes
    TreeNode
  63. def toString(): String

    Permalink
    Definition Classes
    PythonUDF → Expression → TreeNode → AnyRef → Any
  64. def transform(rule: PartialFunction[Expression, Expression]): Expression

    Permalink
    Definition Classes
    TreeNode
  65. def transformDown(rule: PartialFunction[Expression, Expression]): Expression

    Permalink
    Definition Classes
    TreeNode
  66. def transformUp(rule: PartialFunction[Expression, Expression]): Expression

    Permalink
    Definition Classes
    TreeNode
  67. def treeString(verbose: Boolean): String

    Permalink
    Definition Classes
    TreeNode
  68. def treeString: String

    Permalink
    Definition Classes
    TreeNode
  69. final def verboseString: String

    Permalink
    Definition Classes
    Expression → TreeNode
  70. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  71. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  72. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. def withNewChildren(newChildren: Seq[Expression]): Expression

    Permalink
    Definition Classes
    TreeNode

Inherited from Serializable

Inherited from Serializable

Inherited from NonSQLExpression

Inherited from Unevaluable

Inherited from Expression

Inherited from TreeNode[Expression]

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped