26 #ifndef __TERRALIB_DATAACCESS_INTERNAL_PREPAREDQUERY_H
27 #define __TERRALIB_DATAACCESS_INTERNAL_PREPAREDQUERY_H
30 #include "../../common/Enums.h"
31 #include "../Config.h"
38 #include <boost/cstdint.hpp>
39 #include <boost/noncopyable.hpp>
52 namespace gm {
class Geometry; }
54 namespace rst {
class Raster; }
59 class DataSourceTransactor;
84 virtual std::string getName()
const = 0;
97 virtual void prepare(
const Query& query,
const std::vector<te::dt::Property*>& paramTypes) = 0;
112 virtual void prepare(
const std::string& query,
const std::vector<te::dt::Property*>& paramTypes) = 0;
119 virtual void execute() = 0;
140 virtual void bind(
int i,
char value) = 0;
148 virtual void bind(
int i,
unsigned char value) = 0;
156 virtual void bind(
int i, boost::int16_t value) = 0;
164 virtual void bind(
int i, boost::int32_t value) = 0;
172 virtual void bind(
int i, boost::int64_t value) = 0;
180 virtual void bind(
int i,
bool value) = 0;
188 virtual void bind(
int i,
float value) = 0;
196 virtual void bind(
int i,
double value) = 0;
206 virtual void bindNumeric(
int i,
const std::string& value) = 0;
214 virtual void bind(
int i,
const std::string& value) = 0;
254 virtual void bind(
int i,
const DataSet& value) = 0;
275 #endif // __TERRALIB_DATAACCESS_INTERNAL_PREPAREDQUERY_H
A class that model a prepared query.
virtual ~PreparedQuery()
Virtual destructor.
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.
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...
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
A dataset is the unit of information manipulated by the data access module of TerraLib.
#define TEDATAACCESSEXPORT
You can use this macro in order to export/import classes and functions from this module.
A Query is independent from the data source language/dialect.
A class for representing binary data.