RecordFactory rf = bpt1.getRecordFactory() ;
Iterator<Record> iter1 = bpt1.iterator() ;
long counter = 0 ;
// Use the same slot each time.
Record r2 = rf.create() ;
for ( ; iter1.hasNext(); )
{
counter++ ;
Record r = iter1.next() ;
byte[] key1 = r.getKey() ;
long i1 = Bytes.getLong(key1, 0 ) ;
long i2 = Bytes.getLong(key1, 8 ) ;
long i3 = Bytes.getLong(key1, 16 ) ;