Skip to content

Commit c8c175e

Browse files
committed
Fix style in sqlcontext.
1 parent 4b5978b commit c8c175e

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,6 @@ class SQLContext private[sql](
305305

306306
/**
307307
* Returns true if the table is currently cached in-memory.
308-
*
309308
* @group cachemgmt
310309
* @since 1.3.0
311310
*/
@@ -314,18 +313,16 @@ class SQLContext private[sql](
314313
}
315314

316315
/**
317-
* Returns true if the [[Queryable]] is currently cached in-memory.
318-
*
316+
* Returns true if the [[Queryable]] is currently cached in-memory.
319317
* @group cachemgmt
320-
* @since 1.3.0
321-
*/
318+
* @since 1.3.0
319+
*/
322320
private[sql] def isCached(qName: Queryable): Boolean = {
323321
cacheManager.lookupCachedData(qName).nonEmpty
324322
}
325323

326324
/**
327325
* Caches the specified table in-memory.
328-
*
329326
* @group cachemgmt
330327
* @since 1.3.0
331328
*/
@@ -335,15 +332,13 @@ class SQLContext private[sql](
335332

336333
/**
337334
* Removes the specified table from the in-memory cache.
338-
*
339335
* @group cachemgmt
340336
* @since 1.3.0
341337
*/
342338
def uncacheTable(tableName: String): Unit = cacheManager.uncacheQuery(table(tableName))
343339

344340
/**
345341
* Removes all cached tables from the in-memory cache.
346-
*
347342
* @since 1.3.0
348343
*/
349344
def clearCache(): Unit = cacheManager.clearCache()
@@ -545,7 +540,6 @@ class SQLContext private[sql](
545540
*
546541
* WARNING: Since there is no guaranteed ordering for fields in a Java Bean,
547542
* SELECT * queries will return the columns in an undefined order.
548-
*
549543
* @group dataframes
550544
* @since 1.3.0
551545
*/
@@ -565,7 +559,6 @@ class SQLContext private[sql](
565559
*
566560
* WARNING: Since there is no guaranteed ordering for fields in a Java Bean,
567561
* SELECT * queries will return the columns in an undefined order.
568-
*
569562
* @group dataframes
570563
* @since 1.3.0
571564
*/
@@ -578,7 +571,6 @@ class SQLContext private[sql](
578571
*
579572
* WARNING: Since there is no guaranteed ordering for fields in a Java Bean,
580573
* SELECT * queries will return the columns in an undefined order.
581-
*
582574
* @group dataframes
583575
* @since 1.6.0
584576
*/

0 commit comments

Comments
 (0)