Package org.apache.arrow.driver.jdbc
Class ArrowFlightJdbcArray
java.lang.Object
org.apache.arrow.driver.jdbc.ArrowFlightJdbcArray
- All Implemented Interfaces:
Array
Implementation of
Array
using an underlying FieldVector
.-
Constructor Summary
ConstructorDescriptionArrowFlightJdbcArray
(FieldVector dataVector, long startOffset, long valuesCount) Instantiate anArray
backed up by givenFieldVector
, limited by a start offset and values count. -
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()
-
Constructor Details
-
ArrowFlightJdbcArray
Instantiate anArray
backed up by givenFieldVector
, limited by a start offset and values count.- Parameters:
dataVector
- underlying FieldVector, containing the Array items.startOffset
- offset from FieldVector pointing to this Array's first value.valuesCount
- how many items this Array contains.
-
-
Method Details
-
getBaseTypeName
- Specified by:
getBaseTypeName
in interfaceArray
-
getBaseType
public int getBaseType()- Specified by:
getBaseType
in interfaceArray
-
getArray
- Specified by:
getArray
in interfaceArray
- Throws:
SQLException
-
getArray
- Specified by:
getArray
in interfaceArray
- Throws:
SQLException
-
getArray
- Specified by:
getArray
in interfaceArray
- Throws:
SQLException
-
getArray
- Specified by:
getArray
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
-
getResultSet
- Specified by:
getResultSet
in interfaceArray
- Throws:
SQLException
-
free
public void free() -
toString
-