@return a Tuple with a single IntField with value n and with RecordId(HeapPageId(1,2), 3)
(int n)
| 49 | * RecordId(HeapPageId(1,2), 3) |
| 50 | */ |
| 51 | public static Tuple getHeapTuple(int n) { |
| 52 | Tuple tup = new Tuple(getTupleDesc(1)); |
| 53 | tup.setRecordId(new RecordId(new HeapPageId(1, 2), 3)); |
| 54 | tup.setField(0, new IntField(n)); |
| 55 | return tup; |
| 56 | } |
| 57 | |
| 58 | /** |
| 59 | * @return a Tuple with an IntField for every element of tupdata |