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

Method setRow

recipes/java-recipes/MicroTable.java:84–96  ·  view source on GitHub ↗
(TransactionContext tcx, final String row,
								final Map<String,Object> cols)

Source from the content-addressed store, hash-verified

82 }
83
84 public static void setRow(TransactionContext tcx, final String row,
85 final Map<String,Object> cols){
86 tcx.run(new Function<Transaction, Void>() {
87 public Void apply(Transaction tr){
88 tr.clear(rowIndex.subspace(Tuple.from(row)).range());
89
90 for(Map.Entry<String,Object> cv : cols.entrySet()){
91 setCell(tr, row, cv.getKey(), cv.getValue());
92 }
93 return null;
94 }
95 });
96 }
97
98 public static void setColumn(TransactionContext tcx, final String column,
99 final Map<String,Object> rows){

Callers 1

smokeTestMethod · 0.95

Calls 1

runMethod · 0.65

Tested by

no test coverage detected