mattyb149 commented on a change in pull request #3977: NIFI-7007 Add update 
functionality to the PutCassandraRecord processor.
URL: https://github.com/apache/nifi/pull/3977#discussion_r366563487
 
 

 ##########
 File path: 
nifi-nar-bundles/nifi-cassandra-bundle/nifi-cassandra-processors/src/main/java/org/apache/nifi/processors/cassandra/PutCassandraRecord.java
 ##########
 @@ -57,6 +60,11 @@
 @CapabilityDescription("This is a record aware processor that reads the 
content of the incoming FlowFile as individual records using the " +
         "configured 'Record Reader' and writes them to Apache Cassandra using 
native protocol version 3 or higher.")
 public class PutCassandraRecord extends AbstractCassandraProcessor {
+    static final String UPDATE_TYPE = "UPDATE";
 
 Review comment:
   These should probably be `AllowableValue` instances rather than `String`, 
that way you can still include the name, but also a display name and a 
description (which is used for tooltips). You can still add them the same way 
to the property (since the `.allowableValues()` method accepts either Strings 
or AllowableValues.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to