26 #ifndef __TERRALIB_SQLITE_INTERNAL_PREPAREDQUERY_H 
   27 #define __TERRALIB_SQLITE_INTERNAL_PREPAREDQUERY_H 
   30 #include "../dataaccess/datasource/PreparedQuery.h" 
   37 #include <boost/cstdint.hpp> 
   59     class DataSourceTransactor;
 
   80         void prepare(
const std::string& query, 
const std::vector<te::dt::Property*>& paramTypes);
 
   87         void bind(
int i, 
char value);
 
   89         void bind(
int i, 
unsigned char value);
 
   91         void bind(
int i, boost::int16_t value);
 
   93         void bind(
int i, boost::int32_t value);
 
   95         void bind(
int i, boost::int64_t value);
 
   97         void bind(
int i, 
bool value);
 
   99         void bind(
int i, 
float value);
 
  101         void bind(
int i, 
double value);
 
  105         void bind(
int i, 
const std::string& value);
 
  121         void prepare(
const std::string& query);
 
  123         void bind(
const std::vector<std::size_t>& propertiesPos, std::size_t offset, 
te::da::DataSet* d);
 
  140 #endif  // __TERRALIB_SQLITE_INTERNAL_PREPAREDQUERY_H 
Configuration flags for the SQLite Data Access driver. 
 
A class that model a prepared query. 
 
void prepare(const te::da::Query &query, const std::vector< te::dt::Property * > ¶mTypes)
It prepares the query that may be used for commands that are used mutiple times (select, insert, update and delete). 
 
te::da::DataSet * query(te::common::TraverseType travType=te::common::FORWARDONLY, te::common::AccessPolicy rwRole=te::common::RAccess)
 
AccessPolicy
Supported data access policies (can be used as bitfield). 
 
TraverseType
A dataset can be traversed in two ways: 
 
PreparedQuery()
Constructor. 
 
An abstract class for raster data strucutures. 
 
std::string getName() const 
It returns the prepared query name. 
 
A base class for values that can be retrieved from the data access module. 
 
void bind(int i, char value)
Binds the i-th parameter of the query to a value. 
 
A DataSourceTransactor can be viewed as a connection to the data source for reading/writing things in...
 
A class that implements a prepared query for the TerraLib SQLite Data Access Driver. 
 
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards. 
 
DataSourceTransactor * m_t
 
A dataset is the unit of information manipulated by the data access module of TerraLib. 
 
~PreparedQuery()
Virtual destructor. 
 
void bindNumeric(int i, const std::string &value)
Binds the i-th parameter of the query to a value. 
 
struct sqlite3_stmt sqlite3_stmt
 
te::da::DataSourceTransactor * getTransactor() const 
It returns a pointer to the underlying data source transactor. 
 
A Query is independent from the data source language/dialect. 
 
A class for representing binary data.