te::da::Query Class Referenceabstract

A Query is independent from the data source language/dialect. More...

#include <Query.h>

Inheritance diagram for te::da::Query:
te::common::BaseVisitable< QueryVisitor > te::da::Insert te::da::Select

Public Types

typedef void ReturnType
 
typedef QueryVisitor VisitorType
 

Public Member Functions

virtual ReturnType accept (VisitorType &guest) const=0
 It call the visit method from the guest object. More...
 
virtual Queryclone () const =0
 It creates a new copy of this query. More...
 
TE_DEFINE_VISITABLE Query ()
 Default constructor. More...
 
virtual ~Query ()
 Virtual destructor. More...
 

Detailed Description

A Query is independent from the data source language/dialect.

See also
Select, Insert, Update, Delete, CreateDataSet, DropDataSet, AlterDataSet, CreateIndex, DropIndex

Definition at line 46 of file Query.h.

Member Typedef Documentation

◆ ReturnType

typedef void te::common::BaseVisitable< QueryVisitor , void >::ReturnType
inherited

Definition at line 58 of file BaseVisitable.h.

◆ VisitorType

Definition at line 57 of file BaseVisitable.h.

Constructor & Destructor Documentation

◆ Query()

TE_DEFINE_VISITABLE te::da::Query::Query ( )
inline

Default constructor.

Definition at line 53 of file Query.h.

◆ ~Query()

virtual te::da::Query::~Query ( )
inlinevirtual

Virtual destructor.

Definition at line 56 of file Query.h.

Member Function Documentation

◆ accept()

virtual ReturnType te::common::BaseVisitable< QueryVisitor , void >::accept ( VisitorType guest) const
pure virtualinherited

It call the visit method from the guest object.

Parameters
guestThe guest or visitor.
Returns
Any valid value define by the template type R.

◆ clone()

virtual Query* te::da::Query::clone ( ) const
pure virtual

It creates a new copy of this query.

Implemented in te::da::Select, and te::da::Insert.

Referenced by te::da::new_clone().


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