Class WhenCondition
java.lang.Object
org.apache.openjpa.jdbc.kernel.exps.WhenCondition
- All Implemented Interfaces:
Serializable
,Expression
Value produced by a when_clause of a case expression.
- Author:
- Catalina Wei
- See Also:
-
Constructor Summary
ConstructorDescriptionWhenCondition
(org.apache.openjpa.jdbc.kernel.exps.Exp exp, Val val) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
acceptVisit
(ExpressionVisitor visitor) Accept a visit from a tree visitor.void
appendTo
(Select sel, ExpContext ctx, ExpState state, SQLBuffer buf) org.apache.openjpa.jdbc.kernel.exps.Exp
getExp()
int
getId()
getType()
getVal()
initialize
(Select sel, ExpContext ctx, Map contains) void
selectColumns
(Select sel, ExpContext ctx, ExpState state, boolean pks)
-
Constructor Details
-
WhenCondition
Constructor.
-
-
Method Details
-
getExp
public org.apache.openjpa.jdbc.kernel.exps.Exp getExp() -
getVal
-
getType
-
initialize
-
appendTo
-
selectColumns
-
acceptVisit
Description copied from interface:Expression
Accept a visit from a tree visitor.- Specified by:
acceptVisit
in interfaceExpression
-
getId
public int getId()
-