public function onRelationalExpression($expressionType, $left, $right)
    {
        $type = $this->unpackExpressionType($expressionType);
        switch ($type) {
            case ExpressionType::GREATERTHAN:
                return $this->prepareBinaryExpression(self::GREATER_THAN, $left, $right);
            case ExpressionType::GREATERTHAN_OR_EQUAL:
                return $this->prepareBinaryExpression(self::GREATER_THAN_OR_EQUAL, $left, $right);
            case ExpressionType::LESSTHAN:
                return $this->prepareBinaryExpression(self::LESS_THAN, $left, $right);
            case ExpressionType::LESSTHAN_OR_EQUAL:
                return $this->prepareBinaryExpression(self::LESS_THAN_OR_EQUAL, $left, $right);
            case ExpressionType::EQUAL:
                return $this->prepareBinaryExpression(self::EQUAL, $left, $right);
            case ExpressionType::NOTEQUAL:
                return $this->prepareBinaryExpression(self::NOT_EQUAL, $left, $right);
            default:
                throw new \InvalidArgumentException('onRelationalExpression');
        }
    }
public function onRelationalExpression($expressionType, $left, $right)
    {
        $type = $this->unpackExpressionType($expressionType);
        switch ($type) {
            case ExpressionType::GREATERTHAN:
                return $this->prepareBinaryExpression(self::GREATER_THAN, $left, $right);
            case ExpressionType::GREATERTHAN_OR_EQUAL:
                return $this->prepareBinaryExpression(self::GREATER_THAN_OR_EQUAL, $left, $right);
            case ExpressionType::LESSTHAN:
                return $this->prepareBinaryExpression(self::LESS_THAN, $left, $right);
            case ExpressionType::LESSTHAN_OR_EQUAL:
                return $this->prepareBinaryExpression(self::LESS_THAN_OR_EQUAL, $left, $right);
            case ExpressionType::EQUAL:
                return $this->prepareBinaryExpression(self::EQUAL, $left, $right);
            case ExpressionType::NOTEQUAL:
                return $this->prepareBinaryExpression(self::NOT_EQUAL, $left, $right);
            default:
                throw new \InvalidArgumentException('onRelationalExpression');
        }
    }
public function onRelationalExpression ( $ expressionType , $ left , $ right ) { $ type = $ this -> unpackExpressionType ( $ expressionType ) ; switch ( $ type ) { case ExpressionType :: GREATERTHAN : return $ this -> prepareBinaryExpression ( self :: GREATER_THAN , $ left , $ right ) ; case ExpressionType :: GREATERTHAN_OR_EQUAL : return $ this -> prepareBinaryExpression ( self :: GREATER_THAN_OR_EQUAL , $ left , $ right ) ; case ExpressionType :: LESSTHAN : return $ this -> prepareBinaryExpression ( self :: LESS_THAN , $ left , $ right ) ; case ExpressionType :: LESSTHAN_OR_EQUAL : return $ this -> prepareBinaryExpression ( self :: LESS_THAN_OR_EQUAL , $ left , $ right ) ; case ExpressionType :: EQUAL : return $ this -> prepareBinaryExpression ( self :: EQUAL , $ left , $ right ) ; case ExpressionType :: NOTEQUAL : return $ this -> prepareBinaryExpression ( self :: NOT_EQUAL , $ left , $ right ) ; default : throw new \ InvalidArgumentException ( 'onRelationalExpression' ) ; } }
Call-back for relational expression.

@param ExpressionType $expressionType The type of relation expression
@param string         $left           The left expression
@param string         $right          The left expression

@return string
Call - back for relational expression .