| Qore DataProvider Module Reference 1.2.1

DefaultBulkInserter.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 DefaultBulkInserter : public AbstractDataProviderBulkOperation {
34
35 public:
37 constructor(AbstractDataProvider provider) ;
38
39
41 queueData(hash<auto> record);
42
43
45 queueData(list<hash<auto>> records);
46
47
49
52 flush();
53
54
56
59 discard();
60
61 };
62 };
DataProvider::AbstractDataProviderBulkOperation
Abstract bulk data operation class.
Definition: AbstractDataProviderBulkOperation.qc.dox.h:33
DataProvider::DefaultBulkInserter::queueData
queueData(hash< auto > record)
Queues data in the buffer.
DataProvider::AbstractDataProvider
The AbstractDataProvider class.
Definition: AbstractDataProvider.qc.dox.h:194
DataProvider::DefaultBulkInserter::constructor
constructor(AbstractDataProvider provider)
Creates the object.
DataProvider::AbstractDataProviderBulkOperation::provider
AbstractDataProvider provider
The data provider.
Definition: AbstractDataProviderBulkOperation.qc.dox.h:38
list
list< auto > list(...)
DataProvider::DefaultBulkInserter::discard
discard()
Discards any buffered data.
DataProvider
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:27
DataProvider::DefaultBulkInserter
Default builk inserter class.
Definition: DefaultBulkInserter.qc.dox.h:33
DataProvider::DefaultBulkInserter::flush
flush()
Flushes any remaining data to the data provider.