Interface IOperation

All Superinterfaces:
IExpression
All Known Implementing Classes:
Operation

public interface IOperation extends IExpression
An operation is a tree node to compose criteries and other operations.

Note that it is assumed the implementations of this interface are immutable and thread safe. So it's highly recommended using the ExpressionBuilder class to create expressions based on operations.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the left sub-expression of this operation tree node.
    Returns the logical operator applicable to the expressions.
    Returns the right sub-expression of this operation tree node.

    Methods inherited from interface com.e1c.langtool.history.db.query.IExpression

    accept
  • Method Details

    • getLeft

      Optional<IExpression> getLeft()
      Returns the left sub-expression of this operation tree node.
      Returns:
      the left expression
    • getRight

      Optional<IExpression> getRight()
      Returns the right sub-expression of this operation tree node.
      Returns:
      the right expression
    • getOperator

      IOperation.BoolOp getOperator()
      Returns the logical operator applicable to the expressions.
      Returns:
      the logical operator