|
iceberg-cpp
|
Session-aware REST catalog root. More...
#include <rest_catalog.h>
Classes | |
| class | ContextCatalog |
| class | TableScopedCatalog |
Public Member Functions | |
| RestCatalog (const RestCatalog &)=delete | |
| RestCatalog & | operator= (const RestCatalog &)=delete |
| RestCatalog (RestCatalog &&)=delete | |
| RestCatalog & | operator= (RestCatalog &&)=delete |
| std::string_view | name () const override |
| Catalog name. | |
| Result< std::shared_ptr< Catalog > > | AsCatalog () override |
Return a Catalog view bound to the catalog's default session. | |
| Result< std::shared_ptr< Catalog > > | WithContext (SessionContext context) override |
Return a Catalog view bound to the supplied session context. | |
Static Public Member Functions | |
| static Result< std::shared_ptr< RestCatalog > > | Make (const RestCatalogProperties &config) |
| Create a RestCatalog instance. | |
Session-aware REST catalog root.
|
overridevirtual |
Return a Catalog view bound to the catalog's default session.
Implementations may cache and return the same default catalog view on repeated calls.
Implements iceberg::SessionCatalog.
|
overridevirtual |
Catalog name.
Implements iceberg::SessionCatalog.
|
overridevirtual |
Return a Catalog view bound to the supplied session context.
Implementations should reject invalid contexts, such as an empty SessionContext::session_id. Returned catalog views use the normal Catalog interface for all table and namespace operations.
Implements iceberg::SessionCatalog.