aboutsummaryrefslogtreecommitdiff
path: root/sql/core/src
diff options
context:
space:
mode:
authorDongjoon Hyun <dongjoon@apache.org>2016-03-09 23:54:00 -0800
committerReynold Xin <rxin@databricks.com>2016-03-09 23:54:00 -0800
commit9525c563de9c446e108c1e9535238d99cc34cab9 (patch)
treea43996f077967d3b9566a825ec99a641d4e7fc44 /sql/core/src
parent3e3c3d58d8d42b42e930d42eb70b0e84d02967eb (diff)
downloadspark-9525c563de9c446e108c1e9535238d99cc34cab9.tar.gz
spark-9525c563de9c446e108c1e9535238d99cc34cab9.tar.bz2
spark-9525c563de9c446e108c1e9535238d99cc34cab9.zip
[MINOR][SQL] Replace DataFrameWriter.stream() with startStream() in comments.
## What changes were proposed in this pull request? According to #11627 , this PR replace `DataFrameWriter.stream()` with `startStream()` in comments of `ContinuousQueryListener.java`. ## How was this patch tested? Manual. (It changes on comments.) Author: Dongjoon Hyun <dongjoon@apache.org> Closes #11629 from dongjoon-hyun/minor_rename.
Diffstat (limited to 'sql/core/src')
-rw-r--r--sql/core/src/main/scala/org/apache/spark/sql/util/ContinuousQueryListener.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/util/ContinuousQueryListener.scala b/sql/core/src/main/scala/org/apache/spark/sql/util/ContinuousQueryListener.scala
index 73c78d1b62..2c5358cbd7 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/util/ContinuousQueryListener.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/util/ContinuousQueryListener.scala
@@ -32,9 +32,9 @@ abstract class ContinuousQueryListener {
/**
* Called when a query is started.
* @note This is called synchronously with
- * [[org.apache.spark.sql.DataFrameWriter `DataFrameWriter.stream()`]],
- * that is, `onQueryStart` will be called on all listeners before `DataFrameWriter.stream()`
- * returns the corresponding [[ContinuousQuery]].
+ * [[org.apache.spark.sql.DataFrameWriter `DataFrameWriter.startStream()`]],
+ * that is, `onQueryStart` will be called on all listeners before
+ * `DataFrameWriter.startStream()` returns the corresponding [[ContinuousQuery]].
*/
def onQueryStarted(queryStarted: QueryStarted)