public class LocateNode extends ArithmeticFunctionNode
Purpose: Represent a LOCATE
Responsibilities:
shouldGenerateExpression
Constructor and Description |
---|
LocateNode()
Return a new LocateNode.
|
Modifier and Type | Method and Description |
---|---|
Expression |
generateExpression(GenerationContext context)
INTERNAL
Generate the EclipseLink expression for this node
|
Node |
getFind() |
Node |
getFindIn() |
Node |
getStartPosition() |
Node |
qualifyAttributeAccess(ParseTreeContext context)
INTERNAL
Check the child nodes for an unqualified field access and if so,
replace them by a qualified field access.
|
void |
setFind(Node newFind) |
void |
setFindIn(Node newFindIn) |
void |
setStartPosition(Node newStartPosition) |
void |
validate(ParseTreeContext context)
INTERNAL
Validate node and calculate its type.
|
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, resolveAttribute, resolveClass, resolveClass, resolveMapping, resolveMapping, setAlias, setColumn, setLeft, setLine, setRight, setType, toString, toString, toStringDisplayName, toStringIndent, validateParameter
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAlias, setAlias
public Node qualifyAttributeAccess(ParseTreeContext context)
qualifyAttributeAccess
in class Node
public void validate(ParseTreeContext context)
public Expression generateExpression(GenerationContext context)
generateExpression
in class Node
public Node getFind()
public Node getFindIn()
public void setFind(Node newFind)
public void setFindIn(Node newFindIn)
public Node getStartPosition()
public void setStartPosition(Node newStartPosition)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference