public final PersonIdentifierTable.Records getAccessorRecords( ConnectionContext cc, QueryDefnSelect accessor, Object[] bindValues) throws NamingException, SQLException { Rows rows = getTable().createRows(); QueryResultSet qrs = accessor.execute(cc, bindValues, false); if (qrs != null) rows.populateDataByIndexes(qrs.getResultSet()); qrs.close(false); return new Records(rows); }
public Records(Rows rows) { this.rows = rows; this.cache = new Record[rows.size()]; }