Qore DataProvider Module Reference  2.1.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 {
34 
35 public:
36 protected:
39 
40 public:
41 
44 
45 
47 
49  commit();
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 queueData(list< hash< auto >> records)
Queues data in the buffer.
abstract discard()
Discards any buffered data.
commit()
Commits data written to the data provider.
constructor(AbstractDataProvider provider)
Creates the object.
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:260
list< auto > list(...)
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:27