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