Package io.deephaven.jdbc
Class DeephavenArray
java.lang.Object
io.deephaven.jdbc.DeephavenArray
- All Implemented Interfaces:
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 TypeMethodDescriptionvoid
free()
getArray()
getArray
(long index, int count) int
getResultSet
(long index, int count) getResultSet
(long index, int count, Map<String, Class<?>> map) getResultSet
(Map<String, Class<?>> map) toString()
-
Method Details
-
getBaseTypeName
- Specified by:
getBaseTypeName
in interfaceArray
-
getBaseType
public int getBaseType()- Specified by:
getBaseType
in interfaceArray
-
getArray
-
getArray
- Specified by:
getArray
in interfaceArray
- Throws:
SQLException
-
getArray
- Specified by:
getArray
in interfaceArray
- Throws:
SQLException
-
getArray
-
getResultSet
- Specified by:
getResultSet
in interfaceArray
- Throws:
SQLException
-
getResultSet
- Specified by:
getResultSet
in interfaceArray
- Throws:
SQLException
-
getResultSet
- Specified by:
getResultSet
in interfaceArray
- Throws:
SQLException
-
getResultSet
- Specified by:
getResultSet
in interfaceArray
- Throws:
SQLException
-
free
public void free() -
toString
-