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
ConstructorsConstructorDescriptionWhenCondition(org.apache.openjpa.jdbc.kernel.exps.Exp exp, Val val) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidacceptVisit(ExpressionVisitor visitor) Accept a visit from a tree visitor.voidappendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer buf) org.apache.openjpa.jdbc.kernel.exps.ExpgetExp()intgetId()getType()getVal()initialize(Select sel, ExpContext ctx, Map contains) voidselectColumns(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:ExpressionAccept a visit from a tree visitor.- Specified by:
acceptVisitin interfaceExpression
-
getId
public int getId()
-