Delete Volatile Data
- Last UpdatedMar 27, 2025
- 1 minute read
The Data Client Library provides the class LayerUpdater
to perform update operations on volatile layers.
The LayerUpdater
has 3 methods:
updateLayer(catalogHrn, layerId)
defines the catalog and layer which should be updated.option(key, value)
can be used to specify if only the data should be deleted while the metadata is kept by setting"olp.volatile.delete-data-only"
to true. By default both, metadata and data are deleted.delete(queryString)
performs the delete operation according the query string. The query string is in RSQL format. Thedelete
function call is blocking/synchronous. It returns when the delete operation finished.
Project Dependencies
If you want to create an application that uses the HERE platform Spark Connector to delete data from volatile layer, add the required dependencies to your project as described in chapter Dependencies for Spark Connector.
Examples
The following snippet demonstrates how to delete data from a volatile layer of a catalog.
Note
For information on RSQL, see RSQL.