Insert & operator=(const Insert &rhs)
A class that models the name of a dataset used in a From clause.
void setDataSetName(DataSetName *d)
It sets the DataSetName associated to this object.
std::unique_ptr< Select > m_select
The associated Select.
std::unique_ptr< DataSetName > m_dsName
The associated DataSetName.
The Insert object can add the return of a select object.
Query * clone() const
It creates a new copy of this Insert.
void setFields(Fields *f)
It sets the Fields associated to this object.
std::unique_ptr< Fields > m_fields
The associated Fields.
static te::dt::DateTime d(2010, 8, 9, 15, 58, 39)
Fields * getFields() const
It returns the associated fields.
boost::ptr_vector< Field > Fields
Fields is just a boost::ptr_vector of Field pointers.
TE_DEFINE_VISITABLE Insert(DataSetName *d, Fields *f, Select *s)
Constructor.
A Insert can be used to add information in a table.
DataSetName * getDataSetName() const
It returns the associated DataSetName.
A Select models a query to be used when retrieving data from a DataSource.
void setSelect(Select *s)
It sets the select associated to this object.
Select * getSelect() const
It returns the associated select.
A Query is independent from the data source language/dialect.