A class that model a prepared query. More...
#include <PreparedQuery.h>
  
Public Member Functions | |
| virtual void | bind (int i, bool value)=0 | 
| Binds the i-th parameter of the query to a value.   | |
| virtual void | bind (int i, boost::int16_t value)=0 | 
| Binds the i-th parameter of the query to a value.   | |
| virtual void | bind (int i, boost::int32_t value)=0 | 
| Binds the i-th parameter of the query to a value.   | |
| virtual void | bind (int i, boost::int64_t value)=0 | 
| Binds the i-th parameter of the query to a value.   | |
| virtual void | bind (int i, char value)=0 | 
| Binds the i-th parameter of the query to a value.   | |
| virtual void | bind (int i, const DataSet &value)=0 | 
| Binds the i-th parameter of the query to a value.   | |
| virtual void | bind (int i, const std::string &value)=0 | 
| Binds the i-th parameter of the query to a value.   | |
| virtual void | bind (int i, const te::dt::AbstractData &ad) | 
| Binds the i-th parameter of the query to a value.   | |
| virtual void | bind (int i, const te::dt::ByteArray &value)=0 | 
| Binds the i-th parameter of the query to a value.   | |
| virtual void | bind (int i, const te::dt::DateTime &value)=0 | 
| Binds the i-th parameter of the query to a value.   | |
| virtual void | bind (int i, const te::gm::Geometry &value)=0 | 
| Binds the i-th parameter of the query to a value.   | |
| virtual void | bind (int i, const te::rst::Raster &value)=0 | 
| Binds the i-th parameter of the query to a value.   | |
| virtual void | bind (int i, double value)=0 | 
| Binds the i-th parameter of the query to a value.   | |
| virtual void | bind (int i, float value)=0 | 
| Binds the i-th parameter of the query to a value.   | |
| virtual void | bind (int i, unsigned char value)=0 | 
| Binds the i-th parameter of the query to a value.   | |
| virtual void | bindNumeric (int i, const std::string &value)=0 | 
| Binds the i-th parameter of the query to a value.   | |
| virtual void | execute ()=0 | 
| virtual std::string | getName () const =0 | 
| It returns the prepared query name.   | |
| virtual DataSourceTransactor * | getTransactor () const =0 | 
| It returns a pointer to the underlying data source transactor.   | |
| virtual void | prepare (const Query &query, const std::vector< te::dt::Property * > ¶mTypes)=0 | 
| It prepares the query that may be used for commands that are used mutiple times (select, insert, update and delete).   | |
| virtual void | prepare (const std::string &query, const std::vector< te::dt::Property * > ¶mTypes)=0 | 
| It prepares the query using native dialect.   | |
| PreparedQuery () | |
| Constructor.   | |
| virtual DataSet * | query (te::common::TraverseType travType=te::common::FORWARDONLY, te::common::AccessPolicy rwRole=te::common::RAccess)=0 | 
| virtual | ~PreparedQuery () | 
| Virtual destructor.   | |
A class that model a prepared query.
Definition at line 69 of file PreparedQuery.h.
      
  | 
  inline | 
Constructor.
Definition at line 74 of file PreparedQuery.h.
      
  | 
  inlinevirtual | 
Virtual destructor.
Reimplemented in te::pgis::PreparedQuery.
Definition at line 77 of file PreparedQuery.h.
      
  | 
  pure virtual | 
Binds the i-th parameter of the query to a value.
| i | The parameter index. | 
| value | The parameter value. | 
Implemented in te::pgis::PreparedQuery.
      
  | 
  pure virtual | 
Binds the i-th parameter of the query to a value.
| i | The parameter index. | 
| value | The parameter value. | 
Implemented in te::pgis::PreparedQuery.
      
  | 
  pure virtual | 
Binds the i-th parameter of the query to a value.
| i | The parameter index. | 
| value | The parameter value. | 
Implemented in te::pgis::PreparedQuery.
      
  | 
  pure virtual | 
Binds the i-th parameter of the query to a value.
| i | The parameter index. | 
| value | The parameter value. | 
Implemented in te::pgis::PreparedQuery.
      
  | 
  pure virtual | 
Binds the i-th parameter of the query to a value.
| i | The parameter index. | 
| value | The parameter value. | 
Implemented in te::pgis::PreparedQuery.
      
  | 
  pure virtual | 
Binds the i-th parameter of the query to a value.
| i | The parameter index. | 
| value | The parameter value. | 
Implemented in te::pgis::PreparedQuery.
      
  | 
  pure virtual | 
Binds the i-th parameter of the query to a value.
| i | The parameter index. | 
| value | The parameter value. | 
Implemented in te::pgis::PreparedQuery.
      
  | 
  virtual | 
Binds the i-th parameter of the query to a value.
| i | The parameter index. | 
| value | The parameter value. | 
Reimplemented in te::pgis::PreparedQuery.
      
  | 
  pure virtual | 
Binds the i-th parameter of the query to a value.
| i | The parameter index. | 
| value | The parameter value. | 
Implemented in te::pgis::PreparedQuery.
      
  | 
  pure virtual | 
Binds the i-th parameter of the query to a value.
| i | The parameter index. | 
| value | The parameter value. | 
Implemented in te::pgis::PreparedQuery.
      
  | 
  pure virtual | 
Binds the i-th parameter of the query to a value.
| i | The parameter index. | 
| value | The parameter value. | 
Implemented in te::pgis::PreparedQuery.
      
  | 
  pure virtual | 
Binds the i-th parameter of the query to a value.
| i | The parameter index. | 
| value | The parameter value. | 
Implemented in te::pgis::PreparedQuery.
      
  | 
  pure virtual | 
Binds the i-th parameter of the query to a value.
| i | The parameter index. | 
| value | The parameter value. | 
Implemented in te::pgis::PreparedQuery.
      
  | 
  pure virtual | 
Binds the i-th parameter of the query to a value.
| i | The parameter index. | 
| value | The parameter value. | 
Implemented in te::pgis::PreparedQuery.
      
  | 
  pure virtual | 
Binds the i-th parameter of the query to a value.
| i | The parameter index. | 
| value | The parameter value. | 
Implemented in te::pgis::PreparedQuery.
      
  | 
  pure virtual | 
Binds the i-th parameter of the query to a value.
| i | The parameter index. | 
| value | The parameter value. | 
Implemented in te::pgis::PreparedQuery.
      
  | 
  pure virtual | 
Implemented in te::pgis::PreparedQuery.
      
  | 
  pure virtual | 
It returns the prepared query name.
| return | The prepared query name. | 
Implemented in te::pgis::PreparedQuery.
      
  | 
  pure virtual | 
It returns a pointer to the underlying data source transactor.
Implemented in te::pgis::PreparedQuery.
      
  | 
  pure virtual | 
It prepares the query that may be used for commands that are used mutiple times (select, insert, update and delete).
This command will submit a request to create a prepared query with the given parameters.
| query | The query to be prepared. | 
| paramTypes | The list of parameters data type. | 
| Exception | It throws an exception if the prepared query can not be created. For example if another prepared query with the same name already exists, this may throws an exception. | 
Implemented in te::pgis::PreparedQuery.
      
  | 
  pure virtual | 
It prepares the query using native dialect.
This command may be used for commands that are used mutiple times (select, insert, update and delete).
This command will submit a request to create a prepared query with the given parameters.
| query | The query to be prepared. | 
| paramTypes | The list of parameters data type. | 
| Exception | It throws an exception if the prepared query can not be created. For example if another prepared query with the same name already exists, this may throws an exception. | 
Implemented in te::pgis::PreparedQuery.
      
  | 
  pure virtual | 
Implemented in te::pgis::PreparedQuery.