| 
    QGIS API Documentation 3.99.0-Master (f78f5286a64)
    
   | 
 
Join definition. More...
#include <qgssqlstatement.h>

Public Member Functions | |
| NodeJoin (QgsSQLStatement::NodeTableDef *tabledef, const QList< QString > &usingColumns, QgsSQLStatement::JoinType type) | |
| Constructor with table definition and USING columns.   | |
| NodeJoin (QgsSQLStatement::NodeTableDef *tabledef, QgsSQLStatement::Node *onExpr, QgsSQLStatement::JoinType type) | |
| Constructor with table definition, ON expression.   | |
| void | accept (QgsSQLStatement::Visitor &v) const override | 
| Support the visitor pattern.   | |
| QgsSQLStatement::Node * | clone () const override | 
| Generate a clone of this node.   | |
| QgsSQLStatement::NodeJoin * | cloneThis () const | 
| Clone with same type return.   | |
| QString | dump () const override | 
| Abstract virtual dump method.   | |
| QgsSQLStatement::NodeType | nodeType () const override | 
| Abstract virtual that returns the type of this node.   | |
| QgsSQLStatement::Node * | onExpr () const | 
On expression. Will be nullptr if usingColumns() is not empty.   | |
| QgsSQLStatement::NodeTableDef * | tableDef () const | 
| Table definition.   | |
| QgsSQLStatement::JoinType | type () const | 
| Join type.   | |
| QList< QString > | usingColumns () const | 
| Columns referenced by USING.   | |
  Public Member Functions inherited from QgsSQLStatement::Node | |
| virtual | ~Node ()=default | 
Protected Attributes | |
| std::unique_ptr< Node > | mOnExpr | 
| std::unique_ptr< NodeTableDef > | mTableDef | 
| JoinType | mType | 
| QList< QString > | mUsingColumns | 
Join definition.
Definition at line 723 of file qgssqlstatement.h.
      
  | 
  inline | 
Constructor with table definition, ON expression.
Definition at line 727 of file qgssqlstatement.h.
      
  | 
  inline | 
Constructor with table definition and USING columns.
Definition at line 729 of file qgssqlstatement.h.
      
  | 
  inlineoverridevirtual | 
Support the visitor pattern.
For any implementation this should look like
| v | A visitor that visits this node. | 
Implements QgsSQLStatement::Node.
Definition at line 746 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 718 of file qgssqlstatement.cpp.
| QgsSQLStatement::NodeJoin * QgsSQLStatement::NodeJoin::cloneThis | ( | ) | const | 
Clone with same type return.
Definition at line 723 of file qgssqlstatement.cpp.
      
  | 
  overridevirtual | 
Abstract virtual dump method.
Implements QgsSQLStatement::Node.
Definition at line 686 of file qgssqlstatement.cpp.
      
  | 
  inlineoverridevirtual | 
Abstract virtual that returns the type of this node.
Implements QgsSQLStatement::Node.
Definition at line 743 of file qgssqlstatement.h.
      
  | 
  inline | 
On expression. Will be nullptr if usingColumns() is not empty. 
Definition at line 735 of file qgssqlstatement.h.
      
  | 
  inline | 
Table definition.
Definition at line 732 of file qgssqlstatement.h.
      
  | 
  inline | 
Join type.
Definition at line 741 of file qgssqlstatement.h.
      
  | 
  inline | 
Columns referenced by USING.
Definition at line 738 of file qgssqlstatement.h.
      
  | 
  protected | 
Definition at line 762 of file qgssqlstatement.h.
      
  | 
  protected | 
Definition at line 761 of file qgssqlstatement.h.
      
  | 
  protected | 
Definition at line 764 of file qgssqlstatement.h.
      
  | 
  protected | 
Definition at line 763 of file qgssqlstatement.h.