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 TypeMethodDescriptionvoidfree()getArray()getArray(long index, int count) intgetResultSet(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:
getBaseTypeNamein interfaceArray- Throws:
SQLException
-
getBaseType
- Specified by:
getBaseTypein interfaceArray- Throws:
SQLException
-
getArray
- Specified by:
getArrayin interfaceArray- Throws:
SQLException
-
getArray
- Specified by:
getArrayin interfaceArray- Throws:
SQLException
-
getArray
- Specified by:
getArrayin interfaceArray- Throws:
SQLException
-
getArray
- Specified by:
getArrayin interfaceArray- Throws:
SQLException
-
getResultSet
- Specified by:
getResultSetin interfaceArray- Throws:
SQLException
-
getResultSet
- Specified by:
getResultSetin interfaceArray- Throws:
SQLException
-
getResultSet
- Specified by:
getResultSetin interfaceArray- Throws:
SQLException
-
getResultSet
- Specified by:
getResultSetin interfaceArray- Throws:
SQLException
-
free
- Specified by:
freein interfaceArray- Throws:
SQLException
-