/** * Retrieves a <code>ResultSet</code> object that contains all of * the elements in the <code>ARRAY</code> value that this * <code>SerialArray</code> object represents. * If appropriate, the elements of the array are mapped using the connection's * type map; otherwise, the standard mapping is used. * * @return a <code>ResultSet</code> object containing all of the * elements in this <code>SerialArray</code> object, with a * separate row for each element * @throws SerialException if called with the cause set to * {@code UnsupportedOperationException} */ public ResultSet getResultSet() throws SerialException { SerialException se = new SerialException(); se.initCause(new UnsupportedOperationException()); throw se; }
/** * Retrieves a <code>ResultSet</code> object holding the elements of * the subarray that starts at * index <i>index</i> and contains up to <i>count</i> successive elements. * This method uses the connection's type map to map the elements of * the array if the map contains * an entry for the base type. Otherwise, the standard mapping is used. * * @param index the index into this <code>SerialArray</code> object * of the first element to be copied; the index of the * first element in the array is <code>0</code> * @param count the number of consecutive elements to be copied, starting * at the given index * @return a <code>ResultSet</code> object containing the designated * elements in this <code>SerialArray</code> object, with a * separate row for each element * @throws SerialException if called with the cause set to * {@code UnsupportedOperationException} */ public ResultSet getResultSet(long index, int count) throws SerialException { SerialException se = new SerialException(); se.initCause(new UnsupportedOperationException()); throw se; }
/** * * Retrieves a <code>ResultSet</code> object that contains all of * the elements of the SQL <code>ARRAY</code> * value represented by this <code>SerialArray</code> object. This method uses * the specified map for type map customizations unless the base type of the * array does not match a user-defined type (UDT) in <i>map</i>, in * which case it uses the * standard mapping. This version of the method <code>getResultSet</code> * uses either the given type map or the standard mapping; it never uses the * type map associated with the connection. * * @param map a <code>java.util.Map</code> object in which * each entry consists of 1) a <code>String</code> object * giving the fully qualified name of a UDT and 2) the * <code>Class</code> object for the <code>SQLData</code> implementation * that defines how the UDT is to be mapped * @return a <code>ResultSet</code> object containing all of the * elements in this <code>SerialArray</code> object, with a * separate row for each element * @throws SerialException if called with the cause set to * {@code UnsupportedOperationException} */ public ResultSet getResultSet(Map<String, Class<?>> map) throws SerialException { SerialException se = new SerialException(); se.initCause(new UnsupportedOperationException()); throw se; }
se.initCause(new UnsupportedOperationException()); throw se;