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