diff options
author | Reynold Xin <rxin@databricks.com> | 2015-05-12 18:37:02 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-05-12 18:37:02 -0700 |
commit | 8fd55358b7fc1c7545d823bef7b39769f731c1ee (patch) | |
tree | 593ec8df076fcdc8d8ad952e3d2df97c58773378 /sql/hive | |
parent | 1b9e434b6c19f23a01e9875a3c1966cd03ce8e2d (diff) | |
download | spark-8fd55358b7fc1c7545d823bef7b39769f731c1ee.tar.gz spark-8fd55358b7fc1c7545d823bef7b39769f731c1ee.tar.bz2 spark-8fd55358b7fc1c7545d823bef7b39769f731c1ee.zip |
[SPARK-7588] Document all SQL/DataFrame public methods with @since tag
This pull request adds since tag to all public methods/classes in SQL/DataFrame to indicate which version the methods/classes were first added.
Author: Reynold Xin <rxin@databricks.com>
Closes #6101 from rxin/tbc and squashes the following commits:
ed55e11 [Reynold Xin] Add since version to all DataFrame methods.
Diffstat (limited to 'sql/hive')
-rw-r--r-- | sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala b/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala index 61e8c154e8..766c42d040 100644 --- a/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala +++ b/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala @@ -63,6 +63,8 @@ private[hive] class HiveQLDialect extends ParserDialect { /** * An instance of the Spark SQL execution engine that integrates with data stored in Hive. * Configuration for Hive is read from hive-site.xml on the classpath. + * + * @since 1.0.0 */ class HiveContext(sc: SparkContext) extends SQLContext(sc) { self => @@ -225,6 +227,8 @@ class HiveContext(sc: SparkContext) extends SQLContext(sc) { * Spark SQL or the external data source library it uses might cache certain metadata about a * table, such as the location of blocks. When those change outside of Spark SQL, users should * call this function to invalidate the cache. + * + * @since 1.3.0 */ def refreshTable(tableName: String): Unit = { // TODO: Database support... @@ -242,6 +246,8 @@ class HiveContext(sc: SparkContext) extends SQLContext(sc) { * * Right now, it only supports Hive tables and it only updates the size of a Hive table * in the Hive metastore. + * + * @since 1.2.0 */ @Experimental def analyze(tableName: String) { |