org.openspaces.jpa.openjpa.query
Class BindVariableExpression
java.lang.Object
org.openspaces.jpa.openjpa.query.BindVariableExpression
- All Implemented Interfaces:
- Serializable, org.apache.openjpa.kernel.exps.Expression, ExpressionNode
public class BindVariableExpression
- extends Object
- implements org.apache.openjpa.kernel.exps.Expression, ExpressionNode
Represents a JPQL bound variable expression node.
OpenJPA adds this dummy node containing the mapping info when a property is JOINED.
The node is translated to a "1 = 1" expression.
- Since:
- 8.0
- Author:
- Idan Moyal
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BindVariableExpression
public BindVariableExpression()
appendSql
public void appendSql(StringBuilder sql)
- Description copied from interface:
ExpressionNode
- Appends the node SQL string to the string builder.
- Specified by:
appendSql
in interface ExpressionNode
- Parameters:
sql
- The SQL string builder to append to.
getNodeType
public ExpressionNode.NodeType getNodeType()
- Description copied from interface:
ExpressionNode
- Gets the node type
- Specified by:
getNodeType
in interface ExpressionNode
- Returns:
- The node type.
acceptVisit
public void acceptVisit(org.apache.openjpa.kernel.exps.ExpressionVisitor arg0)
- Specified by:
acceptVisit
in interface org.apache.openjpa.kernel.exps.Expression
Copyright © GigaSpaces.