iceberg-cpp
Loading...
Searching...
No Matches
Classes | Enumerations | Functions | Variables
iceberg::hive Namespace Reference

Hive catalog APIs. More...

Classes

class  HiveCatalog
 Catalog implementation backed by a Hive Metastore. More...
 
class  HiveCatalogProperties
 Configuration for the iceberg_hive HiveCatalog. More...
 
class  HmsClient
 A live connection to a Hive Metastore over Thrift. More...
 
struct  HmsEndpoint
 A single host:port pair parsed from an HMS URI. More...
 

Enumerations

enum class  HiveThriftTransport : uint8_t { kBuffered , kFramed }
 Thrift framing mode used to connect to the Hive Metastore. More...
 

Functions

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

Variables

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

Detailed Description

Hive catalog APIs.

Enumeration Type Documentation

◆ HiveThriftTransport

enum class iceberg::hive::HiveThriftTransport : uint8_t
strong

Thrift framing mode used to connect to the Hive Metastore.

Most HMS deployments default to TBufferedTransport. TFramedTransport is required by HMS instances that have been configured to use framed transport (for example, certain Hive 3.x setups with SASL enabled).

Function Documentation

◆ ParseHmsUris()

ICEBERG_HIVE_EXPORT Result< std::vector< HmsEndpoint > > iceberg::hive::ParseHmsUris ( std::string_view  uri)

Parse an HMS URI string into one or more endpoints.

Each comma-separated segment is treated as an independent endpoint; surrounding whitespace and an optional thrift:// scheme prefix are stripped. Returns an InvalidArgument error if any segment fails to produce a non-empty host and a port within (0, 65535].