org.apache.pig.impl.util
Class LineageTracer

java.lang.Object
  extended by org.apache.pig.impl.util.LineageTracer

public class LineageTracer
extends Object


Constructor Summary
LineageTracer()
           
 
Method Summary
 IdentityHashMap<Tuple,Integer> getCounts()
           
 Collection<Tuple> getMembers(Tuple t)
           
 IdentityHashMap<Tuple,Collection<Tuple>> getMembershipMap()
           
 Tuple getRepresentative(Tuple t)
           
 IdentityHashMap<Tuple,Integer> getWeightedCounts(IdentityHashSet<Tuple> specialTuples, int multiplier)
           
 void insert(Tuple t)
           
 void union(Tuple t1, Tuple t2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineageTracer

public LineageTracer()
Method Detail

insert

public void insert(Tuple t)

union

public void union(Tuple t1,
                  Tuple t2)

getRepresentative

public Tuple getRepresentative(Tuple t)

getCounts

public IdentityHashMap<Tuple,Integer> getCounts()

getWeightedCounts

public IdentityHashMap<Tuple,Integer> getWeightedCounts(IdentityHashSet<Tuple> specialTuples,
                                                        int multiplier)

getMembers

public Collection<Tuple> getMembers(Tuple t)

getMembershipMap

public IdentityHashMap<Tuple,Collection<Tuple>> getMembershipMap()


Copyright © 2007-2012 The Apache Software Foundation