1//
2// AbstractPreparator.cpp
3//
4// Library: Data
5// Package: DataCore
6// Module: AbstractPreparator
7//
8// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
9// and Contributors.
10//
11// SPDX-License-Identifier: BSL-1.0
12//
13
14
15#include "Poco/Data/AbstractPreparator.h"
16
17
18namespace Poco {
19namespace Data {
20
21
22AbstractPreparator::AbstractPreparator(Poco::UInt32 length):
23 _length(length),
24 _bulk(false)
25{
26}
27
28
29AbstractPreparator::~AbstractPreparator()
30{
31}
32
33
34void AbstractPreparator::prepare(std::size_t pos, const std::vector<Poco::Int8>& val)
35{
36 throw NotImplementedException("std::vector preparator must be implemented.");
37}
38
39
40void AbstractPreparator::prepare(std::size_t pos, const std::deque<Poco::Int8>& val)
41{
42 throw NotImplementedException("std::deque preparator must be implemented.");
43}
44
45
46void AbstractPreparator::prepare(std::size_t pos, const std::list<Poco::Int8>& val)
47{
48 throw NotImplementedException("std::list preparator must be implemented.");
49}
50
51
52void AbstractPreparator::prepare(std::size_t pos, const std::vector<Poco::UInt8>& val)
53{
54 throw NotImplementedException("std::vector preparator must be implemented.");
55}
56
57
58void AbstractPreparator::prepare(std::size_t pos, const std::deque<Poco::UInt8>& val)
59{
60 throw NotImplementedException("std::deque preparator must be implemented.");
61}
62
63
64void AbstractPreparator::prepare(std::size_t pos, const std::list<Poco::UInt8>& val)
65{
66 throw NotImplementedException("std::list preparator must be implemented.");
67}
68
69
70void AbstractPreparator::prepare(std::size_t pos, const std::vector<Poco::Int16>& val)
71{
72 throw NotImplementedException("std::vector preparator must be implemented.");
73}
74
75
76void AbstractPreparator::prepare(std::size_t pos, const std::deque<Poco::Int16>& val)
77{
78 throw NotImplementedException("std::deque preparator must be implemented.");
79}
80
81
82void AbstractPreparator::prepare(std::size_t pos, const std::list<Poco::Int16>& val)
83{
84 throw NotImplementedException("std::list preparator must be implemented.");
85}
86
87
88void AbstractPreparator::prepare(std::size_t pos, const std::vector<Poco::UInt16>& val)
89{
90 throw NotImplementedException("std::vector preparator must be implemented.");
91}
92
93
94void AbstractPreparator::prepare(std::size_t pos, const std::deque<Poco::UInt16>& val)
95{
96 throw NotImplementedException("std::deque preparator must be implemented.");
97}
98
99
100void AbstractPreparator::prepare(std::size_t pos, const std::list<Poco::UInt16>& val)
101{
102 throw NotImplementedException("std::list preparator must be implemented.");
103}
104
105
106void AbstractPreparator::prepare(std::size_t pos, const std::vector<Poco::Int32>& val)
107{
108 throw NotImplementedException("std::vector preparator must be implemented.");
109}
110
111
112void AbstractPreparator::prepare(std::size_t pos, const std::deque<Poco::Int32>& val)
113{
114 throw NotImplementedException("std::deque preparator must be implemented.");
115}
116
117
118void AbstractPreparator::prepare(std::size_t pos, const std::list<Poco::Int32>& val)
119{
120 throw NotImplementedException("std::list preparator must be implemented.");
121}
122
123
124void AbstractPreparator::prepare(std::size_t pos, const std::vector<Poco::UInt32>& val)
125{
126 throw NotImplementedException("std::vector preparator must be implemented.");
127}
128
129
130void AbstractPreparator::prepare(std::size_t pos, const std::deque<Poco::UInt32>& val)
131{
132 throw NotImplementedException("std::deque preparator must be implemented.");
133}
134
135
136void AbstractPreparator::prepare(std::size_t pos, const std::list<Poco::UInt32>& val)
137{
138 throw NotImplementedException("std::list preparator must be implemented.");
139}
140
141
142void AbstractPreparator::prepare(std::size_t pos, const std::vector<Poco::Int64>& val)
143{
144 throw NotImplementedException("std::vector preparator must be implemented.");
145}
146
147
148void AbstractPreparator::prepare(std::size_t pos, const std::deque<Poco::Int64>& val)
149{
150 throw NotImplementedException("std::deque preparator must be implemented.");
151}
152
153
154void AbstractPreparator::prepare(std::size_t pos, const std::list<Poco::Int64>& val)
155{
156 throw NotImplementedException("std::list preparator must be implemented.");
157}
158
159
160void AbstractPreparator::prepare(std::size_t pos, const std::vector<Poco::UInt64>& val)
161{
162 throw NotImplementedException("std::vector preparator must be implemented.");
163}
164
165
166void AbstractPreparator::prepare(std::size_t pos, const std::deque<Poco::UInt64>& val)
167{
168 throw NotImplementedException("std::deque preparator must be implemented.");
169}
170
171
172void AbstractPreparator::prepare(std::size_t pos, const std::list<Poco::UInt64>& val)
173{
174 throw NotImplementedException("std::list preparator must be implemented.");
175}
176
177
178#ifndef POCO_LONG_IS_64_BIT
179void AbstractPreparator::prepare(std::size_t pos, const std::vector<long>& val)
180{
181 throw NotImplementedException("std::vector preparator must be implemented.");
182}
183
184
185void AbstractPreparator::prepare(std::size_t pos, const std::deque<long>& val)
186{
187 throw NotImplementedException("std::deque preparator must be implemented.");
188}
189
190
191void AbstractPreparator::prepare(std::size_t pos, const std::list<long>& val)
192{
193 throw NotImplementedException("std::list preparator must be implemented.");
194}
195#endif
196
197
198void AbstractPreparator::prepare(std::size_t pos, const std::vector<bool>& val)
199{
200 throw NotImplementedException("std::vector preparator must be implemented.");
201}
202
203
204void AbstractPreparator::prepare(std::size_t pos, const std::deque<bool>& val)
205{
206 throw NotImplementedException("std::deque preparator must be implemented.");
207}
208
209
210void AbstractPreparator::prepare(std::size_t pos, const std::list<bool>& val)
211{
212 throw NotImplementedException("std::list preparator must be implemented.");
213}
214
215
216void AbstractPreparator::prepare(std::size_t pos, const std::vector<float>& val)
217{
218 throw NotImplementedException("std::vector preparator must be implemented.");
219}
220
221
222void AbstractPreparator::prepare(std::size_t pos, const std::deque<float>& val)
223{
224 throw NotImplementedException("std::deque preparator must be implemented.");
225}
226
227
228void AbstractPreparator::prepare(std::size_t pos, const std::list<float>& val)
229{
230 throw NotImplementedException("std::list preparator must be implemented.");
231}
232
233
234void AbstractPreparator::prepare(std::size_t pos, const std::vector<double>& val)
235{
236 throw NotImplementedException("std::vector preparator must be implemented.");
237}
238
239
240void AbstractPreparator::prepare(std::size_t pos, const std::deque<double>& val)
241{
242 throw NotImplementedException("std::deque preparator must be implemented.");
243}
244
245
246void AbstractPreparator::prepare(std::size_t pos, const std::list<double>& val)
247{
248 throw NotImplementedException("std::list preparator must be implemented.");
249}
250
251
252void AbstractPreparator::prepare(std::size_t pos, const std::vector<char>& val)
253{
254 throw NotImplementedException("std::vector preparator must be implemented.");
255}
256
257
258void AbstractPreparator::prepare(std::size_t pos, const std::deque<char>& val)
259{
260 throw NotImplementedException("std::deque preparator must be implemented.");
261}
262
263
264void AbstractPreparator::prepare(std::size_t pos, const std::list<char>& val)
265{
266 throw NotImplementedException("std::list preparator must be implemented.");
267}
268
269
270void AbstractPreparator::prepare(std::size_t pos, const std::vector<std::string>& val)
271{
272 throw NotImplementedException("std::vector preparator must be implemented.");
273}
274
275
276void AbstractPreparator::prepare(std::size_t pos, const std::deque<std::string>& val)
277{
278 throw NotImplementedException("std::deque preparator must be implemented.");
279}
280
281
282void AbstractPreparator::prepare(std::size_t pos, const std::list<std::string>& val)
283{
284 throw NotImplementedException("std::list preparator must be implemented.");
285}
286
287
288void AbstractPreparator::prepare(std::size_t pos, const UTF16String& val)
289{
290 throw NotImplementedException("UTF16String preparator must be implemented.");
291}
292
293
294void AbstractPreparator::prepare(std::size_t pos, const std::vector<UTF16String>& val)
295{
296 throw NotImplementedException("std::vector<UTF16String> preparator must be implemented.");
297}
298
299
300void AbstractPreparator::prepare(std::size_t pos, const std::deque<UTF16String>& val)
301{
302 throw NotImplementedException("std::deque<UTF16String> preparator must be implemented.");
303}
304
305
306void AbstractPreparator::prepare(std::size_t pos, const std::list<UTF16String>& val)
307{
308 throw NotImplementedException("std::list<UTF16String> preparator must be implemented.");
309}
310
311
312void AbstractPreparator::prepare(std::size_t pos, const std::vector<BLOB>& val)
313{
314 throw NotImplementedException("std::vector preparator must be implemented.");
315}
316
317
318void AbstractPreparator::prepare(std::size_t pos, const std::deque<BLOB>& val)
319{
320 throw NotImplementedException("std::deque preparator must be implemented.");
321}
322
323
324void AbstractPreparator::prepare(std::size_t pos, const std::list<BLOB>& val)
325{
326 throw NotImplementedException("std::list preparator must be implemented.");
327}
328
329
330void AbstractPreparator::prepare(std::size_t pos, const std::vector<CLOB>& val)
331{
332 throw NotImplementedException("std::vector preparator must be implemented.");
333}
334
335
336void AbstractPreparator::prepare(std::size_t pos, const std::deque<CLOB>& val)
337{
338 throw NotImplementedException("std::deque preparator must be implemented.");
339}
340
341
342void AbstractPreparator::prepare(std::size_t pos, const std::list<CLOB>& val)
343{
344 throw NotImplementedException("std::list preparator must be implemented.");
345}
346
347
348void AbstractPreparator::prepare(std::size_t pos, const std::vector<DateTime>& val)
349{
350 throw NotImplementedException("std::vector preparator must be implemented.");
351}
352
353
354void AbstractPreparator::prepare(std::size_t pos, const std::deque<DateTime>& val)
355{
356 throw NotImplementedException("std::deque preparator must be implemented.");
357}
358
359
360void AbstractPreparator::prepare(std::size_t pos, const std::list<DateTime>& val)
361{
362 throw NotImplementedException("std::list preparator must be implemented.");
363}
364
365
366void AbstractPreparator::prepare(std::size_t pos, const std::vector<Date>& val)
367{
368 throw NotImplementedException("std::vector preparator must be implemented.");
369}
370
371
372void AbstractPreparator::prepare(std::size_t pos, const std::deque<Date>& val)
373{
374 throw NotImplementedException("std::deque preparator must be implemented.");
375}
376
377
378void AbstractPreparator::prepare(std::size_t pos, const std::list<Date>& val)
379{
380 throw NotImplementedException("std::list preparator must be implemented.");
381}
382
383
384void AbstractPreparator::prepare(std::size_t pos, const std::vector<Time>& val)
385{
386 throw NotImplementedException("std::vector preparator must be implemented.");
387}
388
389
390void AbstractPreparator::prepare(std::size_t pos, const std::deque<Time>& val)
391{
392 throw NotImplementedException("std::deque preparator must be implemented.");
393}
394
395
396void AbstractPreparator::prepare(std::size_t pos, const std::list<Time>& val)
397{
398 throw NotImplementedException("std::list preparator must be implemented.");
399}
400
401
402void AbstractPreparator::prepare(std::size_t pos, const std::vector<Any>& val)
403{
404 throw NotImplementedException("std::vector preparator must be implemented.");
405}
406
407
408void AbstractPreparator::prepare(std::size_t pos, const std::deque<Any>& val)
409{
410 throw NotImplementedException("std::deque preparator must be implemented.");
411}
412
413
414void AbstractPreparator::prepare(std::size_t pos, const std::list<Any>& val)
415{
416 throw NotImplementedException("std::list preparator must be implemented.");
417}
418
419
420void AbstractPreparator::prepare(std::size_t pos, const std::vector<Poco::Dynamic::Var>& val)
421{
422 throw NotImplementedException("std::vector preparator must be implemented.");
423}
424
425
426void AbstractPreparator::prepare(std::size_t pos, const std::deque<Poco::Dynamic::Var>& val)
427{
428 throw NotImplementedException("std::deque preparator must be implemented.");
429}
430
431
432void AbstractPreparator::prepare(std::size_t pos, const std::list<Poco::Dynamic::Var>& val)
433{
434 throw NotImplementedException("std::list preparator must be implemented.");
435}
436
437
438} } // namespace Poco::Data
439