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.FactoryResultSet from the given list of values per Array.getResultSet().create in interface ArrayImpl.FactoryelementType - The type of the elementselements - The elementsSQLException - on errorpublic Array createArray(ColumnMetaData.AvaticaType elementType, Iterable<Object> elements)
ArrayImpl.FactoryArray from the given list of values, converting any primitive values
into the corresponding objects.createArray in interface ArrayImpl.FactoryelementType - The type of the elementselements - The elementsCopyright © 2012-2025 Apache Software Foundation. All Rights Reserved.