iceberg-cpp
Loading...
Searching...
No Matches
Namespaces | Functions
rest_file_io.h File Reference

Provide helpers to create FileIO instances for REST catalog responses. More...

#include <memory>
#include <unordered_map>
#include <vector>
#include "iceberg/catalog/rest/catalog_properties.h"
#include "iceberg/catalog/rest/iceberg_rest_export.h"
#include "iceberg/catalog/rest/types.h"
#include "iceberg/file_io.h"
#include "iceberg/file_io_registry.h"
#include "iceberg/result.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 Result< std::unique_ptr< FileIO > > iceberg::rest::MakeCatalogFileIO (const RestCatalogProperties &config)
 Build the catalog FileIO: the configured io-impl, or the scheme-resolving FileIO by default.
 
ICEBERG_REST_EXPORT Result< std::unique_ptr< FileIO > > iceberg::rest::MakeTableFileIO (const std::unordered_map< std::string, std::string > &catalog_config, const std::unordered_map< std::string, std::string > &table_config, const std::vector< StorageCredential > &storage_credentials)
 Build the configured table FileIO and apply storage credentials if present.
 

Detailed Description

Provide helpers to create FileIO instances for REST catalog responses.