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


##########
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:
   Maybe we could name the method `keyColumns` to make it more readable?
   
   ```java
   m.at().keyColumns(key1).put(someVal);
   ```



-- 
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