@@ -178,10 +178,18 @@ default Value getValue(String columnName) {
178
178
*/
179
179
boolean [] getBooleanArray (String columnName );
180
180
181
- /** Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.bool())}. */
181
+ /**
182
+ * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.bool())}. The
183
+ * list returned by this method is lazily constructed. Create a copy of it if you intend to access
184
+ * each element in the list multiple times.
185
+ */
182
186
List <Boolean > getBooleanList (int columnIndex );
183
187
184
- /** Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.bool())}. */
188
+ /**
189
+ * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.bool())}. The
190
+ * list returned by this method is lazily constructed. Create a copy of it if you intend to access
191
+ * each element in the list multiple times.
192
+ */
185
193
List <Boolean > getBooleanList (String columnName );
186
194
187
195
/**
@@ -200,10 +208,18 @@ default Value getValue(String columnName) {
200
208
*/
201
209
long [] getLongArray (String columnName );
202
210
203
- /** Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.int64())}. */
211
+ /**
212
+ * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.int64())}. The
213
+ * list returned by this method is lazily constructed. Create a copy of it if you intend to access
214
+ * each element in the list multiple times.
215
+ */
204
216
List <Long > getLongList (int columnIndex );
205
217
206
- /** Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.int64())}. */
218
+ /**
219
+ * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.int64())}. The
220
+ * list returned by this method is lazily constructed. Create a copy of it if you intend to access
221
+ * each element in the list multiple times.
222
+ */
207
223
List <Long > getLongList (String columnName );
208
224
209
225
/**
@@ -223,84 +239,136 @@ default Value getValue(String columnName) {
223
239
double [] getDoubleArray (String columnName );
224
240
225
241
/**
226
- * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.float64())}.
242
+ * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.float64())} The
243
+ * list returned by this method is lazily constructed. Create a copy of it if you intend to access
244
+ * each element in the list multiple times.
227
245
*/
228
246
List <Double > getDoubleList (int columnIndex );
229
247
230
248
/**
231
- * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.float64())}.
249
+ * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.float64())} The
250
+ * list returned by this method is lazily constructed. Create a copy of it if you intend to access
251
+ * each element in the list multiple times.
232
252
*/
233
253
List <Double > getDoubleList (String columnName );
234
254
235
255
/**
236
- * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.numeric())}.
256
+ * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.numeric())} The
257
+ * list returned by this method is lazily constructed. Create a copy of it if you intend to access
258
+ * each element in the list multiple times.
237
259
*/
238
260
List <BigDecimal > getBigDecimalList (int columnIndex );
239
261
240
262
/**
241
- * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.numeric())}.
263
+ * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.numeric())} The
264
+ * list returned by this method is lazily constructed. Create a copy of it if you intend to access
265
+ * each element in the list multiple times.
242
266
*/
243
267
List <BigDecimal > getBigDecimalList (String columnName );
244
268
245
- /** Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.string())}. */
269
+ /**
270
+ * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.string())}. The
271
+ * list returned by this method is lazily constructed. Create a copy of it if you intend to access
272
+ * each element in the list multiple times.
273
+ */
246
274
List <String > getStringList (int columnIndex );
247
275
248
- /** Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.string())}. */
276
+ /**
277
+ * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.string())}. The
278
+ * list returned by this method is lazily constructed. Create a copy of it if you intend to access
279
+ * each element in the list multiple times.
280
+ */
249
281
List <String > getStringList (String columnName );
250
282
251
- /** Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.json())}. */
283
+ /**
284
+ * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.json())}. The
285
+ * list returned by this method is lazily constructed. Create a copy of it if you intend to access
286
+ * each element in the list multiple times.
287
+ */
252
288
default List <String > getJsonList (int columnIndex ) {
253
289
throw new UnsupportedOperationException ("method should be overwritten" );
254
290
};
255
291
256
- /** Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.json())}. */
292
+ /**
293
+ * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.json())}. The
294
+ * list returned by this method is lazily constructed. Create a copy of it if you intend to access
295
+ * each element in the list multiple times.
296
+ */
257
297
default List <String > getJsonList (String columnName ) {
258
298
throw new UnsupportedOperationException ("method should be overwritten" );
259
299
};
260
300
261
301
/**
262
- * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.pgJsonb())}.
302
+ * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.pgJsonb())} The
303
+ * list returned by this method is lazily constructed. Create a copy of it if you intend to access
304
+ * each element in the list multiple times.
263
305
*/
264
306
default List <String > getPgJsonbList (int columnIndex ) {
265
307
throw new UnsupportedOperationException ("method should be overwritten" );
266
308
};
267
309
268
310
/**
269
- * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.pgJsonb())}.
311
+ * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.pgJsonb())} The
312
+ * list returned by this method is lazily constructed. Create a copy of it if you intend to access
313
+ * each element in the list multiple times.
270
314
*/
271
315
default List <String > getPgJsonbList (String columnName ) {
272
316
throw new UnsupportedOperationException ("method should be overwritten" );
273
317
};
274
318
275
- /** Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.bytes())}. */
319
+ /**
320
+ * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.bytes())}. The
321
+ * list returned by this method is lazily constructed. Create a copy of it if you intend to access
322
+ * each element in the list multiple times.
323
+ */
276
324
List <ByteArray > getBytesList (int columnIndex );
277
325
278
- /** Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.bytes())}. */
326
+ /**
327
+ * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.bytes())}. The
328
+ * list returned by this method is lazily constructed. Create a copy of it if you intend to access
329
+ * each element in the list multiple times.
330
+ */
279
331
List <ByteArray > getBytesList (String columnName );
280
332
281
333
/**
282
- * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.timestamp())}.
334
+ * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.timestamp())}
335
+ * The list returned by this method is lazily constructed. Create a copy of it if you intend to
336
+ * access each element in the list multiple times.
283
337
*/
284
338
List <Timestamp > getTimestampList (int columnIndex );
285
339
286
340
/**
287
- * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.timestamp())}.
341
+ * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.timestamp())}
342
+ * The list returned by this method is lazily constructed. Create a copy of it if you intend to
343
+ * access each element in the list multiple times.
288
344
*/
289
345
List <Timestamp > getTimestampList (String columnName );
290
346
291
- /** Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.date())}. */
347
+ /**
348
+ * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.date())}. The
349
+ * list returned by this method is lazily constructed. Create a copy of it if you intend to access
350
+ * each element in the list multiple times.
351
+ */
292
352
List <Date > getDateList (int columnIndex );
293
353
294
- /** Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.date())}. */
354
+ /**
355
+ * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.date())}. The
356
+ * list returned by this method is lazily constructed. Create a copy of it if you intend to access
357
+ * each element in the list multiple times.
358
+ */
295
359
List <Date > getDateList (String columnName );
296
360
297
361
/**
298
- * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.struct(...))}.
362
+ * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.struct(...))}
363
+ * The list returned by this method is lazily constructed. Create a copy of it if you intend to
364
+ * access each element in the list multiple times.
299
365
*/
300
366
List <Struct > getStructList (int columnIndex );
301
367
302
368
/**
303
- * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.struct(...))}.
369
+ * Returns the value of a non-{@code NULL} column with type {@code Type.array(Type.struct(...))}
370
+ * The list returned by this method is lazily constructed. Create a copy of it if you intend to
371
+ * access each element in the list multiple times.
304
372
*/
305
373
List <Struct > getStructList (String columnName );
306
374
}
0 commit comments