Package org.apache.openjpa.kernel.exps
Class NullIf
java.lang.Object
org.apache.openjpa.kernel.exps.Val
org.apache.openjpa.kernel.exps.NullIf
- All Implemented Interfaces:
- Serializable,- Value
An in-memory representation of a nullif expression
- Author:
- Catalina Wei
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionvoidacceptVisit(ExpressionVisitor visitor) Accept a visit from a tree visitor.protected booleanCompare the two values.protected Objecteval(Object candidate, Object orig, StoreContext ctx, Object[] params) Return this value for the given candidate.protected Objecteval(Object candidate, StoreContext ctx, Object[] params) getType()Return the expected type for this value, orObjectif the type is unknown.getVal1()getVal2()voidsetImplicitType(Class type) Set the implicit type of the value, based on how it is used in the filter.Methods inherited from class org.apache.openjpa.kernel.exps.Valeval, evaluate, evaluate, getAlias, getMetaData, getName, getPath, getSelectAs, isAggregate, isVariable, isXPath, setAlias, setMetaData
- 
Method Details- 
evalDescription copied from class:ValReturn this value for the given candidate.
- 
eval
- 
compareCompare the two values.
- 
getVal1
- 
getVal2
- 
getTypeDescription copied from interface:ValueReturn the expected type for this value, orObjectif the type is unknown.
- 
setImplicitTypeDescription copied from interface:ValueSet the implicit type of the value, based on how it is used in the filter. This method is only called on values who returnObjectfromValue.getType().
- 
acceptVisitDescription copied from interface:ValueAccept a visit from a tree visitor.- Specified by:
- acceptVisitin interface- Value
- Overrides:
- acceptVisitin class- Val
 
 
-