Interface BinaryExpressionVisitor

  • All Known Implementing Classes:
    DefaultBinaryExpressionVisitor

    public interface BinaryExpressionVisitor
    Acts as a delegate to visiting the BinaryExpression. The intended usage of this interface is to call the visit method from the ExpressionVisitor.visitBinary(BinaryExpression, BinaryOperator, Object, Object)
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object visit​(org.apache.olingo.odata2.api.uri.expression.BinaryExpression expression, org.apache.olingo.odata2.api.uri.expression.BinaryOperator operator, java.lang.Object leftResult, java.lang.Object rightResult)
      Visit the BinaryExpression
    • Method Detail

      • visit

        java.lang.Object visit​(org.apache.olingo.odata2.api.uri.expression.BinaryExpression expression,
                               org.apache.olingo.odata2.api.uri.expression.BinaryOperator operator,
                               java.lang.Object leftResult,
                               java.lang.Object rightResult)
        Visit the BinaryExpression
        Parameters:
        expression - Binary expression
        operator - Operator on the left and right operands
        leftResult - Result from visiting the left operand
        rightResult - Result from visiting the right operand
        Returns:
        The result from this visit method