Package org.jparsec.examples.sql.ast
Class SimpleCaseExpression
java.lang.Object
org.jparsec.examples.common.ValueObject
org.jparsec.examples.sql.ast.SimpleCaseExpression
- All Implemented Interfaces:
Expression
The "
case expr when cond then val ... end
" expression.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal List
<Pair<Expression, Expression>> final Expression
final Expression
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleCaseExpression
(Expression condition, List<Pair<Expression, Expression>> cases, Expression defaultValue) -
Method Summary
Methods inherited from class org.jparsec.examples.common.ValueObject
equals, hashCode, toString
-
Field Details
-
condition
-
cases
-
defaultValue
-
-
Constructor Details
-
SimpleCaseExpression
public SimpleCaseExpression(Expression condition, List<Pair<Expression, Expression>> cases, Expression defaultValue)
-