org.openspaces.jpa.openjpa.query
Class LogicalExpression
java.lang.Object
  
org.openspaces.jpa.openjpa.query.LogicalExpression
- All Implemented Interfaces: 
 - Serializable, org.apache.openjpa.kernel.exps.Expression, ExpressionNode
 
public class LogicalExpression
- extends Object
- implements org.apache.openjpa.kernel.exps.Expression, ExpressionNode
  
Represents a logical expression (AND/OR) in the translated query expression tree.
- Since:
 
  - 8.0
 
- Author:
 
  - idan
 
- See Also:
 - Serialized Form
 
 
 
 
 
 
LogicalExpression
public LogicalExpression(org.apache.openjpa.kernel.exps.Expression expression1,
                         org.apache.openjpa.kernel.exps.Expression expression2,
                         BinaryExpression.ExpressionType expressionType)
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.
 
 
acceptVisit
public void acceptVisit(org.apache.openjpa.kernel.exps.ExpressionVisitor visitor)
- Specified by:
 acceptVisit in interface org.apache.openjpa.kernel.exps.Expression
 
 
toString
public String toString()
- Overrides:
 toString in class Object
 
 
getNodeType
public ExpressionNode.NodeType getNodeType()
- Description copied from interface: 
ExpressionNode 
- Gets the node type
- Specified by:
 getNodeType in interface ExpressionNode
 
- Returns:
 - The node type.
 
 
 
Copyright © GigaSpaces.