|
| | beginTransaction () |
| | Begins a transaction in the datasource.
|
| |
| | commit () |
| | Commits any transaction in progress in the datasource.
|
| |
|
| constructor (*hash< auto > options) |
| | Creates the object from constructor options.
|
| |
|
| constructor (AbstractDatabase db) |
| | creates the object
|
| |
|
| constructor (AbstractDatasource ds, *hash< auto > opts) |
| | creates the object
|
| |
|
int | doSequenceCurrvalKey (string sequence_name, hash< auto > ctx, *reference< bool > missing_input) |
| | Processes the sequence_currval runtime key in mappers as a mapper key handler.
|
| |
|
int | doSequenceKey (string sequence_name, hash< auto > ctx, *reference< bool > missing_input) |
| | Processes the sequence runtime key in mappers as a mapper key handler.
|
| |
|
*list< hash< DataProviderSummaryInfo > > | getChildProviderSummaryInfo () |
| | Return data provider summary info.
|
| |
|
*string | getDesc () |
| | Returns the data provider description.
|
| |
| *hash< string, hash< MapperRuntimeKeyInfo > > | getMapperRuntimeKeys () |
| | Returns custom data mapper runtime keys.
|
| |
|
string | getName () |
| | Returns the data provider name.
|
| |
| hash< auto > | makeTableDesc (string name, hash< string, AbstractDataField > fields, *hash< auto > opts) |
| | Returns a table description hash from a field description.
|
| |
| | rollback () |
| | Rolls back any transaction in progress in the datasource.
|
| |
|
|
static hash< GenericColumnInfo > | getColumnDesc (AbstractDatabase db, AbstractDataField field, *hash< auto > opts) |
| | Returns a column description hash for a field.
|
| |
|
static AbstractDatasource | getDatasource (AbstractDatasource ds) |
| | Returns the given AbstractDatasource object.
|
| |
|
static AbstractDatasource | getDatasource (string ds_string) |
| | Returns an AbstractDatasource object from the given string.
|
| |
| static *hash< string, AbstractDataField > | getRecordTypeFromDescribeHash (hash< auto > describe_hash) |
| | Returns the record type description from a describe hash.
|
| |
|
static AbstractTable | getTable (AbstractDatasource ds, string table_string) |
| | Returns an AbstractTable object from the given datasource and table arguments.
|
| |
|
static AbstractTable | getTable (string ds_string, string table_string) |
| | Returns an AbstractTable object from the given datasource and table strings.
|
| |
|
static | setDatasourceLookup (code datasource_lookup) |
| | Sets the datasource lookup.
|
| |
|
static | setTableLookup (code table_lookup) |
| | Sets the table lookup.
|
| |
|
| AbstractDataProvider | createChildProviderImpl (string name, hash< string, AbstractDataField > fields, *hash< auto > child_create_options) |
| | Creates a new child data provider and returns it after adding as a child.
|
| |
| | deleteChildProviderImpl (string name, *hash< auto > child_delete_options) |
| | Deletes a child data provider.
|
| |
| *AbstractDataProvider | getChildProviderImpl (string name) |
| | Returns the given child provider or nothing if the given child is unknown.
|
| |
| *list< string > | getChildProviderNamesImpl () |
| | Returns a list of child data provider names, if any.
|
| |
| *hash< string, AbstractDataField > | getRecordTypeImpl (*hash< auto > search_options) |
| | Returns the description of the record type, if any.
|
| |
|
hash< DataProviderInfo > | getStaticInfoImpl () |
| | Returns data provider static info.
|
| |
| AbstractDataProviderBulkRecordInterface | searchRecordsBulkImpl (int block_size=1000, *hash< auto > where_cond, *hash< auto > search_options) |
| | Returns an iterator for zero or more records matching the search options.
|
| |
| AbstractDataProviderRecordIterator | searchRecordsImpl (*hash< auto > where_cond, *hash< auto > search_options) |
| | Returns an iterator for zero or more records matching the search options.
|
| |
The database data provider class, provides tables as children.
Generic post-SQL search is provided just for completeness sake, but record filtering should be done in the sql search option and not in the generic post-SQL generic data provider search for performance reasons.