26 #ifndef __TERRALIB_POSTGIS_INTERNAL_PREPAREDQUERY_H
27 #define __TERRALIB_POSTGIS_INTERNAL_PREPAREDQUERY_H
30 #include "../dataaccess/datasource/PreparedQuery.h"
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);
124 void prepare(
const std::string& query,
const std::vector<int>& paramTypes);
129 void bind(
const std::vector<std::size_t>& propertiesPos, std::size_t offset,
te::da::DataSet* d);
134 void bind(
const std::vector<std::size_t>& propertiesPos,
te::da::DataSet* d);
162 #endif // __TERRALIB_POSTGIS_INTERNAL_PREPAREDQUERY_H
Configuration flags for the PostGIS Driver Implementation of TerraLib.
AccessPolicy
Supported data access policies (can be used as bitfield).
A class that implements a prepared query for PostgreSQL data access driver.
A Query is independent from the data source language/dialect.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
TraverseType
A dataset can be traversed in two ways:
struct pg_result PGresult
#define TEPGISEXPORT
You can use this macro in order to export/import classes and functions from this module.
A base class for values that can be retrieved from the data access module.
The transactor class for the PostGIS driver.
An abstract class for raster data strucutures.
A class that model a prepared query.
A class for representing binary data.
A dataset is the unit of information manipulated by the data access module of TerraLib.
A DataSourceTransactor can be viewed as a connection to the data source for reading/writing things in...