public class CaseWhenPredicate extends Expr
Modifier and Type | Class and Description |
---|---|
static class |
CaseWhenPredicate.WhenExpr |
Constructor and Description |
---|
CaseWhenPredicate() |
Modifier and Type | Method and Description |
---|---|
void |
addWhen(Expr condition,
Expr result) |
Expr |
getElseResult() |
Collection<CaseWhenPredicate.WhenExpr> |
getWhens() |
boolean |
hasElseResult() |
int |
hashCode() |
void |
setElseResult(Expr elseResult) |
String |
toJson() |
public Collection<CaseWhenPredicate.WhenExpr> getWhens()
public void setElseResult(Expr elseResult)
public Expr getElseResult()
public boolean hasElseResult()
public String toJson()
toJson
in interface JsonSerializable
toJson
in class Expr
Copyright © 2014 Apache Software Foundation. All Rights Reserved.