A procedure used to represent a FLWOR expression with
an
order by clause.
(
gnu.kawa.functions.ValuesMap is used for FLWOR expression
that don't have an
order by clause.)
As returned by the parser:
for $x1 in exp1, $x2 in exp2 where cond order by comparator1 ...
Helper class used in conjunction with
OrderedMap .
It has the tuples from the
for and
let -clauses,
as filtered by the
where -clause.
The tuples are sorted using a linked-list version of merge sort.
The sequence of n tuples for m variables is represented using
an array of length n where each element is an array of length m.
A possible future optimization would be to instead use m
different arrays of of length n.
Used to filter the output of RelativeStep.
Atomic values are passed though as-is, while node values are sorted
by document order and duplicates removed.