| Qore DataProvider Module Reference 1.2.1

AbstractDataProviderBulkOperation.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3
25 // assume local scope for variables, do not use "$" signs
26 // require type definitions everywhere
28 // enable all warnings
29
31 namespace DataProvider {
33 class AbstractDataProviderBulkOperation {
34
35 public:
36 protected:
38 AbstractDataProvider provider;
39
40 public:
41
43 constructor(AbstractDataProvider provider);
44
45
47
49 commit();
50
51
53
55 rollback();
56
57
59 abstract queueData(hash<auto> record);
60
62 abstract queueData(list<hash<auto>> records);
63
65
68 abstract flush();
69
71
74 abstract discard();
75 };
76 };
DataProvider::AbstractDataProviderBulkOperation::discard
abstract discard()
Discards any buffered data.
DataProvider::AbstractDataProviderBulkOperation
Abstract bulk data operation class.
Definition: AbstractDataProviderBulkOperation.qc.dox.h:33
DataProvider::AbstractDataProviderBulkOperation::rollback
rollback()
Rolls back data written to the data provider.
DataProvider::AbstractDataProviderBulkOperation::queueData
abstract queueData(hash< auto > record)
Queues data in the buffer.
DataProvider::AbstractDataProvider
The AbstractDataProvider class.
Definition: AbstractDataProvider.qc.dox.h:194
DataProvider::AbstractDataProviderBulkOperation::flush
abstract flush()
Flushes any remaining data to the data provider.
DataProvider::AbstractDataProviderBulkOperation::provider
AbstractDataProvider provider
The data provider.
Definition: AbstractDataProviderBulkOperation.qc.dox.h:38
list
list< auto > list(...)
DataProvider::AbstractDataProviderBulkOperation::commit
commit()
Commits data written to the data provider.
DataProvider::AbstractDataProviderBulkOperation::constructor
constructor(AbstractDataProvider provider)
Creates the object.
DataProvider
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:27