MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / kvToROE

Method kvToROE

test/PBufResponses.java:164–168  ·  view source on GitHub ↗

Convert a key value to a result for multi-actions @param kv The column to encode @param i The multi-action array index to encode @return The result

(final KeyValue kv, final int i)

Source from the content-addressed store, hash-verified

162 * @return The result
163 */
164 static ResultOrException kvToROE(final KeyValue kv, final int i) {
165 final Result result = Result.newBuilder().addCell(kvToCell(kv)).build();
166 return ResultOrException.newBuilder()
167 .setResult(result).setIndex(i).build();
168 }
169
170 /**
171 * Convert the list of columns to a result set for a multi-action batched RPC

Calls 1

kvToCellMethod · 0.95

Tested by

no test coverage detected