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;
76 std::string getName()
const;
78 void prepare(
const te::da::Query& query,
const std::vector<te::dt::Property*>& paramTypes);
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);
103 void bindNumeric(
int i,
const std::string& 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);
125 void bind(
const std::vector<std::size_t>& propertiesPos,
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.
AccessPolicy
Supported data access policies (can be used as bitfield).
TraverseType
A dataset can be traversed in two ways:
An abstract class for raster data strucutures.
A base class for values that can be retrieved from the data access module.
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.
struct sqlite3_stmt sqlite3_stmt
A Query is independent from the data source language/dialect.
A class for representing binary data.