case class ObjectCast(value: Expression, resultType: DataType) extends Expression with NonSQLExpression with Product with Serializable

Casts the result of an expression to another type.

value

The value to cast

resultType

The type to which the value should be cast

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

Instance Constructors

  1. new ObjectCast(value: Expression, resultType: DataType)

    value

    The value to cast

    resultType

    The type to which the value should be cast

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. def children: Seq[Expression]
    Definition Classes
    ObjectCast → TreeNode
  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. def dataType: DataType
    Definition Classes
    ObjectCast → Expression
  22. lazy val deterministic: Boolean
    Definition Classes
    Expression
  23. def doGenCode(ctx: CodegenContext, ev: ExprCode): ExprCode
    Attributes
    protected
    Definition Classes
    ObjectCast → Expression
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def eval(input: InternalRow): Any
    Definition Classes
    ObjectCast → Expression
  26. def exists(f: (Expression) ⇒ Boolean): Boolean
    Definition Classes
    TreeNode
  27. def fastEquals(other: TreeNode[_]): Boolean
    Definition Classes
    TreeNode
  28. def find(f: (Expression) ⇒ Boolean): Option[Expression]
    Definition Classes
    TreeNode
  29. def flatArguments: Iterator[Any]
    Attributes
    protected
    Definition Classes
    Expression
  30. def flatMap[A](f: (Expression) ⇒ TraversableOnce[A]): Seq[A]
    Definition Classes
    TreeNode
  31. def foldable: Boolean
    Definition Classes
    Expression
  32. def foreach(f: (Expression) ⇒ Unit): Unit
    Definition Classes
    TreeNode
  33. def foreachUp(f: (Expression) ⇒ Unit): Unit
    Definition Classes
    TreeNode
  34. def freshCopyIfContainsStatefulExpression(): Expression
    Definition Classes
    Expression
  35. def genCode(ctx: CodegenContext): ExprCode
    Definition Classes
    Expression
  36. def generateTreeString(depth: Int, lastChildren: ArrayList[Boolean], append: (String) ⇒ Unit, verbose: Boolean, prefix: String, addSuffix: Boolean, maxFields: Int, printNodeId: Boolean, indent: Int): Unit
    Definition Classes
    TreeNode
  37. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  38. def getDefaultTreePatternBits: BitSet
    Attributes
    protected
    Definition Classes
    TreeNode
  39. def getTagValue[T](tag: TreeNodeTag[T]): Option[T]
    Definition Classes
    TreeNode
  40. def hashCode(): Int
    Definition Classes
    TreeNode → AnyRef → Any
  41. def innerChildren: Seq[TreeNode[_]]
    Definition Classes
    TreeNode
  42. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  43. def isRuleIneffective(ruleId: RuleId): Boolean
    Attributes
    protected
    Definition Classes
    TreeNode
  44. def jsonFields: List[JField]
    Attributes
    protected
    Definition Classes
    TreeNode
  45. final def legacyWithNewChildren(newChildren: Seq[Expression]): Expression
    Attributes
    protected
    Definition Classes
    TreeNode
  46. def makeCopy(newArgs: Array[AnyRef]): Expression
    Definition Classes
    TreeNode
  47. def map[A](f: (Expression) ⇒ A): Seq[A]
    Definition Classes
    TreeNode
  48. def mapChildren(f: (Expression) ⇒ Expression): Expression
    Definition Classes
    TreeNode
  49. def mapProductIterator[B](f: (Any) ⇒ B)(implicit arg0: ClassTag[B]): Array[B]
    Attributes
    protected
    Definition Classes
    TreeNode
  50. def markRuleAsIneffective(ruleId: RuleId): Unit
    Attributes
    protected
    Definition Classes
    TreeNode
  51. def multiTransformDown(rule: PartialFunction[Expression, Seq[Expression]]): Stream[Expression]
    Definition Classes
    TreeNode
  52. def multiTransformDownWithPruning(cond: (TreePatternBits) ⇒ Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Seq[Expression]]): Stream[Expression]
    Definition Classes
    TreeNode
  53. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  54. def nodeName: String
    Definition Classes
    TreeNode
  55. val nodePatterns: Seq[TreePattern]
    Attributes
    protected
    Definition Classes
    TreeNode
  56. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  57. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  58. def nullable: Boolean
    Definition Classes
    ObjectCast → Expression
  59. def numberedTreeString: String
    Definition Classes
    TreeNode
  60. val origin: Origin
    Definition Classes
    TreeNode → WithOrigin
  61. def otherCopyArgs: Seq[AnyRef]
    Attributes
    protected
    Definition Classes
    TreeNode
  62. def p(number: Int): Expression
    Definition Classes
    TreeNode
  63. def prettyJson: String
    Definition Classes
    TreeNode
  64. def prettyName: String
    Definition Classes
    Expression
  65. def references: AttributeSet
    Definition Classes
    Expression
  66. lazy val resolved: Boolean
    Definition Classes
    Expression
  67. val resultType: DataType
  68. final def semanticEquals(other: Expression): Boolean
    Definition Classes
    Expression
  69. def semanticHash(): Int
    Definition Classes
    Expression
  70. def setTagValue[T](tag: TreeNodeTag[T], value: T): Unit
    Definition Classes
    TreeNode
  71. def simpleString(maxFields: Int): String
    Definition Classes
    Expression → TreeNode
  72. def simpleStringWithNodeId(): String
    Definition Classes
    Expression → TreeNode
  73. final def sql: String
    Definition Classes
    NonSQLExpression → Expression
  74. def stateful: Boolean
    Definition Classes
    Expression
  75. def stringArgs: Iterator[Any]
    Attributes
    protected
    Definition Classes
    TreeNode
  76. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  77. def toJSON: String
    Definition Classes
    TreeNode
  78. def toString(): String
    Definition Classes
    Expression → TreeNode → AnyRef → Any
  79. def transform(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  80. def transformDown(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  81. def transformDownWithPruning(cond: (TreePatternBits) ⇒ Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  82. def transformUp(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  83. def transformUpWithBeforeAndAfterRuleOnChildren(cond: (Expression) ⇒ Boolean, ruleId: RuleId)(rule: PartialFunction[(Expression, Expression), Expression]): Expression
    Definition Classes
    TreeNode
  84. def transformUpWithPruning(cond: (TreePatternBits) ⇒ Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  85. def transformWithPruning(cond: (TreePatternBits) ⇒ Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  86. lazy val treePatternBits: BitSet
    Definition Classes
    TreeNode → TreePatternBits
  87. def treeString(append: (String) ⇒ Unit, verbose: Boolean, addSuffix: Boolean, maxFields: Int, printOperatorId: Boolean): Unit
    Definition Classes
    TreeNode
  88. final def treeString(verbose: Boolean, addSuffix: Boolean, maxFields: Int, printOperatorId: Boolean): String
    Definition Classes
    TreeNode
  89. final def treeString: String
    Definition Classes
    TreeNode
  90. def typeSuffix: String
    Attributes
    protected
    Definition Classes
    Expression
  91. def unsetTagValue[T](tag: TreeNodeTag[T]): Unit
    Definition Classes
    TreeNode
  92. val value: Expression
  93. final def verboseString(maxFields: Int): String
    Definition Classes
    Expression → TreeNode
  94. def verboseStringWithSuffix(maxFields: Int): String
    Definition Classes
    TreeNode
  95. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  96. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  97. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  98. final def withCanonicalizedChildren: Expression
    Attributes
    protected
    Definition Classes
    Expression
  99. final def withNewChildren(newChildren: Seq[Expression]): Expression
    Definition Classes
    TreeNode
  100. def withNewChildrenInternal(newChildren: IndexedSeq[Expression]): Expression
    Attributes
    protected
    Definition Classes
    ObjectCast → TreeNode

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from NonSQLExpression

Inherited from Expression

Inherited from TreeNode[Expression]

Inherited from WithOrigin

Inherited from TreePatternBits

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped