public class ArrowFlightJdbcArray extends Object implements Array
Array
using an underlying FieldVector
.Constructor and Description |
---|
ArrowFlightJdbcArray(FieldVector dataVector,
long startOffset,
long valuesCount)
Instantiate an
Array backed up by given FieldVector , limited by a start offset and values count. |
Modifier and Type | Method and Description |
---|---|
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() |
public ArrowFlightJdbcArray(FieldVector dataVector, long startOffset, long valuesCount)
Array
backed up by given FieldVector
, limited by a start offset and values count.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.public String getBaseTypeName()
getBaseTypeName
in interface Array
public int getBaseType()
getBaseType
in interface Array
public Object getArray() throws SQLException
getArray
in interface Array
SQLException
public Object getArray(Map<String,Class<?>> map) 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<String,Class<?>> map) throws SQLException
getArray
in interface Array
SQLException
public ResultSet getResultSet() throws SQLException
getResultSet
in interface Array
SQLException
public ResultSet getResultSet(Map<String,Class<?>> map) 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<String,Class<?>> map) throws SQLException
getResultSet
in interface Array
SQLException
Copyright © 2024 The Apache Software Foundation. All rights reserved.