The Insert object can add the return of a select object.  
 More...
#include <Insert.h>
The Insert object can add the return of a select object. 
- See also
 - Select, Field, Fields, DataSet, DataSetName 
 
Definition at line 50 of file Insert.h.
 
◆ ReturnType
◆ VisitorType
◆ Insert() [1/5]
Constructor. 
- Parameters
 - 
  
    | d | The name of the dataset to insert data.  | 
    | f | Vector with the fields to set data by select.  | 
    | s | The real SubSelect to be associated to this object. | 
  
   
- Note
 - The Insert will take the ownership of the Select. 
 
 
 
◆ Insert() [2/5]
Constructor. 
- Parameters
 - 
  
    | d | The name of the dataset to insert data.  | 
    | f | Vector with the fields to set data by select.  | 
    | s | The real SubSelect to be associated to this object.  | 
  
   
 
 
◆ Insert() [3/5]
Constructor. 
- Parameters
 - 
  
    | d | The name of the dataset to insert data.  | 
    | s | The real SubSelect to be associated to this object. | 
  
   
- Note
 - The Insert will take the ownership of the Select. 
 
 
 
◆ Insert() [4/5]
Constructor. 
- Parameters
 - 
  
    | d | The name of the dataset to insert data.  | 
    | s | The real SubSelect to be associated to this object.  | 
  
   
 
 
◆ Insert() [5/5]
      
        
          | te::da::Insert::Insert  | 
          ( | 
          const Insert &  | 
          rhs | ) | 
           | 
        
      
 
 
◆ ~Insert()
      
        
          | te::da::Insert::~Insert  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ accept()
It call the visit method from the guest object. 
- Parameters
 - 
  
    | guest | The guest or visitor. | 
  
   
- Returns
 - Any valid value define by the template type R. 
 
 
 
◆ clone()
  
  
      
        
          | Query* te::da::Insert::clone  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
 
◆ getDataSetName()
◆ getFields()
      
        
          | Fields* te::da::Insert::getFields  | 
          ( | 
           | ) | 
           const | 
        
      
 
It returns the associated fields. 
- Returns
 - The associated fields. 
 
 
 
◆ getSelect()
      
        
          | Select* te::da::Insert::getSelect  | 
          ( | 
           | ) | 
           const | 
        
      
 
It returns the associated select. 
- Returns
 - The associated select. 
 
 
 
◆ operator=()
◆ setDataSetName()
It sets the DataSetName associated to this object. 
- Parameters
 - 
  
    | d | The Table to be associated to the Insert object. | 
  
   
- Note
 - The Insert will take the ownership of the FromItem. 
 
 
 
◆ setFields()
      
        
          | void te::da::Insert::setFields  | 
          ( | 
          Fields *  | 
          f | ) | 
           | 
        
      
 
It sets the Fields associated to this object. 
- Parameters
 - 
  
    | f | Fields to be associated to the Insert object. | 
  
   
- Note
 - The Insert will take the ownership of the Fields. 
 
 
 
◆ setSelect()
      
        
          | void te::da::Insert::setSelect  | 
          ( | 
          Select *  | 
          s | ) | 
           | 
        
      
 
It sets the select associated to this object. 
- Parameters
 - 
  
  
 
- Note
 - The Insert will take the ownership of the Select. 
 
 
 
◆ m_dsName
◆ m_fields
  
  
      
        
          | std::unique_ptr<Fields> te::da::Insert::m_fields | 
         
       
   | 
  
private   | 
  
 
The associated Fields. 
Definition at line 157 of file Insert.h.
 
 
◆ m_select
  
  
      
        
          | std::unique_ptr<Select> te::da::Insert::m_select | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/src/terralib/dataaccess/query/Insert.h