Github user bhupeshchawda commented on a diff in the pull request:
https://github.com/apache/incubator-apex-malhar/pull/227#discussion_r58710287
--- Diff:
contrib/src/main/java/com/datatorrent/contrib/cassandra/CassandraPOJOOutputOperator.java
---
@@ -50,17 +49,21 @@
* @since 2.1.0
*/
@Evolving
-public class CassandraPOJOOutputOperator extends
AbstractCassandraTransactionableOutputOperatorPS<Object> implements
Operator.ActivationListener<Context.OperatorContext>
+public class CassandraPOJOOutputOperator extends
AbstractCassandraTransactionableOutputOperatorPS<Object>
{
- @NotNull
private List<FieldInfo> fieldInfos;
- @NotNull
private String tablename;
+ private String query;
protected final transient ArrayList<DataType> columnDataTypes;
protected final transient ArrayList<Object> getters;
protected transient Class<?> pojoClass;
+ @AutoMetric
+ private long recordsProcessed;
--- End diff --
Can you rename it to something else? This seems like the total records
processed, not records processed successfully.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---