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


##########
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:
   One use case for the rows differing is copying the coumns in a row from one 
row to another.  So scan rowA and read all of its columns and write them to 
rowB.  The mutation would be created using rowB and then updates made using the 
columns from rowA.



-- 
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: notifications-unsubscr...@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to