(TransactionContext tcx, final String row, final String column)
| 72 | } |
| 73 | |
| 74 | public static Object getCell(TransactionContext tcx, final String row, |
| 75 | final String column){ |
| 76 | return tcx.run(new Function<Transaction, Object>() { |
| 77 | public Object apply(Transaction tr){ |
| 78 | return unpack(tr.get(rowIndex.subspace( |
| 79 | Tuple.from(row,column)).getKey()).get()); |
| 80 | } |
| 81 | }); |
| 82 | } |
| 83 | |
| 84 | public static void setRow(TransactionContext tcx, final String row, |
| 85 | final Map<String,Object> cols){ |