Represents an escaped SQL table name.
More...
#include <TableName.hpp>
Represents an escaped SQL table name.
- Examples
- read_and_print_data_from_existing_hyper_file.cpp.
Definition at line 15 of file TableName.hpp.
◆ TableName() [1/5]
hyperapi::TableName::TableName |
( |
Name |
name | ) |
|
|
inline |
Constructor for a non-qualified table name.
Definition at line 18 of file TableName.hpp.
◆ TableName() [2/5]
hyperapi::TableName::TableName |
( |
std::string |
name | ) |
|
|
inline |
Constructor for a non-qualified table name.
Definition at line 21 of file TableName.hpp.
◆ TableName() [3/5]
hyperapi::TableName::TableName |
( |
const char * |
name | ) |
|
|
inline |
Constructor for a non-qualified table name.
- Precondition
- name != nullptr
Definition at line 27 of file TableName.hpp.
◆ TableName() [4/5]
Constructor for a partly qualified table name.
Definition at line 30 of file TableName.hpp.
◆ TableName() [5/5]
Constructor for a fully qualified table name.
Definition at line 33 of file TableName.hpp.
◆ getDatabaseName()
- Returns
- the optional database name prefix of the optional schema name prefix
◆ getName()
const Name & hyperapi::TableName::getName |
( |
| ) |
const |
|
inlinenoexcept |
◆ getSchemaName()
- Returns
- the optional schema name prefix
Definition at line 42 of file TableName.hpp.
◆ isFullyQualified()
bool hyperapi::TableName::isFullyQualified |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
- whether this name is fully qualified, i.e., whether it has a schema name and a database name
Definition at line 48 of file TableName.hpp.
◆ toString()
std::string hyperapi::TableName::toString |
( |
| ) |
const |
- Returns
- The properly quoted, escaped, and dot-separated string representation of the entire name
The documentation for this class was generated from the following file: