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

Method clearSubspace

recipes/java-recipes/MicroTable.java:146–153  ·  view source on GitHub ↗
(TransactionContext tcx, final Subspace s)

Source from the content-addressed store, hash-verified

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

Callers 1

mainMethod · 0.95

Calls 1

runMethod · 0.65

Tested by

no test coverage detected