Qore DataProvider Module Reference 2.7.5
Loading...
Searching...
No Matches
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
31namespace DataProvider {
34
35public:
36protected:
39
40public:
41
44
45
47
50
51
53
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};
Abstract bulk data operation class.
Definition: AbstractDataProviderBulkOperation.qc.dox.h:33
AbstractDataProvider provider
The data provider.
Definition: AbstractDataProviderBulkOperation.qc.dox.h:38
abstract discard()
Discards any buffered data.
commit()
Commits data written to the data provider.
constructor(AbstractDataProvider provider)
Creates the object.
abstract queueData(list< hash< auto > > records)
Queues data in the buffer.
abstract flush()
Flushes any remaining data to the data provider.
abstract queueData(hash< auto > record)
Queues data in the buffer.
rollback()
Rolls back data written to the data provider.
The AbstractDataProvider class.
Definition: AbstractDataProvider.qc.dox.h:742
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:27