org.apache.spark.sql.catalyst.expressions.IfNull.scala Maven / Gradle / Ivy
package org.apache.spark.sql.catalyst.expressions
case class IfNull(left: Expression, right: Expression, replacement: Expression)
extends RuntimeReplaceable with InheritAnalysisRules {
def this(left: Expression, right: Expression) = {
this(left, right, Coalesce(Seq(left, right)))
}
override def parameters: Seq[Expression] = Seq(left, right)
override protected def withNewChildInternal(newChild: Expression): IfNull =
copy(replacement = newChild)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy