Package com.snowflake.snowpark_java
Class CaseExpr
- java.lang.Object
-
- com.snowflake.snowpark_java.Column
-
- com.snowflake.snowpark_java.CaseExpr
-
public class CaseExpr extends Column
Represents a CASE expression.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 thewhenandotherwisemethods to specify additional conditions and results.- Since:
- 0.12.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Columnotherwise(Column value)Sets the default result for this CASE expression.CaseExprwhen(Column condition, Column value)Appends one more WHEN condition to the CASE expression.-
Methods inherited from class com.snowflake.snowpark_java.Column
alias, and, as, asc, asc_nulls_first, asc_nulls_last, between, bitand, bitor, bitxor, cast, collate, desc, desc_nulls_first, desc_nulls_last, divide, equal_nan, equal_null, equal_to, geq, getName, gt, in, in, is_not_null, is_null, isNull, leq, like, lt, minus, mod, multiply, not_equal, or, over, over, plus, regexp, subField, subField, toString, unary_minus, unary_not, withinGroup
-
-