NodeJoin class
Join definition.
Contents
Base classes
- class Node
- Abstract node class.
Constructors, destructors, conversion operators
-
NodeJoin(QgsSQLStatement::
NodeTableDef* tabledef, QgsSQLStatement:: Node* onExpr, QgsSQLStatement:: JoinType type) - Constructor with table definition, ON expression.
-
NodeJoin(QgsSQLStatement::
NodeTableDef* tabledef, const QList<QString>& usingColumns, QgsSQLStatement:: JoinType type) - Constructor with table definition and USING columns.
Public functions
-
void accept(QgsSQLStatement::
Visitor& v) const override - Support the visitor pattern.
-
auto clone() const -> QgsSQLStatement::
Node* override - Generate a clone of this node.
-
auto cloneThis() const -> QgsSQLStatement::
NodeJoin* - Clone with same type return.
- auto dump() const -> QString override
- Abstract virtual dump method.
-
auto nodeType() const -> QgsSQLStatement::
NodeType override - Abstract virtual that returns the type of this node.
-
auto onExpr() const -> QgsSQLStatement::
Node* - On expression. Will be nullptr if usingColumns() is not empty.
-
auto tableDef() const -> QgsSQLStatement::
NodeTableDef* - Table definition.
-
auto type() const -> QgsSQLStatement::
JoinType - Join type.
- auto usingColumns() const -> QList<QString>
- Columns referenced by USING.
Function documentation
void QgsSQLStatement:: NodeJoin:: accept(QgsSQLStatement:: Visitor& v) const override
Support the visitor pattern.
| Parameters | |
|---|---|
| v | A visitor that visits this node. |
For any implementation this should look like
C++:
v.visit( *this );
Python:
v.visit( self)
QgsSQLStatement:: Node* QgsSQLStatement:: NodeJoin:: clone() const override
Generate a clone of this node.
| Returns | a deep copy of this node. |
|---|
Make sure that the clone does not contain any information which is generated in prepare and context related. Ownership is transferred to the caller.
QString QgsSQLStatement:: NodeJoin:: dump() const override
Abstract virtual dump method.
| Returns | A statement which represents this node as string |
|---|
QgsSQLStatement:: NodeType QgsSQLStatement:: NodeJoin:: nodeType() const override
Abstract virtual that returns the type of this node.
| Returns | The type of this node |
|---|