text: Iterator over a sequence of N-way co-occurrences of range index values from a single stand. You do not need to subclass this class. More...
  #include <MarkLogic.h>
  Iterator over a sequence of N-way co-occurrences of range index values from a single stand. You do not need to subclass this class.
  This class is used to walk the values supplied to your AggregateUDF::map implementation. Each tuple represents one co-occurrence. A tuple contains at most TupleIterator::width values, one value from each range index under consideration. The values within a single tuple are indexed beginning at 0.
  Use the positional index when extracting a value from a tuple or accessing metadata such as type or collation. For example, the following walks all values in a tuple sequence:
  For more details, see "Iterating Over Index Values With TupleIterator" in the Application Developer's Guide.
  Determine the number of times the current tuple occurs.
  If width is one, this is the number of times the value occurs in the range index. If width > 1, this is the number of times the co-occurrence occurs across the input indexes.
  Extract the Ith value in the current tuple.
  C-style casting between primitive types is performed for you by the API. For example, you can extract a tuple value of type xs:int as a double directly by calling value(size_t, double&). For more details, see "Type Conversions in Aggregate UDFs" in the Application Developer's Guide.