Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
spark
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cs525-sp18-g07
spark
Commits
a1662326
Commit
a1662326
authored
11 years ago
by
seanm
Browse files
Options
Downloads
Patches
Plain Diff
comment adjustment to takeOrdered
parent
a2c915fb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/src/main/scala/spark/RDD.scala
+1
-1
1 addition, 1 deletion
core/src/main/scala/spark/RDD.scala
core/src/main/scala/spark/api/java/JavaRDDLike.scala
+2
-2
2 additions, 2 deletions
core/src/main/scala/spark/api/java/JavaRDDLike.scala
with
3 additions
and
3 deletions
core/src/main/scala/spark/RDD.scala
+
1
−
1
View file @
a1662326
...
...
@@ -782,7 +782,7 @@ abstract class RDD[T: ClassManifest](
}
/**
* Returns the
top
K elements from this RDD as defined by
* Returns the
first
K elements from this RDD as defined by
* the specified implicit Ordering[T] and maintains the
* ordering.
* @param num the number of top elements to return
...
...
This diff is collapsed.
Click to expand it.
core/src/main/scala/spark/api/java/JavaRDDLike.scala
+
2
−
2
View file @
a1662326
...
...
@@ -386,7 +386,7 @@ trait JavaRDDLike[T, This <: JavaRDDLike[T, This]] extends Serializable {
}
/**
* Returns the
top
K elements from this RDD as defined by
* Returns the
first
K elements from this RDD as defined by
* the specified Comparator[T] and maintains the order.
* @param num the number of top elements to return
* @param comp the comparator that defines the order
...
...
@@ -400,7 +400,7 @@ trait JavaRDDLike[T, This <: JavaRDDLike[T, This]] extends Serializable {
}
/**
* Returns the
top
K elements from this RDD using the
* Returns the
first
K elements from this RDD using the
* natural ordering for T while maintain the order.
* @param num the number of top elements to return
* @return an array of top elements
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment