I am afraid there is no such API.

When persisting, you can specify StorageLevel :

  def persist(newLevel: StorageLevel): this.type = {

Can you tell us your use case ?

Thanks

On Thu, May 5, 2016 at 8:06 PM, Divya Gehlot <divya.htco...@gmail.com>
wrote:

> Hi,
> How can I get and set storage level for Dataframes like RDDs ,
> as mentioned in following  book links
>
> https://jaceklaskowski.gitbooks.io/mastering-apache-spark/content/spark-rdd-caching.html
>
>
>
> Thanks,
> Divya
>

Reply via email to