|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Packages that use org.apache.crunch.lib | |
|---|---|
| org.apache.crunch.lib | Joining, sorting, aggregating, and other commonly used functionality. |
| org.apache.crunch.lib.sort | |
| Classes in org.apache.crunch.lib used by org.apache.crunch.lib | |
|---|---|
| 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
For signaling the order in which a sort should be done. |
|
| Classes in org.apache.crunch.lib used by org.apache.crunch.lib.sort | |
|---|---|
| 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
For signaling the order in which a sort should be done. |
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||