Go to the documentation of this file.
26 #ifndef __TERRALIB_DATAACCESS_INTERNAL_INSERT_H
27 #define __TERRALIB_DATAACCESS_INTERNAL_INSERT_H
164 #endif // __TERRALIB_DATAACCESS_INTERNAL_INSERT_H
A class that models the name of a dataset used in a From clause.
Insert(const DataSetName &d, const Select &s)
Constructor.
Query * clone() const
It creates a new copy of this Insert.
DataSetName * getDataSetName() const
It returns the associated DataSetName.
A class that models the name of a dataset used in a From clause.
Insert(const Insert &rhs)
Copy constructor.
A Query is independent from the data source language/dialect.
The base class for queries.
boost::ptr_vector< Field > Fields
Fields is just a boost::ptr_vector of Field pointers.
void setFields(Fields *f)
It sets the Fields associated to this object.
Insert(const DataSetName &d, const Fields &f, const Select &s)
Constructor.
The Insert object can add the return of a select object.
#define TEDATAACCESSEXPORT
You can use this macro in order to export/import classes and functions from this module.
std::unique_ptr< Select > m_select
The associated Select.
A Select models a query to be used when retrieving data from a data source.
Insert & operator=(const Insert &rhs)
TE_DEFINE_VISITABLE Insert(DataSetName *d, Fields *f, Select *s)
Constructor.
Fields * getFields() const
It returns the associated fields.
#define TE_DEFINE_VISITABLE
The Field class can be used to model an expression that takes part of the output items of a SELECT.
Select * getSelect() const
It returns the associated select.
std::unique_ptr< Fields > m_fields
The associated Fields.
void setSelect(Select *s)
It sets the select associated to this object.
std::unique_ptr< DataSetName > m_dsName
The associated DataSetName.
void setDataSetName(DataSetName *d)
It sets the DataSetName associated to this object.
Insert(DataSetName *d, Select *s)
Constructor.
A Select models a query to be used when retrieving data from a DataSource.
The Fields class can be used to model a set of expressions that form the output items of a SELECT.