public class MockArray<T> extends Object implements Array
Array.MockConnection| Constructor and Description |
|---|
MockArray(SQLDialect dialect,
T[] array,
Class<? extends T[]> type) |
| Modifier and Type | Method and Description |
|---|---|
void |
free() |
T[] |
getArray() |
T[] |
getArray(long index,
int count) |
T[] |
getArray(long index,
int count,
Map<String,Class<?>> map) |
T[] |
getArray(Map<String,Class<?>> map) |
int |
getBaseType() |
String |
getBaseTypeName() |
ResultSet |
getResultSet() |
ResultSet |
getResultSet(long index,
int count) |
ResultSet |
getResultSet(long index,
int count,
Map<String,Class<?>> map) |
ResultSet |
getResultSet(Map<String,Class<?>> map) |
public MockArray(SQLDialect dialect, T[] array, Class<? extends T[]> type)
public String getBaseTypeName()
getBaseTypeName in interface Arraypublic int getBaseType()
getBaseType in interface Arraypublic T[] getArray(long index, int count) throws SQLException
getArray in interface ArraySQLExceptionpublic T[] getArray(long index, int count, Map<String,Class<?>> map) throws SQLException
getArray in interface ArraySQLExceptionpublic ResultSet getResultSet()
getResultSet in interface Arraypublic ResultSet getResultSet(Map<String,Class<?>> map)
getResultSet in interface Arraypublic ResultSet getResultSet(long index, int count) throws SQLException
getResultSet in interface ArraySQLExceptionpublic ResultSet getResultSet(long index, int count, Map<String,Class<?>> map) throws SQLException
getResultSet in interface ArraySQLExceptionCopyright © 2017. All Rights Reserved.