java.lang.Object
com.aoapps.sql.wrapper.ArrayWrapperImpl
- All Implemented Interfaces:
ArrayWrapper
,Wrapper
,AutoCloseable
,Array
,Wrapper
Wraps an
Array
.- Author:
- AO Industries, Inc.
-
Constructor Summary
ConstructorDescriptionArrayWrapperImpl
(ConnectionWrapperImpl connectionWrapper, StatementWrapperImpl stmtWrapper, Array wrapped) Wraps anArray
. -
Method Summary
Modifier and TypeMethodDescriptionprotected ConnectionWrapperImpl
Gets the connection wrapper.getResultSet
(long index, int count) getResultSet
(long index, int count, Map<String, Class<?>> map) getResultSet
(Map<String, Class<?>> map) protected Optional
<? extends StatementWrapperImpl> Gets the statement wrapper.Gets the array that is wrapped.toString()
protected ResultSetWrapperImpl
wrapResultSet
(ResultSet results) Wraps aResultSet
, if not already wrapped by this wrapper.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.aoapps.sql.wrapper.ArrayWrapper
close, free, getArray, getArray, getArray, getArray, getBaseType, getBaseTypeName
Methods inherited from interface com.aoapps.sql.wrapper.Wrapper
isWrapperFor, unwrap
-
Constructor Details
-
ArrayWrapperImpl
public ArrayWrapperImpl(ConnectionWrapperImpl connectionWrapper, StatementWrapperImpl stmtWrapper, Array wrapped) Wraps anArray
.
-
-
Method Details
-
getConnectionWrapper
Gets the connection wrapper. -
getStatementWrapper
Gets the statement wrapper. -
getWrapped
Description copied from interface:ArrayWrapper
Gets the array that is wrapped.- Specified by:
getWrapped
in interfaceArrayWrapper
- Specified by:
getWrapped
in interfaceWrapper
-
toString
-
wrapResultSet
Wraps aResultSet
, if not already wrapped by this wrapper.- Throws:
SQLException
- See Also:
-
getResultSet
- Specified by:
getResultSet
in interfaceArray
- Specified by:
getResultSet
in interfaceArrayWrapper
- Throws:
SQLException
- See Also:
-
getResultSet
- Specified by:
getResultSet
in interfaceArray
- Specified by:
getResultSet
in interfaceArrayWrapper
- Throws:
SQLException
- See Also:
-
getResultSet
- Specified by:
getResultSet
in interfaceArray
- Specified by:
getResultSet
in interfaceArrayWrapper
- Throws:
SQLException
- See Also:
-
getResultSet
public ResultSetWrapperImpl getResultSet(long index, int count, Map<String, Class<?>> map) throws SQLException- Specified by:
getResultSet
in interfaceArray
- Specified by:
getResultSet
in interfaceArrayWrapper
- Throws:
SQLException
- See Also:
-