Example #1
0
 public void insert(Constant val, RID rid)
 {//向TableScan相应桶中插入一条新纪录
     beforeFirst(val);
     ts.insert();
     ts.setInt("block", rid.blockNumber());
     ts.setInt("id", rid.Id());
     ts.setVal("dataval", val);
 }