QGIS API Documentation
3.8.0-Zanzibar (11aff65)
|
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 215 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::NodeSelect, QgsSQLStatement::NodeColumnSorted, QgsSQLStatement::NodeJoin, QgsSQLStatement::NodeTableDef, QgsSQLStatement::NodeCast, QgsSQLStatement::NodeSelectedColumn, QgsSQLStatement::NodeColumnRef, QgsSQLStatement::NodeLiteral, QgsSQLStatement::NodeFunction, QgsSQLStatement::NodeBetweenOperator, QgsSQLStatement::NodeInOperator, QgsSQLStatement::NodeBinaryOperator, and QgsSQLStatement::NodeUnaryOperator.
|
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::NodeSelect, QgsSQLStatement::NodeColumnSorted, QgsSQLStatement::NodeJoin, QgsSQLStatement::NodeTableDef, QgsSQLStatement::NodeCast, QgsSQLStatement::NodeSelectedColumn, QgsSQLStatement::NodeColumnRef, QgsSQLStatement::NodeLiteral, QgsSQLStatement::NodeFunction, QgsSQLStatement::NodeBetweenOperator, QgsSQLStatement::NodeInOperator, QgsSQLStatement::NodeBinaryOperator, and QgsSQLStatement::NodeUnaryOperator.
|
pure virtual |
Abstract virtual dump method.
Implemented in QgsSQLStatement::NodeSelect, QgsSQLStatement::NodeColumnSorted, QgsSQLStatement::NodeJoin, QgsSQLStatement::NodeTableDef, QgsSQLStatement::NodeCast, QgsSQLStatement::NodeSelectedColumn, QgsSQLStatement::NodeColumnRef, QgsSQLStatement::NodeLiteral, QgsSQLStatement::NodeFunction, QgsSQLStatement::NodeBetweenOperator, QgsSQLStatement::NodeInOperator, QgsSQLStatement::NodeBinaryOperator, and QgsSQLStatement::NodeUnaryOperator.
|
pure virtual |
Abstract virtual that returns the type of this node.
Implemented in QgsSQLStatement::NodeSelect, QgsSQLStatement::NodeColumnSorted, QgsSQLStatement::NodeJoin, QgsSQLStatement::NodeTableDef, QgsSQLStatement::NodeCast, QgsSQLStatement::NodeSelectedColumn, QgsSQLStatement::NodeColumnRef, QgsSQLStatement::NodeLiteral, QgsSQLStatement::NodeFunction, QgsSQLStatement::NodeBetweenOperator, QgsSQLStatement::NodeInOperator, QgsSQLStatement::NodeBinaryOperator, and QgsSQLStatement::NodeUnaryOperator.