Hyper API for C++
0.0.16638
Hyper client library for C++ applications
|
Go to the documentation of this file.
5 #ifndef TABLEAU_HYPER_SCHEMANAME_HPP
6 #define TABLEAU_HYPER_SCHEMANAME_HPP
57 inline bool operator<(
const SchemaName& a,
const SchemaName& b) noexcept;
59 inline 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>
bool operator<(const DatabaseName &a, const DatabaseName &b) noexcept
Smaller operator.
bool operator<=(const DatabaseName &a, const DatabaseName &b) noexcept
Smaller or equal operator.
bool operator>=(const DatabaseName &a, const DatabaseName &b) noexcept
Greater or equal operator.
Represents an escaped SQL name.
bool operator>(const DatabaseName &a, const DatabaseName &b) noexcept
Greater operator.
bool isFullyQualified() const noexcept
const Name & getName() const noexcept
Surrogate for C++17 std::optional
std::ostream & operator<<(std::ostream &os, const DatabaseName &name)
Stream output operator.
SchemaName(DatabaseName databaseName, Name name)
Constructor for a qualified schema name.
SchemaName(std::string name)
Constructor for a non-qualified schema name.
bool operator==(const DatabaseName &a, const DatabaseName &b) noexcept
Equality operator.
bool operator!=(const DatabaseName &a, const DatabaseName &b) noexcept
Not equal operator.
const optional< DatabaseName > & getDatabaseName() const noexcept
The primary namespace of the Hyper API for C++.
SchemaName(Name name)
Constructor for a non-qualified schema name.
Represents an escaped SQL schema name.
SchemaName(const char *name)
Constructor for a non-qualified schema name.
Represents an escaped SQL database name.
std::string toString() const