Qore DataProvider Module Reference  1.0.2
DataProvider::DataProviderInfo hashdecl Reference

Data provider info. More...

Public Attributes

*list< stringchildren
 A list of child data providers in this data provider. More...
 
*hash< string, hash< DataProviderOptionInfo > > constructor_options
 Constructor options supported by the data provider for the constructor variant taking a hash. More...
 
*hash< string, hash< DataProviderOptionInfo > > create_options
 Create options supported by the data provider. More...
 
bool has_record = False
 Does the data provider provide a record? More...
 
hash< string, hash< MapperRuntimeKeyInfo > > mapper_keys = Mapper::MapperKeyInfo
 A hash of mapper key information. More...
 
string name
 Data provider name. More...
 
bool record_requires_search_options = False
 Do we require search options to retrieve the record type? More...
 
*hash< string, hash< DataProviderOptionInfo > > request_options
 Request options supported by the data provider. More...
 
*hash< string, hash< DataProviderOptionInfo > > search_options
 Search options supported by the data provider. More...
 
bool supports_bulk_create = False
 Does the data provider support native / optimized bulk creation? More...
 
bool supports_bulk_read = False
 Does the data provider support native / optimized bulk reads? More...
 
bool supports_bulk_upsert = False
 Does the data provider support native / optimized bulk upserts? More...
 
bool supports_children = False
 Does the data provider support children? More...
 
bool supports_create = False
 Does the data provider support record creation? More...
 
bool supports_delete = False
 Does the data provider support record deletion? More...
 
bool supports_native_search = False
 Does the data provider support native record searching? More...
 
bool supports_read = False
 Does the data provider support reading. More...
 
bool supports_request = False
 Does the data provider support the request API? More...
 
bool supports_update = False
 Does the data provider support record updates? More...
 
bool supports_upsert = False
 Does the data provider support record upserts (create or update)? More...
 
bool transaction_management = False
 Does the data provider require transaction management? More...
 
string type
 The name of the provider type. More...
 
*hash< string, hash< DataProviderOptionInfo > > upsert_options
 Upsert options supported by the data provider. More...
 

Detailed Description

Data provider info.

Member Data Documentation

◆ children

*list<string> DataProvider::DataProviderInfo::children

A list of child data providers in this data provider.

Note
this is a dynamic attribute; it differs for different data providers of the same type

◆ constructor_options

*hash<string, hash<DataProviderOptionInfo> > DataProvider::DataProviderInfo::constructor_options

Constructor options supported by the data provider for the constructor variant taking a hash.

Note
this is a static attribute; it is the same for all data providers of the same type

◆ create_options

*hash<string, hash<DataProviderOptionInfo> > DataProvider::DataProviderInfo::create_options

Create options supported by the data provider.

Note
this is a static attribute; it is the same for all data providers of the same type

◆ has_record

bool DataProvider::DataProviderInfo::has_record = False

Does the data provider provide a record?

Note
this is a static attribute; it is the same for all data providers of the same type

◆ mapper_keys

hash<string, hash<MapperRuntimeKeyInfo> > DataProvider::DataProviderInfo::mapper_keys = Mapper::MapperKeyInfo

A hash of mapper key information.

Note
  • this is a static attribute; it is the same for all data providers of the same type
  • the handler keys are not returned as they are only valid at runtime

◆ name

string DataProvider::DataProviderInfo::name

Data provider name.

Note
this is a dynamic attribute; it differs for different data providers of the same type

◆ record_requires_search_options

bool DataProvider::DataProviderInfo::record_requires_search_options = False

Do we require search options to retrieve the record type?

Note
this is a static attribute; it is the same for all data providers of the same type

◆ request_options

*hash<string, hash<DataProviderOptionInfo> > DataProvider::DataProviderInfo::request_options

Request options supported by the data provider.

Note
this is a static attribute; it is the same for all data providers of the same type

◆ search_options

*hash<string, hash<DataProviderOptionInfo> > DataProvider::DataProviderInfo::search_options

Search options supported by the data provider.

Note
this is a static attribute; it is the same for all data providers of the same type

◆ supports_bulk_create

bool DataProvider::DataProviderInfo::supports_bulk_create = False

Does the data provider support native / optimized bulk creation?

if this is False and supports_creation is True, the data provider will still support bulk write APIs but without any performance improvements for bulk data (simulated bulk creates)

Note
this is a static attribute; it is the same for all data providers of the same type

◆ supports_bulk_read

bool DataProvider::DataProviderInfo::supports_bulk_read = False

Does the data provider support native / optimized bulk reads?

if this is False and supports_read is True, the data provider will still support bulk read APIs but without any performance improvements for bulk data (simulated bulk reads)

Note
this is a static attribute; it is the same for all data providers of the same type

◆ supports_bulk_upsert

bool DataProvider::DataProviderInfo::supports_bulk_upsert = False

Does the data provider support native / optimized bulk upserts?

if this is False and supports_upsert is True, the data provider will still support bulk upsert APIs but without any performance improvements for bulk data (simulated bulk upserts)

Note
this is a static attribute; it is the same for all data providers of the same type

◆ supports_children

bool DataProvider::DataProviderInfo::supports_children = False

Does the data provider support children?

Note
this is a static attribute; it is the same for all data providers of the same type

◆ supports_create

bool DataProvider::DataProviderInfo::supports_create = False

Does the data provider support record creation?

Note
this is a static attribute; it is the same for all data providers of the same type

◆ supports_delete

bool DataProvider::DataProviderInfo::supports_delete = False

Does the data provider support record deletion?

Note
this is a static attribute; it is the same for all data providers of the same type

◆ supports_native_search

bool DataProvider::DataProviderInfo::supports_native_search = False

Does the data provider support native record searching?

Note
this is a static attribute; it is the same for all data providers of the same type

◆ supports_read

bool DataProvider::DataProviderInfo::supports_read = False

Does the data provider support reading.

Note
this is a static attribute; it is the same for all data providers of the same type

◆ supports_request

bool DataProvider::DataProviderInfo::supports_request = False

Does the data provider support the request API?

Note
this is a static attribute; it is the same for all data providers of the same type

◆ supports_update

bool DataProvider::DataProviderInfo::supports_update = False

Does the data provider support record updates?

Note
this is a static attribute; it is the same for all data providers of the same type

◆ supports_upsert

bool DataProvider::DataProviderInfo::supports_upsert = False

Does the data provider support record upserts (create or update)?

Note
this is a static attribute; it is the same for all data providers of the same type

◆ transaction_management

bool DataProvider::DataProviderInfo::transaction_management = False

Does the data provider require transaction management?

Note
this is a static attribute; it is the same for all data providers of the same type

◆ type

string DataProvider::DataProviderInfo::type

The name of the provider type.

Note
this is a static attribute; it is the same for all data providers of the same type

◆ upsert_options

*hash<string, hash<DataProviderOptionInfo> > DataProvider::DataProviderInfo::upsert_options

Upsert options supported by the data provider.

Note
this is a static attribute; it is the same for all data providers of the same type