public AbstractJdbc2ResultSet(Query originalQuery, BaseStatement statement, Field[] fields, Vector tuples, ResultCursor cursor, int maxRows, int maxFieldSize, int rsType, int rsConcurrency) throws SQLException { this.originalQuery = originalQuery; this.connection = (BaseConnection) statement.getConnection(); this.statement = statement; this.fields = fields; this.rows = tuples; this.cursor = cursor; this.maxRows = maxRows; this.maxFieldSize = maxFieldSize; this.resultsettype = rsType; this.resultsetconcurrency = rsConcurrency; }
PgResultSet(Query originalQuery, BaseStatement statement, Field[] fields, List<byte[][]> tuples, ResultCursor cursor, int maxRows, int maxFieldSize, int rsType, int rsConcurrency, int rsHoldability) throws SQLException { // Fail-fast on invalid null inputs if (tuples == null) { throw new NullPointerException("tuples must be non-null"); } if (fields == null) { throw new NullPointerException("fields must be non-null"); } this.originalQuery = originalQuery; this.connection = (BaseConnection) statement.getConnection(); this.statement = statement; this.fields = fields; this.rows = tuples; this.cursor = cursor; this.maxRows = maxRows; this.maxFieldSize = maxFieldSize; this.resultsettype = rsType; this.resultsetconcurrency = rsConcurrency; }
public AbstractJdbc2ResultSet(Query originalQuery, BaseStatement statement, Field[] fields, Vector tuples, ResultCursor cursor, int maxRows, int maxFieldSize, int rsType, int rsConcurrency) throws SQLException { this.originalQuery = originalQuery; this.connection = (BaseConnection) statement.getConnection(); this.statement = statement; this.fields = fields; this.rows = tuples; this.cursor = cursor; this.maxRows = maxRows; this.maxFieldSize = maxFieldSize; this.resultsettype = rsType; this.resultsetconcurrency = rsConcurrency; }
public AbstractJdbc2ResultSet(Query originalQuery, BaseStatement statement, Field[] fields, Vector tuples, ResultCursor cursor, int maxRows, int maxFieldSize, int rsType, int rsConcurrency) throws SQLException { this.originalQuery = originalQuery; this.connection = (BaseConnection) statement.getConnection(); this.statement = statement; this.fields = fields; this.rows = tuples; this.cursor = cursor; this.maxRows = maxRows; this.maxFieldSize = maxFieldSize; this.resultsettype = rsType; this.resultsetconcurrency = rsConcurrency; }