Class CachedTable

Object
org.apache.spark.sql.catalog.CachedTable
All Implemented Interfaces:
org.apache.spark.sql.catalyst.DefinedByConstructorParams

public class CachedTable extends Object implements org.apache.spark.sql.catalyst.DefinedByConstructorParams
An in-memory cached relation registered with a name, as returned by Catalog.listCachedTables.

param: name table or view name used when caching (same string passed to CACHE TABLE / cacheTable). param: storageLevel storage level description of the cached data.

Since:
4.2.0
  • Constructor Details

    • CachedTable

      public CachedTable(String name, String storageLevel)
  • Method Details