|
jxDBCon 0.9z | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.sourceforge.jxdbcon.DefaultArray
DefaulttArray is a default implementation of Array.
TODO:
Field Summary | |
private ConversionContext |
ctx
|
private Object |
elements
|
private AbstractType |
elementType
|
Constructor Summary | |
DefaultArray(AbstractType elementType,
Object elements,
ConversionContext ctx)
|
Method Summary | |
Object |
getArray()
Retrieves the contents of the SQL ARRAY value designated by this Array object in the form of an array in the Java programming language. |
Object |
getArray(long index,
int count)
Retrieves a slice of the SQL ARRAY value designated by this Array object, beginning with the specified index and containing up to count successive elements of the SQL array. |
Object |
getArray(long index,
int count,
Map map)
Retrieves a slice of the SQL ARRAY value designated by this Array object, beginning with the specified index and containing up to count successive elements of the SQL array. |
Object |
getArray(Map map)
Retrieves the contents of the SQL ARRAY value designated by this Array object in the form of an array in the Java programming language. |
int |
getBaseType()
Retrieves the JDBC type of the elements in the array designated by this Array object. |
String |
getBaseTypeName()
Retrieves the SQL type name of the elements in the array designated by this Array object. |
ResultSet |
getResultSet()
Retrieves a result set that contains the elements of the SQL ARRAY value designated by this Array object. |
ResultSet |
getResultSet(long index,
int count)
Retrieves a result set holding the elements of the subarray that starts at index index and contains up to count successive elements. |
ResultSet |
getResultSet(long index,
int count,
Map map)
Retrieves a result set holding the elements of the subarray that starts at index index and contains up to count successive elements. |
ResultSet |
getResultSet(Map map)
Retrieves a result set that contains the elements of the SQL ARRAY value designated by this Array object. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private ConversionContext ctx
private Object elements
private AbstractType elementType
Constructor Detail |
public DefaultArray(AbstractType elementType, Object elements, ConversionContext ctx)
Method Detail |
public Object getArray() throws SQLException
getArray
in interface Array
SQLException
public Object getArray(long index, int count) throws SQLException
getArray
in interface Array
SQLException
public Object getArray(long index, int count, Map map) throws SQLException
getArray
in interface Array
SQLException
public Object getArray(Map map) throws SQLException
getArray
in interface Array
SQLException
public final int getBaseType()
getBaseType
in interface Array
public final String getBaseTypeName()
getBaseTypeName
in interface Array
public ResultSet getResultSet() throws SQLException
getResultSet
in interface Array
SQLException
public ResultSet getResultSet(long index, int count) throws SQLException
getResultSet
in interface Array
SQLException
public ResultSet getResultSet(long index, int count, Map map) throws SQLException
getResultSet
in interface Array
SQLException
public ResultSet getResultSet(Map map) throws SQLException
getResultSet
in interface Array
SQLException
public String toString()
toString
in class Object
|
jxDBCon 0.9z | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |