org.postgresql.jdbc4.Jdbc4ResultSet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fdb-sql-layer-jdbc Show documentation
Show all versions of fdb-sql-layer-jdbc Show documentation
The FoundationDB SQL Layer Driver for JDBC4
/*-------------------------------------------------------------------------
*
* 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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy