c

org.apache.spark.sql.qualityFunctions

NamedLambdaVariableCodeGen

case class NamedLambdaVariableCodeGen(name: String, dataType: DataType, nullable: Boolean, exprId: ExprId, valueRef: String) extends LeafExpression with NamedExpression with Product with Serializable

Replaces NamedLambdaVariables for simple inlined codegen.

Linear Supertypes
Serializable, Serializable, NamedExpression, LeafExpression, LeafLike[Expression], Expression, TreeNode[Expression], TreePatternBits, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NamedLambdaVariableCodeGen
  2. Serializable
  3. Serializable
  4. NamedExpression
  5. LeafExpression
  6. LeafLike
  7. Expression
  8. TreeNode
  9. TreePatternBits
  10. Product
  11. Equals
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NamedLambdaVariableCodeGen(name: String, dataType: DataType, nullable: Boolean, exprId: ExprId, valueRef: String)

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
    Expression
  9. def checkInputDataTypes(): TypeCheckResult
    Definition Classes
    Expression
  10. final def children: Seq[Expression]
    Definition Classes
    LeafLike
  11. def childrenResolved: Boolean
    Definition Classes
    Expression
  12. def clone(): Expression
    Definition Classes
    TreeNode → AnyRef
  13. def collect[B](pf: PartialFunction[Expression, B]): Seq[B]
    Definition Classes
    TreeNode
  14. def collectFirst[B](pf: PartialFunction[Expression, B]): Option[B]
    Definition Classes
    TreeNode
  15. def collectLeaves(): Seq[Expression]
    Definition Classes
    TreeNode
  16. final def containsAllPatterns(patterns: TreePattern*): Boolean
    Definition Classes
    TreePatternBits
  17. final def containsAnyPattern(patterns: TreePattern*): Boolean
    Definition Classes
    TreePatternBits
  18. lazy val containsChild: Set[TreeNode[_]]
    Definition Classes
    TreeNode
  19. final def containsPattern(t: TreePattern): Boolean
    Definition Classes
    TreePatternBits
    Annotations
    @inline()
  20. def copyTagsFrom(other: Expression): Unit
    Definition Classes
    TreeNode
  21. val dataType: DataType
    Definition Classes
    NamedLambdaVariableCodeGen → Expression
  22. lazy val deterministic: Boolean
    Definition Classes
    Expression
  23. def doGenCode(ctx: CodegenContext, ev: ExprCode): ExprCode
    Attributes
    protected
    Definition Classes
    NamedLambdaVariableCodeGen → Expression
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def eval(input: InternalRow): Any
    Definition Classes
    NamedLambdaVariableCodeGen → Expression
  26. def exists(f: (Expression) ⇒ Boolean): Boolean
    Definition Classes
    TreeNode
  27. val exprId: ExprId
    Definition Classes
    NamedLambdaVariableCodeGen → NamedExpression
  28. def fastEquals(other: TreeNode[_]): Boolean
    Definition Classes
    TreeNode
  29. def finalize(): Unit
    Attributes
    protected[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
    NamedExpression → Expression
  34. def foreach(f: (Expression) ⇒ Unit): Unit
    Definition Classes
    TreeNode
  35. def foreachUp(f: (Expression) ⇒ Unit): Unit
    Definition Classes
    TreeNode
  36. def freshCopyIfContainsStatefulExpression(): Expression
    Definition Classes
    Expression
  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, indent: Int): Unit
    Definition Classes
    TreeNode
  39. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  40. def getDefaultTreePatternBits: BitSet
    Attributes
    protected
    Definition Classes
    TreeNode
  41. def getTagValue[T](tag: TreeNodeTag[T]): Option[T]
    Definition Classes
    TreeNode
  42. def hashCode(): Int
    Definition Classes
    TreeNode → AnyRef → Any
  43. def innerChildren: Seq[TreeNode[_]]
    Definition Classes
    TreeNode
  44. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  45. def isRuleIneffective(ruleId: RuleId): Boolean
    Attributes
    protected
    Definition Classes
    TreeNode
  46. def jsonFields: List[JField]
    Attributes
    protected
    Definition Classes
    TreeNode
  47. final def legacyWithNewChildren(newChildren: Seq[Expression]): Expression
    Attributes
    protected
    Definition Classes
    TreeNode
  48. def makeCopy(newArgs: Array[AnyRef]): Expression
    Definition Classes
    TreeNode
  49. def map[A](f: (Expression) ⇒ A): Seq[A]
    Definition Classes
    TreeNode
  50. final def mapChildren(f: (Expression) ⇒ Expression): Expression
    Definition Classes
    LeafLike
  51. def mapProductIterator[B](f: (Any) ⇒ B)(implicit arg0: ClassTag[B]): Array[B]
    Attributes
    protected
    Definition Classes
    TreeNode
  52. def markRuleAsIneffective(ruleId: RuleId): Unit
    Attributes
    protected
    Definition Classes
    TreeNode
  53. def metadata: Metadata
    Definition Classes
    NamedExpression
  54. def multiTransformDown(rule: PartialFunction[Expression, Seq[Expression]]): Stream[Expression]
    Definition Classes
    TreeNode
  55. def multiTransformDownWithPruning(cond: (TreePatternBits) ⇒ Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Seq[Expression]]): Stream[Expression]
    Definition Classes
    TreeNode
  56. val name: String
    Definition Classes
    NamedLambdaVariableCodeGen → NamedExpression
  57. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  58. def newInstance(): NamedExpression
    Definition Classes
    NamedLambdaVariableCodeGen → NamedExpression
  59. def nodeName: String
    Definition Classes
    TreeNode
  60. val nodePatterns: Seq[TreePattern]
    Attributes
    protected
    Definition Classes
    TreeNode
  61. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  62. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  63. val nullable: Boolean
    Definition Classes
    NamedLambdaVariableCodeGen → Expression
  64. def numberedTreeString: String
    Definition Classes
    TreeNode
  65. val origin: Origin
    Definition Classes
    TreeNode
  66. def otherCopyArgs: Seq[AnyRef]
    Attributes
    protected
    Definition Classes
    TreeNode
  67. def p(number: Int): Expression
    Definition Classes
    TreeNode
  68. def prettyJson: String
    Definition Classes
    TreeNode
  69. def prettyName: String
    Definition Classes
    Expression
  70. def qualifiedName: String
    Definition Classes
    NamedExpression
  71. def qualifier: Seq[String]
    Definition Classes
    NamedLambdaVariableCodeGen → NamedExpression
  72. def references: AttributeSet
    Definition Classes
    Expression
  73. lazy val resolved: Boolean
    Definition Classes
    Expression
  74. final def semanticEquals(other: Expression): Boolean
    Definition Classes
    Expression
  75. def semanticHash(): Int
    Definition Classes
    Expression
  76. def setTagValue[T](tag: TreeNodeTag[T], value: T): Unit
    Definition Classes
    TreeNode
  77. def simpleString(maxFields: Int): String
    Definition Classes
    Expression → TreeNode
  78. def simpleStringWithNodeId(): String
    Definition Classes
    Expression → TreeNode
  79. def sql: String
    Definition Classes
    Expression
  80. def stateful: Boolean
    Definition Classes
    Expression
  81. def stringArgs: Iterator[Any]
    Attributes
    protected
    Definition Classes
    TreeNode
  82. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  83. def toAttribute: Attribute
    Definition Classes
    NamedLambdaVariableCodeGen → NamedExpression
  84. def toJSON: String
    Definition Classes
    TreeNode
  85. def toString(): String
    Definition Classes
    Expression → TreeNode → AnyRef → Any
  86. def transform(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  87. def transformDown(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  88. def transformDownWithPruning(cond: (TreePatternBits) ⇒ Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  89. def transformUp(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  90. def transformUpWithBeforeAndAfterRuleOnChildren(cond: (Expression) ⇒ Boolean, ruleId: RuleId)(rule: PartialFunction[(Expression, Expression), Expression]): Expression
    Definition Classes
    TreeNode
  91. def transformUpWithPruning(cond: (TreePatternBits) ⇒ Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  92. def transformWithPruning(cond: (TreePatternBits) ⇒ Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  93. lazy val treePatternBits: BitSet
    Definition Classes
    TreeNode → TreePatternBits
  94. def treeString(append: (String) ⇒ Unit, verbose: Boolean, addSuffix: Boolean, maxFields: Int, printOperatorId: Boolean): Unit
    Definition Classes
    TreeNode
  95. final def treeString(verbose: Boolean, addSuffix: Boolean, maxFields: Int, printOperatorId: Boolean): String
    Definition Classes
    TreeNode
  96. final def treeString: String
    Definition Classes
    TreeNode
  97. def typeSuffix: String
    Attributes
    protected
    Definition Classes
    Expression
  98. def unsetTagValue[T](tag: TreeNodeTag[T]): Unit
    Definition Classes
    TreeNode
  99. var value: Any

    Only used when this is accessed from within a CodegenFallback

  100. val valueRef: String
  101. final def verboseString(maxFields: Int): String
    Definition Classes
    Expression → TreeNode
  102. def verboseStringWithSuffix(maxFields: Int): String
    Definition Classes
    TreeNode
  103. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  104. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  105. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  106. final def withCanonicalizedChildren: Expression
    Attributes
    protected
    Definition Classes
    Expression
  107. final def withNewChildren(newChildren: Seq[Expression]): Expression
    Definition Classes
    TreeNode
  108. def withNewChildrenInternal(newChildren: IndexedSeq[Expression]): Expression
    Definition Classes
    LeafLike

Inherited from Serializable

Inherited from Serializable

Inherited from NamedExpression

Inherited from LeafExpression

Inherited from LeafLike[Expression]

Inherited from Expression

Inherited from TreeNode[Expression]

Inherited from TreePatternBits

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped