public int insert(String table,String key,HashMap<String,ByteIterator> values){
  long st=System.nanoTime();
  int res=_db.insert(table,key,values);
  long en=System.nanoTime();
  _measurements.measure("INSERT",(int)((en - st) / 1000));
  _measurements.reportReturnCode("INSERT",res);
  return res;
}

public int insert ( String table , String key , HashMap < String , ByteIterator > values ) { long st = System . nanoTime ( ) ; int res = _db . insert ( table , key , values ) ; long en = System . nanoTime ( ) ; _measurements . measure ( "INSERT" , ( int ) ( ( en - st ) / 1000 ) ) ; _measurements . reportReturnCode ( "INSERT" , res ) ; return res ; }
insert a record in the database . any field / value pairs in the specified values hashmap will be written into the record with the specified record key .
