public int scan(String table,String startkey,int recordcount,Set<String> fields,Vector<HashMap<String,ByteIterator>> result){
  long st=System.nanoTime();
  int res=_db.scan(table,startkey,recordcount,fields,result);
  long en=System.nanoTime();
  _measurements.measure("SCAN",(int)((en - st) / 1000));
  _measurements.reportReturnCode("SCAN",res);
  return res;
}

public int scan ( String table , String startkey , int recordcount , Set < String > fields , Vector < HashMap < String , ByteIterator > > result ) { long st = System . nanoTime ( ) ; int res = _db . scan ( table , startkey , recordcount , fields , result ) ; long en = System . nanoTime ( ) ; _measurements . measure ( "SCAN" , ( int ) ( ( en - st ) / 1000 ) ) ; _measurements . reportReturnCode ( "SCAN" , res ) ; return res ; }
perform a range scan for a set of records in the database . each field / value pair from the result will be stored in a hashmap .
