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
ConstructorsConstructorDescriptionArrayWrapperImpl(ConnectionWrapperImpl connectionWrapper, StatementWrapperImpl stmtWrapper, Array wrapped) Wraps anArray. -
Method Summary
Modifier and TypeMethodDescriptionprotected ConnectionWrapperImplGets 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 ResultSetWrapperImplwrapResultSet(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, waitMethods inherited from interface com.aoapps.sql.wrapper.ArrayWrapper
close, free, getArray, getArray, getArray, getArray, getBaseType, getBaseTypeNameMethods 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:ArrayWrapperGets the array that is wrapped.- Specified by:
getWrappedin interfaceArrayWrapper- Specified by:
getWrappedin interfaceWrapper
-
toString
-
wrapResultSet
Wraps aResultSet, if not already wrapped by this wrapper.- Throws:
SQLException- See Also:
-
getResultSet
- Specified by:
getResultSetin interfaceArray- Specified by:
getResultSetin interfaceArrayWrapper- Throws:
SQLException- See Also:
-
getResultSet
- Specified by:
getResultSetin interfaceArray- Specified by:
getResultSetin interfaceArrayWrapper- Throws:
SQLException- See Also:
-
getResultSet
- Specified by:
getResultSetin interfaceArray- Specified by:
getResultSetin interfaceArrayWrapper- Throws:
SQLException- See Also:
-
getResultSet
public ResultSetWrapperImpl getResultSet(long index, int count, Map<String, Class<?>> map) throws SQLException- Specified by:
getResultSetin interfaceArray- Specified by:
getResultSetin interfaceArrayWrapper- Throws:
SQLException- See Also:
-
