예제 #1
0
        public override ITable Evaluate(IRequest context)
        {
            var childTable = Child.Evaluate(context);
            var funTable   = new FunctionTable(childTable, Functions, Names, context);

            return(funTable.MergeWith(null));
        }
예제 #2
0
        public override ITable Evaluate(IQueryContext context)
        {
            var childTable = Child.Evaluate(context);
            var funTable = new FunctionTable(childTable, Functions, Names, context);

            // If no columns then it is implied the whole table is the group.
            if (ColumnNames == null) {
                funTable = funTable.AsGroup();
            } else {
                funTable = funTable.CreateGroupMatrix(ColumnNames);
            }

            return funTable.MergeWith(GroupMaxColumn);
        }
예제 #3
0
        public override ITable Evaluate(IRequest context)
        {
            var childTable = Child.Evaluate(context);
            var funTable   = new FunctionTable(childTable, Functions, Names, context);

            // If no columns then it is implied the whole table is the group.
            if (ColumnNames == null)
            {
                funTable = funTable.AsGroup();
            }
            else
            {
                funTable = funTable.CreateGroupMatrix(ColumnNames);
            }

            return(funTable.MergeWith(GroupMaxColumn));
        }
예제 #4
0
 public override ITable Evaluate(IQueryContext context)
 {
     var childTable = Child.Evaluate(context);
     var funTable = new FunctionTable(childTable, Functions, Names, context);
     return funTable.MergeWith(null);
 }