iceberg-cpp
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
hms_client.h File Reference

Thin wrapper around the generated Hive Metastore Thrift client. More...

#include <memory>
#include <string>
#include <string_view>
#include <vector>
#include "iceberg/catalog/hive/hive_catalog_properties.h"
#include "iceberg/catalog/hive/iceberg_hive_export.h"
#include "iceberg/result.h"

Go to the source code of this file.

Classes

struct  iceberg::hive::HmsEndpoint
 A single host:port pair parsed from an HMS URI. More...
 
class  iceberg::hive::HmsClient
 A live connection to a Hive Metastore over Thrift. More...
 

Namespaces

namespace  iceberg
 Core Apache Iceberg C++ APIs.
 
namespace  iceberg::hive
 Hive catalog APIs.
 

Functions

ICEBERG_HIVE_EXPORT Result< std::vector< HmsEndpoint > > iceberg::hive::ParseHmsUris (std::string_view uri)
 Parse an HMS URI string into one or more endpoints.
 

Variables

constexpr int iceberg::hive::kDefaultHmsPort = 9083
 Hive's well-known metastore port, used when an HMS URI omits one.
 

Detailed Description

Thin wrapper around the generated Hive Metastore Thrift client.

Thrift types are kept out of the public interface via a pImpl.