120121122123124125126127128129130
for ( ; iter1.hasNext(); ) { counter++ ; Tuple<NodeId> tuple = iter1.next() ; index2.add(tuple) ; monitor.tick() ; } index2.sync() ; long time = monitor.finish() ; float elapsedSecs = time/1000F ;
164165166167168169170171172173174
byte[] key2 = r2.getKey() ; Bytes.setLong(i3, key2, 0) ; Bytes.setLong(i1, key2, 8) ; Bytes.setLong(i2, key2, 16) ; bpt2.add(r2) ; monitor.tick() ; } bpt2.sync() ; long time = monitor.finish() ; float elapsedSecs = time/1000F ;