/** * Returns an Iterator with the selected columns over all the rows in the * "to" table based on the given columns in the "from" table. * * @param fromRow row from the "from" table (which must include the relevant * columns for this join relationship) */ public EntryIterableBuilder findRows(Object[] fromRow) { toEntryValues(fromRow); return _toCursor.newEntryIterable(_entryValues); }
/** * Returns an Iterator over all the rows in the "to" table based on the * given columns in the "from" table. * * @param fromRow row from the "from" table (which must include the relevant * columns for this join relationship) */ public EntryIterableBuilder findRows(Map<String,?> fromRow) { toEntryValues(fromRow); return _toCursor.newEntryIterable(_entryValues); }
private Iterator<Row> getComplexValFkIter( int complexValueFk, Collection<String> columnNames) throws IOException { if(_complexValIdCursor == null) { _complexValIdCursor = _flatTable.newCursor() .setIndexByColumns(_complexValFkCol) .toIndexCursor(); } return _complexValIdCursor.newEntryIterable(complexValueFk) .setColumnNames(columnNames).iterator(); }