[1/2] spark git commit: [SPARK-6824] Fill the docs for DataFrame API in SparkR
Repository: spark Updated Branches: refs/heads/branch-1.4 75fed0ca4 - 4f01f5b56 http://git-wip-us.apache.org/repos/asf/spark/blob/4f01f5b5/R/pkg/R/generics.R -- diff --git a/R/pkg/R/generics.R b/R/pkg/R/generics.R index 5838955..380e8eb 100644 --- a/R/pkg/R/generics.R +++ b/R/pkg/R/generics.R @@ -17,353 +17,353 @@ RDD Actions and Transformations -#' @rdname aggregateRDD -#' @seealso reduce -#' @export +# @rdname aggregateRDD +# @seealso reduce +# @export setGeneric(aggregateRDD, function(x, zeroValue, seqOp, combOp) { standardGeneric(aggregateRDD) }) -#' @rdname cache-methods -#' @export +# @rdname cache-methods +# @export setGeneric(cache, function(x) { standardGeneric(cache) }) -#' @rdname coalesce -#' @seealso repartition -#' @export +# @rdname coalesce +# @seealso repartition +# @export setGeneric(coalesce, function(x, numPartitions, ...) { standardGeneric(coalesce) }) -#' @rdname checkpoint-methods -#' @export +# @rdname checkpoint-methods +# @export setGeneric(checkpoint, function(x) { standardGeneric(checkpoint) }) -#' @rdname collect-methods -#' @export +# @rdname collect-methods +# @export setGeneric(collect, function(x, ...) { standardGeneric(collect) }) -#' @rdname collect-methods -#' @export +# @rdname collect-methods +# @export setGeneric(collectAsMap, function(x) { standardGeneric(collectAsMap) }) -#' @rdname collect-methods -#' @export +# @rdname collect-methods +# @export setGeneric(collectPartition, function(x, partitionId) { standardGeneric(collectPartition) }) -#' @rdname count -#' @export +# @rdname count +# @export setGeneric(count, function(x) { standardGeneric(count) }) -#' @rdname countByValue -#' @export +# @rdname countByValue +# @export setGeneric(countByValue, function(x) { standardGeneric(countByValue) }) -#' @rdname distinct -#' @export +# @rdname distinct +# @export setGeneric(distinct, function(x, numPartitions = 1) { standardGeneric(distinct) }) -#' @rdname filterRDD -#' @export +# @rdname filterRDD +# @export setGeneric(filterRDD, function(x, f) { standardGeneric(filterRDD) }) -#' @rdname first -#' @export +# @rdname first +# @export setGeneric(first, function(x) { standardGeneric(first) }) -#' @rdname flatMap -#' @export +# @rdname flatMap +# @export setGeneric(flatMap, function(X, FUN) { standardGeneric(flatMap) }) -#' @rdname fold -#' @seealso reduce -#' @export +# @rdname fold +# @seealso reduce +# @export setGeneric(fold, function(x, zeroValue, op) { standardGeneric(fold) }) -#' @rdname foreach -#' @export +# @rdname foreach +# @export setGeneric(foreach, function(x, func) { standardGeneric(foreach) }) -#' @rdname foreach -#' @export +# @rdname foreach +# @export setGeneric(foreachPartition, function(x, func) { standardGeneric(foreachPartition) }) # The jrdd accessor function. setGeneric(getJRDD, function(rdd, ...) { standardGeneric(getJRDD) }) -#' @rdname glom -#' @export +# @rdname glom +# @export setGeneric(glom, function(x) { standardGeneric(glom) }) -#' @rdname keyBy -#' @export +# @rdname keyBy +# @export setGeneric(keyBy, function(x, func) { standardGeneric(keyBy) }) -#' @rdname lapplyPartition -#' @export +# @rdname lapplyPartition +# @export setGeneric(lapplyPartition, function(X, FUN) { standardGeneric(lapplyPartition) }) -#' @rdname lapplyPartitionsWithIndex -#' @export +# @rdname lapplyPartitionsWithIndex +# @export setGeneric(lapplyPartitionsWithIndex, function(X, FUN) { standardGeneric(lapplyPartitionsWithIndex) }) -#' @rdname lapply -#' @export +# @rdname lapply +# @export setGeneric(map, function(X, FUN) { standardGeneric(map) }) -#' @rdname lapplyPartition -#' @export +# @rdname lapplyPartition +# @export setGeneric(mapPartitions, function(X, FUN) { standardGeneric(mapPartitions) }) -#' @rdname lapplyPartitionsWithIndex -#' @export +# @rdname lapplyPartitionsWithIndex +# @export setGeneric(mapPartitionsWithIndex, function(X, FUN) { standardGeneric(mapPartitionsWithIndex) }) -#' @rdname maximum -#' @export +# @rdname maximum +# @export setGeneric(maximum, function(x) { standardGeneric(maximum) }) -#' @rdname minimum -#' @export +# @rdname minimum +# @export setGeneric(minimum, function(x) { standardGeneric(minimum) }) -#' @rdname sumRDD -#' @export +# @rdname sumRDD +# @export setGeneric(sumRDD, function(x) { standardGeneric(sumRDD) }) -#' @rdname name -#' @export +# @rdname name +# @export setGeneric(name, function(x) { standardGeneric(name) }) -#' @rdname numPartitions -#' @export +# @rdname numPartitions +# @export setGeneric(numPartitions, function(x) { standardGeneric(numPartitions) }) -#' @rdname persist -#' @export +# @rdname persist +# @export setGeneric(persist, function(x, newLevel) { standardGeneric(persist) }) -#' @rdname pipeRDD -#' @export +# @rdname
[1/2] spark git commit: [SPARK-6824] Fill the docs for DataFrame API in SparkR
Repository: spark Updated Branches: refs/heads/master 65afd3ce8 - 008a60dd3 http://git-wip-us.apache.org/repos/asf/spark/blob/008a60dd/R/pkg/R/generics.R -- diff --git a/R/pkg/R/generics.R b/R/pkg/R/generics.R index 5838955..380e8eb 100644 --- a/R/pkg/R/generics.R +++ b/R/pkg/R/generics.R @@ -17,353 +17,353 @@ RDD Actions and Transformations -#' @rdname aggregateRDD -#' @seealso reduce -#' @export +# @rdname aggregateRDD +# @seealso reduce +# @export setGeneric(aggregateRDD, function(x, zeroValue, seqOp, combOp) { standardGeneric(aggregateRDD) }) -#' @rdname cache-methods -#' @export +# @rdname cache-methods +# @export setGeneric(cache, function(x) { standardGeneric(cache) }) -#' @rdname coalesce -#' @seealso repartition -#' @export +# @rdname coalesce +# @seealso repartition +# @export setGeneric(coalesce, function(x, numPartitions, ...) { standardGeneric(coalesce) }) -#' @rdname checkpoint-methods -#' @export +# @rdname checkpoint-methods +# @export setGeneric(checkpoint, function(x) { standardGeneric(checkpoint) }) -#' @rdname collect-methods -#' @export +# @rdname collect-methods +# @export setGeneric(collect, function(x, ...) { standardGeneric(collect) }) -#' @rdname collect-methods -#' @export +# @rdname collect-methods +# @export setGeneric(collectAsMap, function(x) { standardGeneric(collectAsMap) }) -#' @rdname collect-methods -#' @export +# @rdname collect-methods +# @export setGeneric(collectPartition, function(x, partitionId) { standardGeneric(collectPartition) }) -#' @rdname count -#' @export +# @rdname count +# @export setGeneric(count, function(x) { standardGeneric(count) }) -#' @rdname countByValue -#' @export +# @rdname countByValue +# @export setGeneric(countByValue, function(x) { standardGeneric(countByValue) }) -#' @rdname distinct -#' @export +# @rdname distinct +# @export setGeneric(distinct, function(x, numPartitions = 1) { standardGeneric(distinct) }) -#' @rdname filterRDD -#' @export +# @rdname filterRDD +# @export setGeneric(filterRDD, function(x, f) { standardGeneric(filterRDD) }) -#' @rdname first -#' @export +# @rdname first +# @export setGeneric(first, function(x) { standardGeneric(first) }) -#' @rdname flatMap -#' @export +# @rdname flatMap +# @export setGeneric(flatMap, function(X, FUN) { standardGeneric(flatMap) }) -#' @rdname fold -#' @seealso reduce -#' @export +# @rdname fold +# @seealso reduce +# @export setGeneric(fold, function(x, zeroValue, op) { standardGeneric(fold) }) -#' @rdname foreach -#' @export +# @rdname foreach +# @export setGeneric(foreach, function(x, func) { standardGeneric(foreach) }) -#' @rdname foreach -#' @export +# @rdname foreach +# @export setGeneric(foreachPartition, function(x, func) { standardGeneric(foreachPartition) }) # The jrdd accessor function. setGeneric(getJRDD, function(rdd, ...) { standardGeneric(getJRDD) }) -#' @rdname glom -#' @export +# @rdname glom +# @export setGeneric(glom, function(x) { standardGeneric(glom) }) -#' @rdname keyBy -#' @export +# @rdname keyBy +# @export setGeneric(keyBy, function(x, func) { standardGeneric(keyBy) }) -#' @rdname lapplyPartition -#' @export +# @rdname lapplyPartition +# @export setGeneric(lapplyPartition, function(X, FUN) { standardGeneric(lapplyPartition) }) -#' @rdname lapplyPartitionsWithIndex -#' @export +# @rdname lapplyPartitionsWithIndex +# @export setGeneric(lapplyPartitionsWithIndex, function(X, FUN) { standardGeneric(lapplyPartitionsWithIndex) }) -#' @rdname lapply -#' @export +# @rdname lapply +# @export setGeneric(map, function(X, FUN) { standardGeneric(map) }) -#' @rdname lapplyPartition -#' @export +# @rdname lapplyPartition +# @export setGeneric(mapPartitions, function(X, FUN) { standardGeneric(mapPartitions) }) -#' @rdname lapplyPartitionsWithIndex -#' @export +# @rdname lapplyPartitionsWithIndex +# @export setGeneric(mapPartitionsWithIndex, function(X, FUN) { standardGeneric(mapPartitionsWithIndex) }) -#' @rdname maximum -#' @export +# @rdname maximum +# @export setGeneric(maximum, function(x) { standardGeneric(maximum) }) -#' @rdname minimum -#' @export +# @rdname minimum +# @export setGeneric(minimum, function(x) { standardGeneric(minimum) }) -#' @rdname sumRDD -#' @export +# @rdname sumRDD +# @export setGeneric(sumRDD, function(x) { standardGeneric(sumRDD) }) -#' @rdname name -#' @export +# @rdname name +# @export setGeneric(name, function(x) { standardGeneric(name) }) -#' @rdname numPartitions -#' @export +# @rdname numPartitions +# @export setGeneric(numPartitions, function(x) { standardGeneric(numPartitions) }) -#' @rdname persist -#' @export +# @rdname persist +# @export setGeneric(persist, function(x, newLevel) { standardGeneric(persist) }) -#' @rdname pipeRDD -#' @export +# @rdname