Class CaseExpression.Default
java.lang.Object
org.huiche.core.ast.Segment.Default
org.huiche.ast.expression.Expression.Default
org.huiche.ast.expression.CaseExpression.Default
- All Implemented Interfaces:
Serializable, CaseExpression, CaseExpression.Else, CaseExpression.End, CaseExpression.Then, CaseExpression.When, Expression, ArithmeticOperable, ComparisonOperable, OrderOperable, PatternMatchingOperable, Segment
- Enclosing interface:
CaseExpression
public static final class CaseExpression.Default
extends Expression.Default
implements CaseExpression, CaseExpression.When, CaseExpression.Then, CaseExpression.Else, CaseExpression.End
case表达式默认实现
- Author:
- Maning
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface CaseExpression
CaseExpression.Default, CaseExpression.Else, CaseExpression.End, CaseExpression.Then, CaseExpression.WhenNested classes/interfaces inherited from interface ComparisonOperable
ComparisonOperable.AndNested classes/interfaces inherited from interface Expression
Expression.Default, Expression.StaticExpressionNested classes/interfaces inherited from interface Segment
Segment.Default -
Method Summary
Modifier and TypeMethodDescriptioncase表达式else操作else表达式end()end操作伪SQL,用于直接toString时显示then操作when操作when/then 表达式Methods inherited from class Expression.Default
asMethods inherited from class Segment.Default
equals, hashCode, toStringMethods inherited from interface ArithmeticOperable
div, div, div, div, minus, minus, minus, minus, mul, mul, mul, mul, plus, plus, plus, plusMethods inherited from interface ComparisonOperable
between, betweenAnd, eq, eq, gt, gt, gte, gte, in, in, in, isNotNull, isNull, lt, lt, lte, lte, ne, ne, notBetween, notBetweenAnd, notIn, notIn, notInMethods inherited from interface Expression
as, asConditionMethods inherited from interface OrderOperable
asc, descMethods inherited from interface PatternMatchingOperable
contains, endWith, like, notContains, notEndWith, notLike, notStartWith, startWithMethods inherited from interface Segment
staticable
-
Method Details
-
caseExpression
Description copied from interface:CaseExpressioncase表达式- Specified by:
caseExpressionin interfaceCaseExpression- Returns:
- case表达式
-
elseExpression
Description copied from interface:CaseExpressionelse表达式- Specified by:
elseExpressionin interfaceCaseExpression- Returns:
- else表达式
-
whenThenExpression
Description copied from interface:CaseExpressionwhen/then 表达式- Specified by:
whenThenExpressionin interfaceCaseExpression- Returns:
- when/then 表达式
-
else_
Description copied from interface:CaseExpression.Elseelse操作- Specified by:
else_in interfaceCaseExpression.Else- Parameters:
expr- 表达式- Returns:
- end操作
-
end
Description copied from interface:CaseExpression.Endend操作- Specified by:
endin interfaceCaseExpression.End- Returns:
- case表达式
-
pseudoSql
-
then
Description copied from interface:CaseExpression.Thenthen操作- Specified by:
thenin interfaceCaseExpression.Then- Parameters:
expr- 表达式|值- Returns:
- else操作
-
when
Description copied from interface:CaseExpression.Whenwhen操作- Specified by:
whenin interfaceCaseExpression.When- Parameters:
expr- 表达式|值- Returns:
- then操作
-