| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
boolean |
equals(Object obj) |
void |
free() |
Object |
getArray() |
Object |
getArray(long index,
int count) |
Object |
getArray(long index,
int count,
Map map) |
Object |
getArray(Map map) |
int |
getBaseType() |
String |
getBaseTypeName() |
ResultSet |
getResultSet() |
ResultSet |
getResultSet(long index,
int count) |
ResultSet |
getResultSet(long index,
int count,
Map map) |
ResultSet |
getResultSet(Map map) |
int |
hashCode() |
void |
setBaseType(int baseType)
Sets the base type.
|
void |
setBaseTypeName(String sqlTypeName)
Sets the base type name.
|
String |
toString() |
boolean |
wasFreeCalled()
Returns if
free() has been called. |
public MockArray(Object array)
public void setBaseType(int baseType)
baseType - the base typepublic void setBaseTypeName(String sqlTypeName)
sqlTypeName - the base type namepublic int getBaseType()
throws SQLException
getBaseType in interface ArraySQLExceptionpublic String getBaseTypeName() throws SQLException
getBaseTypeName in interface ArraySQLExceptionpublic Object getArray() throws SQLException
getArray in interface ArraySQLExceptionpublic Object getArray(Map map) throws SQLException
getArray in interface ArraySQLExceptionpublic Object getArray(long index, int count) throws SQLException
getArray in interface ArraySQLExceptionpublic Object getArray(long index, int count, Map map) throws SQLException
getArray in interface ArraySQLExceptionpublic ResultSet getResultSet() throws SQLException
getResultSet in interface ArraySQLExceptionpublic ResultSet getResultSet(long index, int count) throws SQLException
getResultSet in interface ArraySQLExceptionpublic ResultSet getResultSet(long index, int count, Map map) throws SQLException
getResultSet in interface ArraySQLExceptionpublic ResultSet getResultSet(Map map) throws SQLException
getResultSet in interface ArraySQLExceptionpublic void free()
throws SQLException
free in interface ArraySQLExceptionpublic boolean wasFreeCalled()
free() has been called.true if free() has been called,
false otherwiseCopyright © 2003-2014. All Rights Reserved.