Grant Henke created KUDU-2689: --------------------------------- Summary: Make PartialRow.add methods fluent Key: KUDU-2689 URL: https://issues.apache.org/jira/browse/KUDU-2689 Project: Kudu Issue Type: Improvement Components: client Affects Versions: 1.8.0 Reporter: Grant Henke
Today when creating populating a partial row the user needs to specify each value on a new line: {code:java} PartialRow row = schema.newPartialRow(); row.addInt("col1", 1); row.addString("col2" "hello"); row.addBoolean("col3", false); {code} By adjusting all of the add methods to return `this` a user could build the row fluently: {code:java} PartialRow row = schema.newPartialRow() .addInt("col1", 1) .addString("col2" "hello") .addBoolean("col3", false); {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)