Package io.deephaven.jdbc
Class DeephavenArray
java.lang.Object
io.deephaven.jdbc.DeephavenArray
- All Implemented Interfaces:
Array
public class DeephavenArray extends Object implements Array
A simple wrapper for when returning Deephaven array values from a ResultSet.
The API comtemplates arrays that are might be pulled from the server in pieces but since we have any given column row value in memory already, there is no provision for this here.
We don't support the ResultSet based slicing of arrays which seems to be designed for querying matrix-like table data (which could be efficiently sliced along multiple dimensions).
-
Method Summary
Modifier and Type Method Description voidfree()ObjectgetArray()ObjectgetArray(long index, int count)ObjectgetArray(long index, int count, Map<String,Class<?>> map)ObjectgetArray(Map<String,Class<?>> map)intgetBaseType()StringgetBaseTypeName()ResultSetgetResultSet()ResultSetgetResultSet(long index, int count)ResultSetgetResultSet(long index, int count, Map<String,Class<?>> map)ResultSetgetResultSet(Map<String,Class<?>> map)StringtoString()
-
Method Details
-
getBaseTypeName
- Specified by:
getBaseTypeNamein interfaceArray
-
getBaseType
public int getBaseType()- Specified by:
getBaseTypein interfaceArray
-
getArray
-
getArray
- Specified by:
getArrayin interfaceArray- Throws:
SQLException
-
getArray
- Specified by:
getArrayin interfaceArray- Throws:
SQLException
-
getArray
-
getResultSet
- Specified by:
getResultSetin interfaceArray- Throws:
SQLException
-
getResultSet
- Specified by:
getResultSetin interfaceArray- Throws:
SQLException
-
getResultSet
- Specified by:
getResultSetin interfaceArray- Throws:
SQLException
-
getResultSet
public ResultSet getResultSet(long index, int count, Map<String,Class<?>> map) throws SQLException- Specified by:
getResultSetin interfaceArray- Throws:
SQLException
-
free
public void free() -
toString
-