return findAllImpl2(meta, keys, noSqlKeys, null, batchSize);
}
<T> AbstractCursor<KeyValue<TypedRow>> findAllImpl2(DboTableMeta meta, Iterable<T> keys, Iterable<byte[]> noSqlKeys, String query, int batchSize) {
Iterable<byte[]> virtKeys = new IterToVirtual(meta, noSqlKeys);
//NOTE: It is WAY more efficient to find ALL keys at once then it is to
//find one at a time. You would rather have 1 find than 1000 if network latency was 1 ms ;).
AbstractCursor<KeyValue<Row>> rows2 = session.find(meta, virtKeys, true, false, batchSize);
if(keys != null)
return new CursorTypedResp<T>(meta, keys, rows2);