QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
#include <qgssqlstatement.h>
Public Member Functions | |
NodeJoin (QgsSQLStatement::NodeTableDef *tabledef, const QList< QString > &usingColumns, QgsSQLStatement::JoinType type) | |
Constructor with table definition and USING columns. More... | |
NodeJoin (QgsSQLStatement::NodeTableDef *tabledef, QgsSQLStatement::Node *onExpr, QgsSQLStatement::JoinType type) | |
Constructor with table definition, ON expression. More... | |
~NodeJoin () override | |
void | accept (QgsSQLStatement::Visitor &v) const override |
Support the visitor pattern. More... | |
QgsSQLStatement::Node * | clone () const override |
Generate a clone of this node. More... | |
QgsSQLStatement::NodeJoin * | cloneThis () const |
Clone with same type return. More... | |
QString | dump () const override |
Abstract virtual dump method. More... | |
QgsSQLStatement::NodeType | nodeType () const override |
Abstract virtual that returns the type of this node. More... | |
QgsSQLStatement::Node * | onExpr () const |
On expression. Will be nullptr if usingColumns() is not empty. More... | |
QgsSQLStatement::NodeTableDef * | tableDef () const |
Table definition. More... | |
QgsSQLStatement::JoinType | type () const |
Join type. More... | |
QList< QString > | usingColumns () const |
Columns referenced by USING. More... | |
![]() | |
virtual | ~Node ()=default |
Protected Attributes | |
Node * | mOnExpr = nullptr |
NodeTableDef * | mTableDef = nullptr |
JoinType | mType |
QList< QString > | mUsingColumns |
Join definition
Definition at line 664 of file qgssqlstatement.h.
|
inline |
Constructor with table definition, ON expression.
Definition at line 668 of file qgssqlstatement.h.
|
inline |
Constructor with table definition and USING columns.
Definition at line 670 of file qgssqlstatement.h.
|
inlineoverride |
Definition at line 671 of file qgssqlstatement.h.
|
inlineoverridevirtual |
Support the visitor pattern.
For any implementation this should look like
C++:
v.visit( *this );
Python:
v.visit( self)
v | A visitor that visits this node. |
Implements QgsSQLStatement::Node.
Definition at line 688 of file qgssqlstatement.h.
|
overridevirtual |
Generate a clone 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.
Implements QgsSQLStatement::Node.
Definition at line 696 of file qgssqlstatement.cpp.
QgsSQLStatement::NodeJoin * QgsSQLStatement::NodeJoin::cloneThis | ( | ) | const |
Clone with same type return.
Definition at line 701 of file qgssqlstatement.cpp.
|
overridevirtual |
Abstract virtual dump method.
Implements QgsSQLStatement::Node.
Definition at line 664 of file qgssqlstatement.cpp.
|
inlineoverridevirtual |
Abstract virtual that returns the type of this node.
Implements QgsSQLStatement::Node.
Definition at line 685 of file qgssqlstatement.h.
|
inline |
On expression. Will be nullptr
if usingColumns() is not empty.
Definition at line 677 of file qgssqlstatement.h.
|
inline |
Table definition.
Definition at line 674 of file qgssqlstatement.h.
|
inline |
Join type.
Definition at line 683 of file qgssqlstatement.h.
|
inline |
Columns referenced by USING.
Definition at line 680 of file qgssqlstatement.h.
|
protected |
Definition at line 695 of file qgssqlstatement.h.
|
protected |
Definition at line 694 of file qgssqlstatement.h.
|
protected |
Definition at line 697 of file qgssqlstatement.h.
|
protected |
Definition at line 696 of file qgssqlstatement.h.