public class AbsNode extends ArithmeticFunctionNode
Purpose: Represent an ABS in EJBQL
Responsibilities:
shouldGenerateExpression
Constructor and Description |
---|
AbsNode() |
Modifier and Type | Method and Description |
---|---|
Expression |
generateExpression(GenerationContext context)
INTERNAL
Generate the EclipseLink expression for this node
|
void |
validate(ParseTreeContext context)
INTERNAL
Validate node and calculate its type.
|
void |
validateParameter(ParseTreeContext context,
java.lang.Object contextType)
INTERNAL
|
applyToQuery, isAliasableNode
addToExpression, appendExpression, getAlias, getAsString, getColumn, getLeft, getLine, getRight, getType, hasLeft, hasRight, isAggregateNode, isAttributeNode, isConstructorNode, isCountNode, isDivideNode, isDotNode, isEscape, isLiteralNode, isMapKeyNode, isMinusNode, isMultiplyNode, isNotNode, isParameterNode, isPlusNode, isSubqueryNode, isVariableNode, qualifyAttributeAccess, resolveAttribute, resolveClass, resolveClass, resolveMapping, resolveMapping, setAlias, setColumn, setLeft, setLine, setRight, setType, toString, toString, toStringDisplayName, toStringIndent
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAlias, setAlias
public void validate(ParseTreeContext context)
public void validateParameter(ParseTreeContext context, java.lang.Object contextType)
validateParameter
in class Node
public Expression generateExpression(GenerationContext context)
generateExpression
in class Node
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference