25 #include <olp/core/client/ApiError.h>
26 #include <olp/core/client/ApiResponse.h>
27 #include <olp/core/client/CancellationToken.h>
28 #include <olp/core/client/HRN.h>
29 #include <olp/core/client/OlpClientSettings.h>
30 #include <olp/core/geo/tiling/TileKey.h>
31 #include <olp/dataservice/read/DataRequest.h>
32 #include <olp/dataservice/read/PartitionsRequest.h>
33 #include <olp/dataservice/read/PrefetchTilesRequest.h>
34 #include <olp/dataservice/read/Types.h>
37 namespace dataservice {
39 class VolatileLayerClientImpl;
131 PartitionsResponseCallback callback);
167 DataResponseCallback callback);
271 std::unique_ptr<VolatileLayerClientImpl> impl_;
Represents a request outcome.
Definition: ApiResponse.h:65
A wrapper template that you can use to cancel a request or wait for it to finalize.
Definition: ApiResponse.h:281
Cancels service requests.
Definition: CancellationToken.h:33
Allows a Here Resource Name (HRN) to be passed to the operations that require it.
Definition: HRN.h:34
Encapsulates the fields required to request data for the given catalog, layer, and partition.
Definition: DataRequest.h:43
Encapsulates the fields required to request a list of partitions for the given catalog and layer.
Definition: PartitionsRequest.h:40
Encapsulates the fields required to prefetch the specified layers, tiles, and levels.
Definition: PrefetchTilesRequest.h:47
Gets data from a volatile layer of the HERE platform.
Definition: VolatileLayerClient.h:81
bool RemoveFromCache(const std::string &partition_id)
Removes the partition from the mutable disk cache.
VolatileLayerClient(VolatileLayerClient &&other) noexcept
A default move constructor.
client::ApiNoResponse DeleteFromCache(const std::string &partition_id)
Removes the partition from the mutable disk cache.
VolatileLayerClient(const VolatileLayerClient &other)=delete
A copy constructor.
bool CancelPendingRequests()
Cancels all active and pending requests.
olp::client::CancellableFuture< DataResponse > GetData(DataRequest request)
Fetches data asynchronously using a partition ID or data handle.
olp::client::CancellableFuture< PartitionsResponse > GetPartitions(PartitionsRequest request)
Fetches a list of volatile layer partitions asynchronously.
VolatileLayerClient & operator=(VolatileLayerClient &&other) noexcept
A move assignment operator.
client::CancellationToken GetPartitions(PartitionsRequest request, PartitionsResponseCallback callback)
Fetches a list of volatile layer partitions asynchronously.
olp::client::CancellationToken GetData(DataRequest request, DataResponseCallback callback)
Fetches data asynchronously using a partition ID or data handle.
VolatileLayerClient(client::HRN catalog, std::string layer_id, client::OlpClientSettings settings)
Creates the VolatileLayerClient instance.
client::CancellationToken PrefetchTiles(PrefetchTilesRequest request, PrefetchTilesResponseCallback callback)
Prefetches a set of tiles asynchronously.
client::ApiNoResponse DeleteFromCache(const geo::TileKey &tile)
Removes the tile from the mutable disk cache.
bool RemoveFromCache(const geo::TileKey &tile)
Removes the tile from the mutable disk cache.
VolatileLayerClient & operator=(const VolatileLayerClient &other)=delete
A copy assignment operator.
client::CancellableFuture< PrefetchTilesResponse > PrefetchTiles(PrefetchTilesRequest request)
Prefetches a set of tiles asynchronously.
Addresses a tile in a quadtree.
Definition: TileKey.h:63
Rules all the other namespaces.
Definition: AppleSignInProperties.h:24
Configures the behavior of the OlpClient class.
Definition: OlpClientSettings.h:180