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

Method setColumn

recipes/java-recipes/MicroTable.java:98–109  ·  view source on GitHub ↗
(TransactionContext tcx, final String column,
									final Map<String,Object> rows)

Source from the content-addressed store, hash-verified

96 }
97
98 public static void setColumn(TransactionContext tcx, final String column,
99 final Map<String,Object> rows){
100 tcx.run(new Function<Transaction,Void>() {
101 public Void apply(Transaction tr){
102 tr.clear(colIndex.subspace(Tuple.from(column)).range());
103 for(Map.Entry<String,Object> rv : rows.entrySet()){
104 setCell(tr, rv.getKey(), column, rv.getValue());
105 }
106 return null;
107 }
108 });
109 }
110
111 public static TreeMap<String,Object> getRow(TransactionContext tcx,
112 final String row){

Callers 1

smokeTestMethod · 0.95

Calls 1

runMethod · 0.65

Tested by

no test coverage detected