Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8B7D3200B78 for ; Fri, 2 Sep 2016 11:25:58 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 894DE160AAC; Fri, 2 Sep 2016 09:25:58 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CD8EA160AAB for ; Fri, 2 Sep 2016 11:25:57 +0200 (CEST) Received: (qmail 56705 invoked by uid 500); 2 Sep 2016 09:25:57 -0000 Mailing-List: contact commits-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@spark.apache.org Received: (qmail 56696 invoked by uid 99); 2 Sep 2016 09:25:57 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2016 09:25:57 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id CCC81DFE61; Fri, 2 Sep 2016 09:25:56 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: srowen@apache.org To: commits@spark.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: spark git commit: [SQL][DOC][MINOR] Add (Scala-specific) and (Java-specific) Date: Fri, 2 Sep 2016 09:25:56 +0000 (UTC) archived-at: Fri, 02 Sep 2016 09:25:58 -0000 Repository: spark Updated Branches: refs/heads/master 6969dcc79 -> a3097e2b3 [SQL][DOC][MINOR] Add (Scala-specific) and (Java-specific) ## What changes were proposed in this pull request? Adds (Scala-specific) and (Java-specific) to Scaladoc. ## How was this patch tested? local build Author: Jacek Laskowski Closes #14891 from jaceklaskowski/scala-specifics. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/a3097e2b Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/a3097e2b Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/a3097e2b Branch: refs/heads/master Commit: a3097e2b314b1cd7446c6106a54fe4b49871c26d Parents: 6969dcc Author: Jacek Laskowski Authored: Fri Sep 2 10:25:42 2016 +0100 Committer: Sean Owen Committed: Fri Sep 2 10:25:42 2016 +0100 ---------------------------------------------------------------------- .../scala/org/apache/spark/sql/KeyValueGroupedDataset.scala | 8 ++++++++ 1 file changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/a3097e2b/sql/core/src/main/scala/org/apache/spark/sql/KeyValueGroupedDataset.scala ---------------------------------------------------------------------- diff --git a/sql/core/src/main/scala/org/apache/spark/sql/KeyValueGroupedDataset.scala b/sql/core/src/main/scala/org/apache/spark/sql/KeyValueGroupedDataset.scala index 61a3e6e..cea16fb 100644 --- a/sql/core/src/main/scala/org/apache/spark/sql/KeyValueGroupedDataset.scala +++ b/sql/core/src/main/scala/org/apache/spark/sql/KeyValueGroupedDataset.scala @@ -79,6 +79,7 @@ class KeyValueGroupedDataset[K, V] private[sql]( } /** + * (Scala-specific) * Applies the given function to each group of data. For each unique group, the function will * be passed the group key and an iterator that contains all of the elements in the group. The * function can return an iterator containing elements of an arbitrary type which will be returned @@ -107,6 +108,7 @@ class KeyValueGroupedDataset[K, V] private[sql]( } /** + * (Java-specific) * Applies the given function to each group of data. For each unique group, the function will * be passed the group key and an iterator that contains all of the elements in the group. The * function can return an iterator containing elements of an arbitrary type which will be returned @@ -129,6 +131,7 @@ class KeyValueGroupedDataset[K, V] private[sql]( } /** + * (Scala-specific) * Applies the given function to each group of data. For each unique group, the function will * be passed the group key and an iterator that contains all of the elements in the group. The * function can return an element of arbitrary type which will be returned as a new [[Dataset]]. @@ -151,6 +154,7 @@ class KeyValueGroupedDataset[K, V] private[sql]( } /** + * (Java-specific) * Applies the given function to each group of data. For each unique group, the function will * be passed the group key and an iterator that contains all of the elements in the group. The * function can return an element of arbitrary type which will be returned as a new [[Dataset]]. @@ -172,6 +176,7 @@ class KeyValueGroupedDataset[K, V] private[sql]( } /** + * (Scala-specific) * Reduces the elements of each group of data using the specified binary function. * The given function must be commutative and associative or the result may be non-deterministic. * @@ -184,6 +189,7 @@ class KeyValueGroupedDataset[K, V] private[sql]( } /** + * (Java-specific) * Reduces the elements of each group of data using the specified binary function. * The given function must be commutative and associative or the result may be non-deterministic. * @@ -269,6 +275,7 @@ class KeyValueGroupedDataset[K, V] private[sql]( def count(): Dataset[(K, Long)] = agg(functions.count("*").as(ExpressionEncoder[Long]())) /** + * (Scala-specific) * Applies the given function to each cogrouped data. For each unique group, the function will * be passed the grouping key and 2 iterators containing all elements in the group from * [[Dataset]] `this` and `other`. The function can return an iterator containing elements of an @@ -293,6 +300,7 @@ class KeyValueGroupedDataset[K, V] private[sql]( } /** + * (Java-specific) * Applies the given function to each cogrouped data. For each unique group, the function will * be passed the grouping key and 2 iterators containing all elements in the group from * [[Dataset]] `this` and `other`. The function can return an iterator containing elements of an --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org For additional commands, e-mail: commits-help@spark.apache.org