persists an object with the given name
persists an object with the given name
- object to be persisted
- name of the object
Calls df.persist(), which updates the DataFrame's cached timestamp, meaning it won't get garbage collected by Spark for some time.
Calls df.persist(), which updates the DataFrame's cached timestamp, meaning it won't get garbage collected by Spark for some time.
the NamedDataFrame to refresh
unpersist the given object
unpersist the given object
- object to be unpersisted
implementation of a NamedObjectPersister for DataFrame objects