public class ArrayFactoryImpl extends Object implements ArrayImpl.Factory
ArrayImpl.Factory
.Constructor and Description |
---|
ArrayFactoryImpl(TimeZone timeZone) |
Modifier and Type | Method and Description |
---|---|
ResultSet |
create(ColumnMetaData.AvaticaType elementType,
Iterable<Object> elements)
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. |
public ArrayFactoryImpl(TimeZone timeZone)
public ResultSet create(ColumnMetaData.AvaticaType elementType, Iterable<Object> elements) throws SQLException
ArrayImpl.Factory
ResultSet
from the given list of values per Array.getResultSet()
.create
in interface ArrayImpl.Factory
elementType
- The type of the elementselements
- The elementsSQLException
- on errorpublic Array createArray(ColumnMetaData.AvaticaType elementType, Iterable<Object> elements)
ArrayImpl.Factory
Array
from the given list of values, converting any primitive values
into the corresponding objects.createArray
in interface ArrayImpl.Factory
elementType
- The type of the elementselements
- The elementsCopyright © 2012-2024 Apache Software Foundation. All Rights Reserved.