QGIS API Documentation 3.29.0-Master (19d7edcfed)
Public Types | Public Member Functions | Public Attributes | List of all members
QgsSQLStatementCollectTableNames Class Reference

Internal use. More...

Inheritance diagram for QgsSQLStatementCollectTableNames:
Inheritance graph

Public Types

typedef QPair< QString, QString > TableColumnPair

Public Member Functions

 QgsSQLStatementCollectTableNames ()=default
 Constructor for QgsSQLStatementCollectTableNames. More...
void visit (const QgsSQLStatement::NodeColumnRef &n) override
 Visit NodeColumnRef. More...
void visit (const QgsSQLStatement::NodeTableDef &n) override
 Visit NodeTableDef. More...
- Public Member Functions inherited from QgsSQLStatement::RecursiveVisitor
 RecursiveVisitor ()=default
 Constructor. More...
void visit (const QgsSQLStatement::NodeBetweenOperator &n) override
 Visit NodeBetweenOperator. More...
void visit (const QgsSQLStatement::NodeBinaryOperator &n) override
 Visit NodeBinaryOperator. More...
void visit (const QgsSQLStatement::NodeCast &n) override
 Visit NodeCast. More...
void visit (const QgsSQLStatement::NodeColumnRef &) override
 Visit NodeColumnRef. More...
void visit (const QgsSQLStatement::NodeColumnSorted &n) override
 Visit NodeColumnSorted. More...
void visit (const QgsSQLStatement::NodeFunction &n) override
 Visit NodeFunction. More...
void visit (const QgsSQLStatement::NodeInOperator &n) override
 Visit NodeInOperator. More...
void visit (const QgsSQLStatement::NodeJoin &n) override
 Visit NodeJoin. More...
void visit (const QgsSQLStatement::NodeLiteral &) override
 Visit NodeLiteral. More...
void visit (const QgsSQLStatement::NodeSelect &n) override
 Visit NodeSelect. More...
void visit (const QgsSQLStatement::NodeSelectedColumn &n) override
 Visit NodeSelectedColumn. More...
void visit (const QgsSQLStatement::NodeTableDef &) override
 Visit NodeTableDef. More...
void visit (const QgsSQLStatement::NodeUnaryOperator &n) override
 Visit NodeUnaryOperator. More...
- Public Member Functions inherited from QgsSQLStatement::Visitor
virtual ~Visitor ()=default
virtual void visit (const QgsSQLStatement::NodeBetweenOperator &n)=0
 Visit NodeBetweenOperator. More...
virtual void visit (const QgsSQLStatement::NodeBinaryOperator &n)=0
 Visit NodeBinaryOperator. More...
virtual void visit (const QgsSQLStatement::NodeCast &n)=0
 Visit NodeCast. More...
virtual void visit (const QgsSQLStatement::NodeColumnRef &n)=0
 Visit NodeColumnRef. More...
virtual void visit (const QgsSQLStatement::NodeColumnSorted &n)=0
 Visit NodeColumnSorted. More...
virtual void visit (const QgsSQLStatement::NodeFunction &n)=0
 Visit NodeFunction. More...
virtual void visit (const QgsSQLStatement::NodeInOperator &n)=0
 Visit NodeInOperator. More...
virtual void visit (const QgsSQLStatement::NodeJoin &n)=0
 Visit NodeJoin. More...
virtual void visit (const QgsSQLStatement::NodeLiteral &n)=0
 Visit NodeLiteral. More...
virtual void visit (const QgsSQLStatement::NodeSelect &n)=0
 Visit NodeSelect. More...
virtual void visit (const QgsSQLStatement::NodeSelectedColumn &n)=0
 Visit NodeSelectedColumn. More...
virtual void visit (const QgsSQLStatement::NodeTableDef &n)=0
 Visit NodeTableDef. More...
virtual void visit (const QgsSQLStatement::NodeUnaryOperator &n)=0
 Visit NodeUnaryOperator. More...

Public Attributes

QSet< QString > tableNamesDeclared
QSet< TableColumnPairtableNamesReferenced

Detailed Description

Internal use.

not available in Python bindings

Definition at line 221 of file qgssqlstatement.cpp.

Member Typedef Documentation

◆ TableColumnPair

typedef QPair<QString, QString> QgsSQLStatementCollectTableNames::TableColumnPair

Definition at line 224 of file qgssqlstatement.cpp.

Constructor & Destructor Documentation

◆ QgsSQLStatementCollectTableNames()

QgsSQLStatementCollectTableNames::QgsSQLStatementCollectTableNames ( )

Member Function Documentation

◆ visit() [1/2]

void QgsSQLStatementCollectTableNames::visit ( const QgsSQLStatement::NodeColumnRef n)

Visit NodeColumnRef.

Implements QgsSQLStatement::Visitor.

Definition at line 238 of file qgssqlstatement.cpp.

◆ visit() [2/2]

void QgsSQLStatementCollectTableNames::visit ( const QgsSQLStatement::NodeTableDef n)

Visit NodeTableDef.

Implements QgsSQLStatement::Visitor.

Definition at line 245 of file qgssqlstatement.cpp.

Member Data Documentation

◆ tableNamesDeclared

QSet<QString> QgsSQLStatementCollectTableNames::tableNamesDeclared

Definition at line 234 of file qgssqlstatement.cpp.

◆ tableNamesReferenced

QSet<TableColumnPair> QgsSQLStatementCollectTableNames::tableNamesReferenced

Definition at line 235 of file qgssqlstatement.cpp.

The documentation for this class was generated from the following file: