Class JDBCArrayImpl
java.lang.Object
com.apple.foundationdb.relational.jdbc.JDBCArrayImpl
- All Implemented Interfaces:
Array
A simplistic implementation of a
Array
that wraps around a
Array
.
TODO: We can't use the other implementation of array in RelationalArrayFacade
as it makes several assumptions
that would be incompatible with the need to transfer an array across the wire (e.g. the type of element is missing,
RelationalArray.getArray()
returns a type other than a Java array).-
Constructor Summary
ConstructorsConstructorDescriptionJDBCArrayImpl
(com.apple.foundationdb.relational.jdbc.grpc.v1.column.Array underlying) -
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)
-
Constructor Details
-
JDBCArrayImpl
public JDBCArrayImpl(@Nonnull com.apple.foundationdb.relational.jdbc.grpc.v1.column.Array underlying)
-
-
Method Details
-
getBaseTypeName
- Specified by:
getBaseTypeName
in interfaceArray
- Throws:
SQLException
-
getBaseType
- Specified by:
getBaseType
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
-
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
- Specified by:
free
in interfaceArray
- Throws:
SQLException
-