86 std::unique_ptr<Impl> impl_;
88 explicit HmsClient(std::unique_ptr<Impl> impl);
Configuration for the iceberg_hive HiveCatalog.
Definition hive_catalog_properties.h:47
A live connection to a Hive Metastore over Thrift.
Definition hms_client.h:68
static Result< std::unique_ptr< HmsClient > > Connect(const HiveCatalogProperties &config)
Connect to the Hive Metastore described by config.
Configuration for connecting to a Hive Metastore (HMS) over Thrift.
Define symbol visibility macros for the Hive catalog library.
Hive catalog APIs.
Definition hive_catalog.h:34
ICEBERG_HIVE_EXPORT Result< std::vector< HmsEndpoint > > ParseHmsUris(std::string_view uri)
Parse an HMS URI string into one or more endpoints.
constexpr int kDefaultHmsPort
Hive's well-known metastore port, used when an HMS URI omits one.
Definition hms_client.h:39
std::expected< T, E > Result
Result alias.
Definition result.h:88
Define Result, Status, and error helpers.
A single host:port pair parsed from an HMS URI.
Definition hms_client.h:50