1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
/*-------------------------------------------------------------------------
*
* Copyright (c) 2004-2011, PostgreSQL Global Development Group
*
*
*-------------------------------------------------------------------------
*/
package org.postgresql.jdbc4;
import java.sql.*;
import java.util.List;
import java.util.Map;
import org.postgresql.core.*;
/**
* This class implements the java.sql.ResultSet interface for JDBC4.
* However most of the implementation is really done in
* org.postgresql.jdbc4.AbstractJdbc4ResultSet or one of it's parents
*/
public class Jdbc4ResultSet extends AbstractJdbc4ResultSet implements java.sql.ResultSet
{
Jdbc4ResultSet(Query originalQuery, BaseStatement statement, Field[] fields, List tuples, ResultCursor cursor,
int maxRows, int maxFieldSize, int rsType, int rsConcurrency, int rsHoldability) throws SQLException
{
super(originalQuery, statement, fields, tuples, cursor, maxRows, maxFieldSize, rsType, rsConcurrency, rsHoldability);
}
protected java.sql.ResultSetMetaData createMetaData() throws SQLException
{
return new Jdbc4ResultSetMetaData(connection, fields);
}
protected java.sql.Clob makeClob(long oid) throws SQLException
{
return new Jdbc4Clob(connection, oid);
}
protected java.sql.Blob makeBlob(long oid) throws SQLException
{
return new Jdbc4Blob(connection, oid);
}
protected Array makeArray(int oid, byte[] value) throws SQLException
{
return new Jdbc4Array(connection, oid, value);
}
protected Array makeArray(int oid, String value) throws SQLException
{
return new Jdbc4Array(connection, oid, value);
}
public Object getObject(String s, Map < String, Class < ? >> map) throws SQLException
{
return getObjectImpl(s, map);
}
public Object getObject(int i, Map < String, Class < ? >> map) throws SQLException
{
return getObjectImpl(i, map);
}
}
|