Class WhenScalar
java.lang.Object
org.apache.openjpa.jdbc.kernel.exps.WhenScalar
- All Implemented Interfaces:
Serializable,Expression
Value produced by a when_clause of a case expression.
- Author:
- Catalina Wei
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidacceptVisit(ExpressionVisitor visitor) Accept a visit from a tree visitor.voidappendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer buf) intgetId()getType()getVal1()getVal2()initialize(Select sel, ExpContext ctx, Map contains) voidselectColumns(Select sel, ExpContext ctx, ExpState state, boolean pks)
-
Constructor Details
-
WhenScalar
Constructor.
-
-
Method Details
-
getVal1
-
getVal2
-
getType
-
initialize
-
appendTo
-
selectColumns
-
acceptVisit
Description copied from interface:ExpressionAccept a visit from a tree visitor.- Specified by:
acceptVisitin interfaceExpression
-
getId
public int getId()
-