vinothchandar commented on a change in pull request #623: Hudi Test Suite
URL: https://github.com/apache/incubator-hudi/pull/623#discussion_r276836064
 
 

 ##########
 File path: 
hoodie-bench/src/main/java/com/uber/hoodie/integrationsuite/configuration/WorkloadOperationConfig.java
 ##########
 @@ -0,0 +1,139 @@
+package com.uber.hoodie.integrationsuite.configuration;
+
+import com.google.common.annotations.VisibleForTesting;
+import com.uber.hoodie.integrationsuite.job.operation.Operation;
+import com.uber.hoodie.integrationsuite.job.operation.OperationActionSequence;
+import java.util.LinkedList;
+import java.util.List;
+import java.util.Optional;
+
+/**
+ * Represents any kind of workload operation for new data. Supported ingestion 
operations are
+ * at {@link Operation}. Each workload also contains a set of optional 
sequence of actions that can be
+ * executed in parallel.
+ */
+public class WorkloadOperationConfig {
+
+  private long numRecordsInsert;
+  private long numRecordsUpsert;
+  private int repeatCount;
 
 Review comment:
   I am little unclear of whether repeatCount is useful in this class.. given 
the builder pattern for composing these, it should be easy to achieve this from 
the outside where its actually constructed right... 
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to