pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Pig Wiki] Update of "UserDefinedOrdering" by AlanGates
Date Fri, 02 Nov 2007 23:19:11 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Pig Wiki" for change notification.

The following page has been changed by AlanGates:
http://wiki.apache.org/pig/UserDefinedOrdering

------------------------------------------------------------------------------
  {
     return new Comparator<Tuple>() {
         public int compare(Tuple t1, Tuple t2) {
-     		return comp.compare(simpleEval(t1), simpleEval(t2));
+     		return mComparator.compare(simpleEval(t1), simpleEval(t2));
         }
- 
- 	   private Comparator<Tuple> comp = new mComparator();
     };
  }
  

Mime
View raw message