50 |
* Returns the name of the SQL type of the elements in this |
* Returns the name of the SQL type of the elements in this |
51 |
* array. This name is database specific. |
* array. This name is database specific. |
52 |
* |
* |
53 |
* @param The name of the SQL type of the elements in this array. |
* @return The name of the SQL type of the elements in this array. |
54 |
* @exception SQLException If an error occurs. |
* @exception SQLException If an error occurs. |
55 |
*/ |
*/ |
56 |
String getBaseTypeName() throws SQLException; |
String getBaseTypeName() throws SQLException; |
84 |
* @return The contents of the array as an array of Java objects. |
* @return The contents of the array as an array of Java objects. |
85 |
* @exception SQLException If an error occurs. |
* @exception SQLException If an error occurs. |
86 |
*/ |
*/ |
87 |
Object getArray(Map map) throws SQLException; |
Object getArray(Map<String, Class<?>> map) throws SQLException; |
88 |
|
|
89 |
/** |
/** |
90 |
* Returns a portion of this array starting at <code>index</code> |
* Returns a portion of this array starting at <code>index</code> |
94 |
* The object returned will be an array of Java objects of |
* The object returned will be an array of Java objects of |
95 |
* the appropriate types. |
* the appropriate types. |
96 |
* |
* |
97 |
* @param offset The offset into this array to start returning elements from. |
* @param index The offset into this array to start returning elements from. |
98 |
* @param count The requested number of elements to return. |
* @param count The requested number of elements to return. |
99 |
* @return The requested portion of the array. |
* @return The requested portion of the array. |
100 |
* @exception SQLException If an error occurs. |
* @exception SQLException If an error occurs. |
110 |
* <code>Map</code> will be used for overriding selected SQL type to |
* <code>Map</code> will be used for overriding selected SQL type to |
111 |
* Java class mappings. |
* Java class mappings. |
112 |
* |
* |
113 |
* @param offset The offset into this array to start returning elements from. |
* @param index The offset into this array to start returning elements from. |
114 |
* @param count The requested number of elements to return. |
* @param count The requested number of elements to return. |
115 |
* @param map A mapping of SQL types to Java classes. |
* @param map A mapping of SQL types to Java classes. |
116 |
* @return The requested portion of the array. |
* @return The requested portion of the array. |
117 |
* @exception SQLException If an error occurs. |
* @exception SQLException If an error occurs. |
118 |
*/ |
*/ |
119 |
Object getArray(long index, int count, Map map) throws SQLException; |
Object getArray(long index, int count, Map<String, Class<?>> map) |
120 |
|
throws SQLException; |
121 |
|
|
122 |
/** |
/** |
123 |
* Returns the elements in the array as a <code>ResultSet</code>. |
* Returns the elements in the array as a <code>ResultSet</code>. |
144 |
* @exception SQLException If an error occurs. |
* @exception SQLException If an error occurs. |
145 |
* @see ResultSet |
* @see ResultSet |
146 |
*/ |
*/ |
147 |
ResultSet getResultSet(Map map) throws SQLException; |
ResultSet getResultSet(Map<String, Class<?>> map) throws SQLException; |
148 |
|
|
149 |
/** |
/** |
150 |
* This method returns a portion of the array as a <code>ResultSet</code>. |
* This method returns a portion of the array as a <code>ResultSet</code>. |
155 |
* the index into the array of that row's contents. The second will be |
* the index into the array of that row's contents. The second will be |
156 |
* the actual value of that array element. |
* the actual value of that array element. |
157 |
* |
* |
158 |
* @param offset The index into the array to start returning elements from. |
* @param index The index into the array to start returning elements from. |
159 |
* @param length The requested number of elements to return. |
* @param count The requested number of elements to return. |
160 |
* @return The requested elements of this array as a <code>ResultSet</code>. |
* @return The requested elements of this array as a <code>ResultSet</code>. |
161 |
* @exception SQLException If an error occurs. |
* @exception SQLException If an error occurs. |
162 |
* @see ResultSet |
* @see ResultSet |
174 |
* will be used to override selected default mappings of SQL types to |
* will be used to override selected default mappings of SQL types to |
175 |
* Java classes.</p> |
* Java classes.</p> |
176 |
* |
* |
177 |
* @param offset The index into the array to start returning elements from. |
* @param index The index into the array to start returning elements from. |
178 |
* @param length The requested number of elements to return. |
* @param count The requested number of elements to return. |
179 |
* @param map A mapping of SQL types to Java classes. |
* @param map A mapping of SQL types to Java classes. |
180 |
* @return The requested elements of this array as a <code>ResultSet</code>. |
* @return The requested elements of this array as a <code>ResultSet</code>. |
181 |
* @exception SQLException If an error occurs. |
* @exception SQLException If an error occurs. |