public static interface ArrayImpl.Factory
Modifier and Type | Method and Description |
---|---|
ResultSet |
create(ColumnMetaData.AvaticaType elementType,
Iterable<Object> iterable)
Creates a
ResultSet from the given list of values per Array.getResultSet() . |
Array |
createArray(ColumnMetaData.AvaticaType elementType,
Iterable<Object> elements)
Creates an
Array from the given list of values, converting any primitive values
into the corresponding objects. |
ResultSet create(ColumnMetaData.AvaticaType elementType, Iterable<Object> iterable) throws SQLException
ResultSet
from the given list of values per Array.getResultSet()
.elementType
- The type of the elementsiterable
- The elementsSQLException
- on errorArray createArray(ColumnMetaData.AvaticaType elementType, Iterable<Object> elements)
Array
from the given list of values, converting any primitive values
into the corresponding objects.elementType
- The type of the elementselements
- The elementsCopyright © 2012-2024 Apache Software Foundation. All Rights Reserved.