![]() |
Apache Ignite C++ Client
|
#include <qualified_name.h>
Public Member Functions | |
| const std::string & | get_schema_name () const |
| const std::string & | get_object_name () const |
| const std::string & | get_canonical_name () const |
Static Public Member Functions | |
| static IGNITE_API qualified_name | create (std::string_view schema_name, std::string_view object_name) |
| static IGNITE_API qualified_name | parse (std::string_view simple_or_canonical_name) |
Static Public Attributes | |
| static IGNITE_API constexpr std::string_view | DEFAULT_SCHEMA_NAME = sql_statement::DEFAULT_SCHEMA |
| static IGNITE_API constexpr char | SEPARATOR_CHAR = '.' |
| static IGNITE_API constexpr char | QUOTE_CHAR = '"' |
Represents a qualified name of a database object.
Schema name and object name should conform to SQL syntax rules for identifiers.
|
staticnodiscard |
Create a new instance of a qualified_name class.
| schema_name | Schema name. If empty, the default schema name is assumed. |
| object_name | Object name. Cannot be empty. |
|
nodiscard |
Gets a fully qualified name in canonical form, that is, enclosing each part of the identifier chain in double quotes if necessary.
|
inlinenodiscard |
Gets the object name.
|
inlinenodiscard |
Gets the schema name.
|
staticnodiscard |
Create a new instance of a qualified_name class from a string.
| simple_or_canonical_name | Simple or canonical name. Cannot be empty. |
|
staticconstexpr |
Default schema name.
|
staticconstexpr |
Quote character for identifiers.
|
staticconstexpr |
Separator character between schema and object names.