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