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 {
34 
35 public:
36 protected:
39 
40 public:
41 
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 };
abstract discard()
Discards any buffered data.
Abstract bulk data operation class.
Definition: AbstractDataProviderBulkOperation.qc.dox.h:33
rollback()
Rolls back data written to the data provider.
abstract queueData(hash< auto > record)
Queues data in the buffer.
The AbstractDataProvider class.
Definition: AbstractDataProvider.qc.dox.h:194
abstract flush()
Flushes any remaining data to the data provider.
AbstractDataProvider provider
The data provider.
Definition: AbstractDataProviderBulkOperation.qc.dox.h:38
list< auto > list(...)
commit()
Commits data written to the data provider.
constructor(AbstractDataProvider provider)
Creates the object.
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:27