7 #include "postgresql/soci-postgresql.h"
9 #include "luiza/DataSourceProcessor.h"
156 void printEndMessage()
const ;
bool _permanentCollection
Flag for collections, which should not be deleted after loop is finished.
Definition: SociSelect.h:143
int _sqlRow
Row counter.
Definition: SociSelect.h:183
Processor for reading tables from SQL database with SOCI library.
Definition: SociSelect.h:75
bool _useIndex
Flag for using indexes in query.
Definition: SociSelect.h:177
std::string _indexColumn
Name of the index table column containing select parameter.
Definition: SociSelect.h:133
namespace for data storing and exchange formats
Definition: GloriaAstrometry.h:15
std::string _indexCollection
Name of the table collection containing index table.
Definition: SociSelect.h:130
soci::statement * _sociStatement
SOCI query statement pointer.
Definition: SociSelect.h:171
int _nTables
Table counter.
Definition: SociSelect.h:150
int _indexRow
Index counter.
Definition: SociSelect.h:180
int _rowsPerLoop
Number of tables to be read per processing loop (0 for all)
Definition: SociSelect.h:126
Class for storing all data processed in Luiza.
Definition: GloriaDataContainer.h:82
std::string _connection
Connection parameters merged to single string.
Definition: SociSelect.h:117
Base class for processors accessing input data.
Definition: DataSourceProcessor.h:19
std::vector< std::string > _sqlNames
Names of SQL output columns.
Definition: SociSelect.h:165
soci::session * _sociSession
SOCI session pointer.
Definition: SociSelect.h:168
Class for reading and processing fits tables in Luiza.
Definition: GloriaFitsTable.h:109
std::vector< std::string > _selectString
Select statement to be executed as SQL query.
Definition: SociSelect.h:120
GloriaFitsTable * _outputTemplate
Table template created from SQL output.
Definition: SociSelect.h:159
Namespace for Luiza framework.
Definition: CCCollection.h:6
std::string _tableCollectionName
Name of the table collection to which SQL tables should be stored.
Definition: SociSelect.h:140
std::vector< soci::data_type > _sqlTypes
Data types of SQL output columns.
Definition: SociSelect.h:162
int _indexesPerLoop
Number of indexes to be used per processing loop (0 for all)
Definition: SociSelect.h:136
int _nSQL
SQL query counter.
Definition: SociSelect.h:153
std::vector< std::string > _connectString
Connection parameters, as required for SOCI session opening.
Definition: SociSelect.h:114
soci::row * _sociRow
SOCI query output row.
Definition: SociSelect.h:174
int _nLoops
Loop counter.
Definition: SociSelect.h:147
std::string _select
Select statement merged to single string.
Definition: SociSelect.h:123