Class abstractsql_data_provider¶
Defined in File AbstractSQLDataProvider.h
Inheritance Relationships¶
Base Type¶
public ral::io::data_provider
(Class data_provider)
Derived Types¶
public ral::io::mysql_data_provider
(Class mysql_data_provider)public ral::io::postgresql_data_provider
(Class postgresql_data_provider)public ral::io::sqlite_data_provider
(Class sqlite_data_provider)
Class Documentation¶
-
class
ral::io
::
abstractsql_data_provider
: public ral::io::data_provider¶ serves as base abstract class for all sql providers can generate a series of resultsets from databases that are provided when it goes out of scope it will close any resultset it opened this last point is debatable in terms of if this is the desired functionality
Subclassed by ral::io::mysql_data_provider, ral::io::postgresql_data_provider, ral::io::sqlite_data_provider
Public Functions
-
virtual
~abstractsql_data_provider
()¶
-
virtual std::vector<data_handle>
get_some
(std::size_t batch_count, bool = true) override¶ Get batch_count batches from the sql database using while has_next() and next()
-
virtual void
close_file_handles
() override¶ Closes currently open set of file handles maintained by the provider
-
inline void
set_column_indices
(std::vector<int> column_indices)¶ Set the column indices (aka projections) that will use to select the table
-
bool
set_predicate_pushdown
(const std::string &queryString)¶
-
virtual