QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
|
Abstract node class. More...
#include <qgssqlstatement.h>
Public Member Functions | |
virtual | ~Node ()=default |
virtual void | accept (QgsSQLStatement::Visitor &v) const =0 |
Support the visitor pattern. More... | |
virtual QgsSQLStatement::Node * | clone () const =0 |
Generate a clone of this node. More... | |
virtual QString | dump () const =0 |
Abstract virtual dump method. More... | |
virtual QgsSQLStatement::NodeType | nodeType () const =0 |
Abstract virtual that returns the type of this node. More... | |
Abstract node class.
Definition at line 220 of file qgssqlstatement.h.
|
virtualdefault |
|
pure virtual |
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. |
Implemented in QgsSQLStatement::NodeUnaryOperator, QgsSQLStatement::NodeBinaryOperator, QgsSQLStatement::NodeInOperator, QgsSQLStatement::NodeBetweenOperator, QgsSQLStatement::NodeFunction, QgsSQLStatement::NodeLiteral, QgsSQLStatement::NodeColumnRef, QgsSQLStatement::NodeSelectedColumn, QgsSQLStatement::NodeCast, QgsSQLStatement::NodeTableDef, QgsSQLStatement::NodeJoin, QgsSQLStatement::NodeColumnSorted, and QgsSQLStatement::NodeSelect.
|
pure virtual |
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.
Implemented in QgsSQLStatement::NodeUnaryOperator, QgsSQLStatement::NodeBinaryOperator, QgsSQLStatement::NodeInOperator, QgsSQLStatement::NodeBetweenOperator, QgsSQLStatement::NodeFunction, QgsSQLStatement::NodeLiteral, QgsSQLStatement::NodeColumnRef, QgsSQLStatement::NodeSelectedColumn, QgsSQLStatement::NodeCast, QgsSQLStatement::NodeTableDef, QgsSQLStatement::NodeJoin, QgsSQLStatement::NodeColumnSorted, and QgsSQLStatement::NodeSelect.
|
pure virtual |
Abstract virtual dump method.
Implemented in QgsSQLStatement::NodeUnaryOperator, QgsSQLStatement::NodeBinaryOperator, QgsSQLStatement::NodeInOperator, QgsSQLStatement::NodeBetweenOperator, QgsSQLStatement::NodeFunction, QgsSQLStatement::NodeLiteral, QgsSQLStatement::NodeColumnRef, QgsSQLStatement::NodeSelectedColumn, QgsSQLStatement::NodeCast, QgsSQLStatement::NodeTableDef, QgsSQLStatement::NodeJoin, QgsSQLStatement::NodeColumnSorted, and QgsSQLStatement::NodeSelect.
|
pure virtual |
Abstract virtual that returns the type of this node.
Implemented in QgsSQLStatement::NodeUnaryOperator, QgsSQLStatement::NodeBinaryOperator, QgsSQLStatement::NodeInOperator, QgsSQLStatement::NodeBetweenOperator, QgsSQLStatement::NodeFunction, QgsSQLStatement::NodeLiteral, QgsSQLStatement::NodeColumnRef, QgsSQLStatement::NodeSelectedColumn, QgsSQLStatement::NodeCast, QgsSQLStatement::NodeTableDef, QgsSQLStatement::NodeJoin, QgsSQLStatement::NodeColumnSorted, and QgsSQLStatement::NodeSelect.