int count;
for (count = 0; tupIter.hasNext(); ++count) {
NullableTuple ntp = tupIter.next();
tmp = (Tuple) ntp.getValueAsPigType();
if (!tmp.equals(tOut))
lineageTracer.union(tOut, tmp);
}
if (count > 1) // only non-distinct tuples are inserted into the equivalence class
illustrator.getEquivalenceClasses().get(eqClassIndex).add(tOut);
illustrator.addData((Tuple) tOut);
return (Tuple) tOut;