keith-turner commented on code in PR #5702:
URL: https://github.com/apache/accumulo/pull/5702#discussion_r2195268902


##########
core/src/main/java/org/apache/accumulo/core/data/Mutation.java:
##########
@@ -701,6 +701,40 @@ public void put(byte[] columnFamily, byte[] 
columnQualifier, ColumnVisibility co
         value);
   }
 
+  /**
+   * Puts a modification in this mutation given the values contained in the 
key and the value. All
+   * appropriate fields of the key are defensively copied.
+   *
+   * @param key key containing all key fields
+   * @param value value
+   */
+  public void put(Key key, Value value) {

Review Comment:
   The clone table code in Accumulo has a pattern like this where iit copies 
rows from one part of the metadata table to another part of the metadata table. 
 The merge and split code may also have a similar pattern.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to