vinothchandar commented on a change in pull request #623: Hudi Test Suite
URL: https://github.com/apache/incubator-hudi/pull/623#discussion_r276836553
##########
File path:
hoodie-bench/src/main/java/com/uber/hoodie/integrationsuite/configuration/WorkloadOperationSequenceGenerator.java
##########
@@ -0,0 +1,39 @@
+package com.uber.hoodie.integrationsuite.configuration;
+
+import com.uber.hoodie.integrationsuite.job.operation.Operation;
+import com.uber.hoodie.integrationsuite.job.operation.OperationActionSequence;
+import
com.uber.hoodie.integrationsuite.job.operation.WorkloadOperationSequence;
+import com.uber.hoodie.integrationsuite.validate.ValidateCount;
+
+/**
+ * This is an example implementation of how one can create a sequence of
workloads to be generated and executed.
+ * Extend this class and override {@link
WorkloadOperationSequenceGenerator#getWorkloadSequence()} to build your own
+ * workload pattern
+ */
+public class WorkloadOperationSequenceGenerator {
+
+ public WorkloadOperationSequence getSequence() {
+ return getWorkloadSequence();
+ }
+
+ protected WorkloadOperationSequence getWorkloadSequence() {
Review comment:
should these do into a static helper class like HoodieBenchUtils? which
hands out some standard/built in workload sequences like these? (as opposed to
be placed right next to actual model classes?
----------------------------------------------------------------
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