25 #include <olp/core/client/OlpClientSettings.h>
26 #include <olp/core/geo/tiling/TileKey.h>
27 #include <olp/core/porting/deprecated.h>
28 #include <olp/dataservice/read/CatalogRequest.h>
29 #include <olp/dataservice/read/CatalogVersionRequest.h>
30 #include <olp/dataservice/read/CompatibleVersionsRequest.h>
31 #include <olp/dataservice/read/DataRequest.h>
32 #include <olp/dataservice/read/DataServiceReadApi.h>
33 #include <olp/dataservice/read/PartitionsRequest.h>
34 #include <olp/dataservice/read/Types.h>
35 #include <olp/dataservice/read/VersionsRequest.h>
43 namespace dataservice {
46 class CatalogClientImpl;
106 CatalogResponseCallback callback);
139 CatalogVersionCallback callback);
175 VersionsResponseCallback callback);
227 std::unique_ptr<CatalogClientImpl> impl_;
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
Provides a high-level interface to access data hosted on OLP using the Data API.
Definition: CatalogClient.h:66
bool CancelPendingRequests()
Cancels the currently active requests.
client::CancellationToken GetCompatibleVersions(CompatibleVersionsRequest request, CompatibleVersionsCallback callback)
Gets the list of the current catalog versions that are compatible with the dependencies provided by t...
CatalogClient & operator=(CatalogClient &&other) noexcept
A copy assignment operator.
client::CancellableFuture< CatalogResponse > GetCatalog(CatalogRequest request)
Gets the catalog configuration asynchronously.
CatalogClient(const CatalogClient &other)=delete
A copy constructor.
client::CancellableFuture< CompatibleVersionsResponse > GetCompatibleVersions(CompatibleVersionsRequest request)
Gets the list of the current catalog versions that are compatible with the dependencies provided by t...
client::CancellationToken GetLatestVersion(CatalogVersionRequest request, CatalogVersionCallback callback)
Gets the catalog version asynchronously.
client::CancellableFuture< CatalogVersionResponse > GetLatestVersion(CatalogVersionRequest request)
Gets the catalog version asynchronously.
CatalogClient(CatalogClient &&other) noexcept
A default move constructor.
client::CancellationToken ListVersions(VersionsRequest request, VersionsResponseCallback callback)
Gets the catalog versions list.
client::CancellationToken GetCatalog(CatalogRequest request, CatalogResponseCallback callback)
Gets the catalog configuration asynchronously.
CatalogClient(client::HRN catalog, client::OlpClientSettings settings)
Creates the CatalogClient instance.
client::CancellableFuture< VersionsResponse > ListVersions(VersionsRequest request)
Gets the catalog versions list.
Encapsulates the fields required to request catalog configuration.
Definition: CatalogRequest.h:37
Encapsulates the fields required to request catalog configuration.
Definition: CatalogVersionRequest.h:38
Contains fields required to request compatible versions for the given catalog.
Definition: CompatibleVersionsRequest.h:36
Encapsulates the fields required to request a list of versions for the given catalog.
Definition: VersionsRequest.h:39
Rules all the other namespaces.
Definition: AppleSignInProperties.h:24
Configures the behavior of the OlpClient class.
Definition: OlpClientSettings.h:180