|
iceberg-cpp
|
A live connection to a Hive Metastore over Thrift. More...
#include <hms_client.h>
Public Member Functions | |
| HmsClient (const HmsClient &)=delete | |
| HmsClient & | operator= (const HmsClient &)=delete |
| HmsClient (HmsClient &&)=delete | |
| HmsClient & | operator= (HmsClient &&)=delete |
Static Public Member Functions | |
| static Result< std::unique_ptr< HmsClient > > | Connect (const HiveCatalogProperties &config) |
Connect to the Hive Metastore described by config. | |
A live connection to a Hive Metastore over Thrift.
Construction goes through Connect, which parses the URI, selects the transport and opens it so that configuration errors surface as iceberg::Error rather than C++ exceptions.
|
static |
Connect to the Hive Metastore described by config.
Exactly one endpoint is supported: a multi-endpoint config.Uri() returns InvalidArgument until HA failover is implemented in a future commit.