01: /*-------------------------------------------------------------------------
02: *
03: * Copyright (c) 2004-2005, PostgreSQL Global Development Group
04: *
05: * IDENTIFICATION
06: * $PostgreSQL: pgjdbc/org/postgresql/jdbc3g/Jdbc3gArray.java,v 1.4 2005/01/11 08:25:47 jurka Exp $
07: *
08: *-------------------------------------------------------------------------
09: */
10: package org.postgresql.jdbc3g;
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 Jdbc3gArray extends
18: org.postgresql.jdbc2.AbstractJdbc2Array implements
19: java.sql.Array {
20: public Jdbc3gArray(BaseConnection conn, int idx, Field field,
21: BaseResultSet rs) throws SQLException {
22: super (conn, idx, field, rs);
23: }
24:
25: public Object getArray(Map<String, Class<?>> map)
26: throws SQLException {
27: return getArrayImpl(map);
28: }
29:
30: public Object getArray(long index, int count,
31: Map<String, Class<?>> map) throws SQLException {
32: return getArrayImpl(index, count, map);
33: }
34:
35: public ResultSet getResultSet(Map<String, Class<?>> map)
36: throws SQLException {
37: return getResultSetImpl(map);
38: }
39:
40: public ResultSet getResultSet(long index, int count,
41: Map<String, Class<?>> map) throws SQLException {
42: return getResultSetImpl(index, count, map);
43: }
44:
45: }
|