|
iceberg-cpp
|
Resource path builder for Iceberg REST catalog endpoints. More...
#include <resource_paths.h>
Public Member Functions | |
| Result< std::string > | Config () const |
| Get the /v1/config endpoint path. | |
| Result< std::string > | OAuth2Tokens () const |
| Get the /v1/{prefix}/oauth/tokens endpoint path. | |
| Result< std::string > | Namespaces () const |
| Get the /v1/{prefix}/namespaces endpoint path. | |
| Result< std::string > | Namespace_ (const Namespace &ns) const |
| Get the /v1/{prefix}/namespaces/{namespace} endpoint path. | |
| Result< std::string > | NamespaceProperties (const Namespace &ns) const |
| Get the /v1/{prefix}/namespaces/{namespace}/properties endpoint path. | |
| Result< std::string > | Tables (const Namespace &ns) const |
| Get the /v1/{prefix}/namespaces/{namespace}/tables endpoint path. | |
| Result< std::string > | Table (const TableIdentifier &ident) const |
| Get the /v1/{prefix}/namespaces/{namespace}/tables/{table} endpoint path. | |
| Result< std::string > | Register (const Namespace &ns) const |
| Get the /v1/{prefix}/namespaces/{namespace}/register endpoint path. | |
| Result< std::string > | Rename () const |
| Get the /v1/{prefix}/tables/rename endpoint path. | |
| Result< std::string > | Metrics (const TableIdentifier &ident) const |
| Get the /v1/{prefix}/namespaces/{namespace}/tables/{table}/metrics endpoint path. | |
| Result< std::string > | Credentials (const TableIdentifier &ident) const |
| Get the /v1/{prefix}/namespaces/{namespace}/tables/{table}/credentials endpoint path. | |
| Result< std::string > | CommitTransaction () const |
| Get the /v1/{prefix}/transactions/commit endpoint path. | |
Static Public Member Functions | |
| static Result< std::unique_ptr< ResourcePaths > > | Make (std::string base_uri, const std::string &prefix, const std::string &namespace_separator) |
| Construct a ResourcePaths with base URI and optional prefix. | |
Resource path builder for Iceberg REST catalog endpoints.
This class constructs REST API endpoint URLs for various catalog operations.
|
static |
Construct a ResourcePaths with base URI and optional prefix.
| base_uri | The base URI of the REST catalog server (without trailing slash) |
| prefix | Optional prefix for REST API paths (default: empty) |
| namespace_separator | Encoded separator used between namespace levels. |