28#include "iceberg/iceberg_export.h"
29#include "iceberg/result.h"
36 std::vector<std::string> levels;
38 bool operator==(
const Namespace& other)
const {
return levels == other.levels; }
40 std::string ToString()
const;
43ICEBERG_EXPORT
inline std::string ToString(
const Namespace& ns) {
return ns.ToString(); }
51 return ns == other.ns && name == other.name;
57 return Invalid(
"Invalid table identifier: missing table name");
62 std::string ToString()
const;
65ICEBERG_EXPORT
inline std::string ToString(
const TableIdentifier& ident) {
66 return ident.ToString();
A namespace in a catalog.
Definition table_identifier.h:35
Identifies a table in iceberg catalog.
Definition table_identifier.h:46
Status Validate() const
Validates the TableIdentifier.
Definition table_identifier.h:55