public class CaseExpr extends Column
To construct this object for a CASE expression, call the com.snowflake.snowpark_java.Functions.when. specifying a condition and the corresponding result
for that condition. Then, call the when and otherwise methods to specify
additional conditions and results.
| Modifier and Type | Method and Description |
|---|---|
Column |
otherwise(Column value)
Sets the default result for this CASE expression.
|
CaseExpr |
when(Column condition,
Column value)
Appends one more WHEN condition to the CASE expression.
|
alias, and, as, asc_nulls_first, asc_nulls_last, asc, between, bitand, bitor, bitxor, cast, collate, desc_nulls_first, desc_nulls_last, desc, divide, equal_nan, equal_null, equal_to, geq, getName, gt, in, in, is_not_null, is_null, leq, like, lt, minus, mod, multiply, not_equal, or, over, over, plus, regexp, subField, subField, toString, unary_minus, unary_not, withinGroup© 2023 Snowflake Inc. All Rights Reserved