Return-Path:
X-Original-To: apmail-crunch-commits-archive@www.apache.org
Delivered-To: apmail-crunch-commits-archive@www.apache.org
Received: from mail.apache.org (hermes.apache.org [140.211.11.3])
by minotaur.apache.org (Postfix) with SMTP id 0C03B11F0A
for ;
Fri, 25 Apr 2014 06:50:01 +0000 (UTC)
Received: (qmail 90406 invoked by uid 500); 25 Apr 2014 06:50:00 -0000
Delivered-To: apmail-crunch-commits-archive@crunch.apache.org
Received: (qmail 90373 invoked by uid 500); 25 Apr 2014 06:49:59 -0000
Mailing-List: contact commits-help@crunch.apache.org; run by ezmlm
Precedence: bulk
List-Help:
List-Unsubscribe:
List-Post:
List-Id:
Reply-To: dev@crunch.apache.org
Delivered-To: mailing list commits@crunch.apache.org
Received: (qmail 90366 invoked by uid 99); 25 Apr 2014 06:49:59 -0000
Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136)
by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Apr 2014 06:49:59 +0000
X-ASF-Spam-Status: No, hits=-2000.0 required=5.0
tests=ALL_TRUSTED
X-Spam-Check-By: apache.org
Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4)
by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Apr 2014 06:49:57 +0000
Received: from eris.apache.org (localhost [127.0.0.1])
by eris.apache.org (Postfix) with ESMTP id C5CF92388999
for ; Fri, 25 Apr 2014 06:49:37 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: svn commit: r906798 - in /websites/staging/crunch/trunk/content: ./
user-guide.html
Date: Fri, 25 Apr 2014 06:49:37 -0000
To: commits@crunch.apache.org
From: buildbot@apache.org
X-Mailer: svnmailer-1.0.9
Message-Id: <20140425064937.C5CF92388999@eris.apache.org>
X-Virus-Checked: Checked by ClamAV on apache.org
Author: buildbot
Date: Fri Apr 25 06:49:37 2014
New Revision: 906798
Log:
Staging update by buildbot for crunch
Modified:
websites/staging/crunch/trunk/content/ (props changed)
websites/staging/crunch/trunk/content/user-guide.html
Propchange: websites/staging/crunch/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Apr 25 06:49:37 2014
@@ -1 +1 @@
-1575027
+1589941
Modified: websites/staging/crunch/trunk/content/user-guide.html
==============================================================================
--- websites/staging/crunch/trunk/content/user-guide.html (original)
+++ websites/staging/crunch/trunk/content/user-guide.html Fri Apr 25 06:49:37 2014
@@ -1154,8 +1154,8 @@ specify which columns of the Tuple shoul
the ColumnOrder class:
PTable<String, Long> table = ...;
- // Sorted by value, instead of key-- remember, a PTable is a PCollection of Pairs.
- PCollection<Pair<String, Long>> valueSort = Sort.sort(table, ColumnOrder.by(1, Sort.Order.DESCENDING));
+ // Sorted by value, instead of key -- remember, a PTable is a PCollection of Pairs.
+ PCollection<Pair<String, Long>> sortedByValue = Sort.sortPairs(table, ColumnOrder.by(1, Sort.Order.DESCENDING));