01: /*-------------------------------------------------------------------------
02: *
03: * Copyright (c) 2004-2005, PostgreSQL Global Development Group
04: *
05: * IDENTIFICATION
06: * $PostgreSQL: pgjdbc/org/postgresql/jdbc4/Jdbc4Array.java,v 1.2 2006/10/31 06:12:47 jurka Exp $
07: *
08: *-------------------------------------------------------------------------
09: */
10: package org.postgresql.jdbc4;
11:
12: import java.util.Map;
13: import org.postgresql.core.*;
14: import java.sql.SQLException;
15: import java.sql.ResultSet;
16:
17: public class Jdbc4Array extends org.postgresql.jdbc2.AbstractJdbc2Array
18: implements java.sql.Array {
19: public Jdbc4Array(BaseConnection conn, int idx, Field field,
20: BaseResultSet rs) throws SQLException {
21: super (conn, idx, field, rs);
22: }
23:
24: public Object getArray(Map<String, Class<?>> map)
25: throws SQLException {
26: return getArrayImpl(map);
27: }
28:
29: public Object getArray(long index, int count,
30: Map<String, Class<?>> map) throws SQLException {
31: return getArrayImpl(index, count, map);
32: }
33:
34: public ResultSet getResultSet(Map<String, Class<?>> map)
35: throws SQLException {
36: return getResultSetImpl(map);
37: }
38:
39: public ResultSet getResultSet(long index, int count,
40: Map<String, Class<?>> map) throws SQLException {
41: return getResultSetImpl(index, count, map);
42: }
43:
44: public void free() throws SQLException {
45: throw org.postgresql.Driver.notImplemented(this .getClass(),
46: "free()");
47: }
48:
49: }
|