5#ifndef TABLEAU_HYPER_SCHEMANAME_HPP
6#define TABLEAU_HYPER_SCHEMANAME_HPP
59inline bool operator==(
const SchemaName& a,
const SchemaName& b)
noexcept {
return (a.getDatabaseName() == b.getDatabaseName()) && (a.getName() == b.getName()); }
70#include <hyperapi/impl/SchemaName.impl.hpp>
Represents an escaped SQL database name.
Represents an escaped SQL name.
Represents an escaped SQL schema name.
SchemaName(DatabaseName databaseName, Name name)
Constructor for a qualified schema name.
SchemaName(Name name)
Constructor for a non-qualified schema name.
const Name & getName() const noexcept
bool isFullyQualified() const noexcept
SchemaName(std::string name)
Constructor for a non-qualified schema name.
std::string toString() const
SchemaName(const char *name)
Constructor for a non-qualified schema name.
const optional< DatabaseName > & getDatabaseName() const noexcept
Surrogate for C++17 std::optional
The primary namespace of the Hyper API for C++.
bool operator<(const DatabaseName &a, const DatabaseName &b) noexcept
Smaller operator.
bool operator==(const DatabaseName &a, const DatabaseName &b) noexcept
Equality operator.
bool operator>(const DatabaseName &a, const DatabaseName &b) noexcept
Greater operator.
bool operator!=(const DatabaseName &a, const DatabaseName &b) noexcept
Not equal operator.
bool operator>=(const DatabaseName &a, const DatabaseName &b) noexcept
Greater or equal operator.
std::ostream & operator<<(std::ostream &os, const DatabaseName &name)
Stream output operator.
bool operator<=(const DatabaseName &a, const DatabaseName &b) noexcept
Smaller or equal operator.