Deveel.Data.Sql.Query.NonCorrelatedAnyAllNode.Evaluate C# (CSharp) Method

Evaluate() public method

public Evaluate ( IRequest context ) : ITable
context IRequest
return ITable
        public override ITable Evaluate(IRequest context)
        {
            // Solve the left branch result
            var leftResult = Left.Evaluate(context);
            // Solve the right branch result
            var rightResult = Right.Evaluate(context);

            // Solve the sub query on the left columns with the right plan and the
            // given operator.
            return leftResult.SelectAnyAllNonCorrelated(LeftColumnNames, SubQueryType, IsAll, rightResult);
        }