Class Expression

java.lang.Object
org.nuxeo.ecm.core.query.sql.model.Expression
All Implemented Interfaces:
Serializable, ASTNode, Operand
Direct Known Subclasses:
Predicate

public class Expression extends Object implements Operand
An infix expression.
Author:
Bogdan Stefanescu
See Also:
  • Field Details

    • operator

      public final Operator operator
    • lvalue

      public final Operand lvalue
    • rvalue

      public final Operand rvalue
    • info

      public Object info
      Arbitrary info associated to the expression.
  • Constructor Details

  • Method Details

    • accept

      public void accept(IVisitor visitor)
      Description copied from interface: ASTNode
      Accept the given visitor.
      Specified by:
      accept in interface ASTNode
      Parameters:
      visitor - the AST node visitor
    • isSuffix

      public boolean isSuffix()
      Is the unary operator pretty-printed after the operand?
    • setInfo

      public void setInfo(Object info)
    • getInfo

      public Object getInfo()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isPathExpression

      public boolean isPathExpression()