(TransactionContext tcx, final Subspace s)
| 134 | } |
| 135 | |
| 136 | public static void clearSubspace(TransactionContext tcx, final Subspace s){ |
| 137 | tcx.run(new Function<Transaction,Void>() { |
| 138 | public Void apply(Transaction tr){ |
| 139 | tr.clear(s.range()); |
| 140 | return null; |
| 141 | } |
| 142 | }); |
| 143 | } |
| 144 | |
| 145 | public static void main(String[] args) { |
| 146 | clearSubspace(db, multi); |