Package | Description |
---|---|
org.apache.crunch.lib |
Joining, sorting, aggregating, and other commonly used functionality.
|
Class and Description |
---|
Sort.ColumnOrder
To sort by column 2 ascending then column 1 descending, you would use:
sortPairs(coll, by(2, ASCENDING), by(1, DESCENDING))
Column numbering is 1-based. |
Sort.Order |
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.