|
iceberg-cpp
|
Provide utilities for REST catalog path and config handling. More...
#include <string>#include <string_view>#include <unordered_map>#include <unordered_set>#include "iceberg/catalog/rest/endpoint.h"#include "iceberg/catalog/rest/iceberg_rest_export.h"#include "iceberg/catalog/rest/type_fwd.h"#include "iceberg/result.h"#include "iceberg/type_fwd.h"Go to the source code of this file.
Namespaces | |
| namespace | iceberg |
| Core Apache Iceberg C++ APIs. | |
| namespace | iceberg::rest |
| REST catalog APIs. | |
Functions | |
| ICEBERG_REST_EXPORT std::string_view | iceberg::rest::TrimTrailingSlash (std::string_view str) |
| Trim trailing slashes from a string. | |
| ICEBERG_REST_EXPORT Result< std::string > | iceberg::rest::EncodeString (std::string_view str_to_encode) |
| URL-encode a string (RFC 3986). | |
| ICEBERG_REST_EXPORT Result< std::string > | iceberg::rest::DecodeString (std::string_view str_to_decode) |
| URL-decode a string. | |
| ICEBERG_REST_EXPORT Result< std::string > | iceberg::rest::EncodeNamespace (const Namespace &ns_to_encode, std::string_view separator="%1F") |
| Encode a Namespace into a URL-safe component. | |
| ICEBERG_REST_EXPORT Result< Namespace > | iceberg::rest::DecodeNamespace (std::string_view str_to_decode, std::string_view separator="%1F") |
| Decode a URL-encoded namespace string back to a Namespace. | |
| ICEBERG_REST_EXPORT std::unordered_map< std::string, std::string > | iceberg::rest::MergeConfigs (const std::unordered_map< std::string, std::string > &server_defaults, const std::unordered_map< std::string, std::string > &client_configs, const std::unordered_map< std::string, std::string > &server_overrides) |
| Merge catalog configuration properties. | |
| ICEBERG_REST_EXPORT std::string | iceberg::rest::GetStandardReasonPhrase (int32_t status_code) |
| Get the standard HTTP reason phrase for a status code. | |
Provide utilities for REST catalog path and config handling.