Package org.relique.jdbc.csv
Class SqlArray
- java.lang.Object
-
- org.relique.jdbc.csv.SqlArray
-
- All Implemented Interfaces:
Comparable<SqlArray>
,Array
public class SqlArray extends Object implements Array, Comparable<SqlArray>
-
-
Constructor Summary
Constructors Constructor Description SqlArray(List<Object> values, StringConverter converter, Connection connection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkFreed()
int
compareTo(SqlArray other)
void
free()
Object
getArray()
Object
getArray(long index, int count)
Object
getArray(long index, int count, Map<String,Class<?>> map)
Object
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)
String
toString()
-
-
-
Constructor Detail
-
SqlArray
public SqlArray(List<Object> values, StringConverter converter, Connection connection) throws SQLException
- Throws:
SQLException
-
-
Method Detail
-
checkFreed
protected void checkFreed() throws SQLException
- Throws:
SQLException
-
getBaseTypeName
public String getBaseTypeName() throws SQLException
- Specified by:
getBaseTypeName
in interfaceArray
- Throws:
SQLException
-
getBaseType
public int getBaseType() throws SQLException
- Specified by:
getBaseType
in interfaceArray
- Throws:
SQLException
-
getArray
public Object getArray() throws SQLException
- Specified by:
getArray
in interfaceArray
- Throws:
SQLException
-
getArray
public Object getArray(Map<String,Class<?>> map) throws SQLException
- Specified by:
getArray
in interfaceArray
- Throws:
SQLException
-
getArray
public Object getArray(long index, int count) throws SQLException
- Specified by:
getArray
in interfaceArray
- Throws:
SQLException
-
getArray
public Object getArray(long index, int count, Map<String,Class<?>> map) throws SQLException
- Specified by:
getArray
in interfaceArray
- Throws:
SQLException
-
getResultSet
public ResultSet getResultSet() throws SQLException
- Specified by:
getResultSet
in interfaceArray
- Throws:
SQLException
-
getResultSet
public ResultSet getResultSet(Map<String,Class<?>> map) throws SQLException
- Specified by:
getResultSet
in interfaceArray
- Throws:
SQLException
-
getResultSet
public ResultSet getResultSet(long index, int count) throws SQLException
- Specified by:
getResultSet
in interfaceArray
- Throws:
SQLException
-
getResultSet
public ResultSet getResultSet(long index, int count, Map<String,Class<?>> map) throws SQLException
- Specified by:
getResultSet
in interfaceArray
- Throws:
SQLException
-
free
public void free() throws SQLException
- Specified by:
free
in interfaceArray
- Throws:
SQLException
-
compareTo
public int compareTo(SqlArray other)
- Specified by:
compareTo
in interfaceComparable<SqlArray>
-
-