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