MCPcopy Create free account
hub / github.com/apple/foundationdb / clearSubspace

Method clearSubspace

recipes/java-recipes/MicroGraph.java:149–157  ·  view source on GitHub ↗
(TransactionContext tcx, final Subspace s)

Source from the content-addressed store, hash-verified

147 }
148
149 public static void clearSubspace(TransactionContext tcx, final Subspace s){
150 tcx.run(new Function<Transaction,Void>() {
151 public Void apply(Transaction tr){
152 //tr.clear(Range.startsWith(s.getKey()));
153 tr.clear(s.range());
154 return null;
155 }
156 });
157 }
158
159 public static void smokeTest(){
160 /*

Callers 1

mainMethod · 0.95

Calls 1

runMethod · 0.65

Tested by

no test coverage detected