QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
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. | |
virtual QgsSQLStatement::Node * | clone () const =0 |
Generate a clone of this node. | |
virtual QString | dump () const =0 |
Abstract virtual dump method. | |
virtual QgsSQLStatement::NodeType | nodeType () const =0 |
Abstract virtual that returns the type of this node. | |
Abstract node class.
Definition at line 216 of file qgssqlstatement.h.
|
virtualdefault |
|
pure virtual |
Support the visitor pattern.
For any implementation this should look like
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.