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
-
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) int
getId()
getType()
getVal1()
getVal2()
initialize
(Select sel, ExpContext ctx, Map contains) void
selectColumns
(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:Expression
Accept a visit from a tree visitor.- Specified by:
acceptVisit
in interfaceExpression
-
getId
public int getId()
-