Commit f0868e18 authored by Daniel Seybold's avatar Daniel Seybold

added performance tpc-c scenario for cockroachdb

parent e4d9aa15
Pipeline #74151 passed with stage
in 18 minutes and 40 seconds
......@@ -28,7 +28,7 @@ import javax.validation.constraints.*;
/**
* AvailabilityYCSBMultiPhase
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class AvailabilityYCSBMultiPhase {
@JsonProperty("workloadNetwork")
private EvaluationNetwork workloadNetwork = null;
......
......@@ -28,7 +28,7 @@ import javax.validation.constraints.*;
/**
* AvailabilityYCSBWrite
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class AvailabilityYCSBWrite {
@JsonProperty("workloadNetwork")
private EvaluationNetwork workloadNetwork = null;
......
......@@ -23,7 +23,7 @@ import javax.validation.constraints.*;
/**
* Cloud
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class Cloud {
@JsonProperty("id")
private Long id = null;
......
......@@ -22,7 +22,7 @@ import javax.validation.constraints.*;
* a set of custom configuration items for a specific cloud
*/
@ApiModel(description = "a set of custom configuration items for a specific cloud")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class CloudConfiguration extends java.util.ArrayList<CloudConfigurationItem> {
@Override
......
......@@ -24,7 +24,7 @@ import javax.validation.constraints.*;
/**
* CloudConfigurationItem
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class CloudConfigurationItem {
/**
* cloud configuration key
......
......@@ -24,7 +24,7 @@ import javax.validation.constraints.*;
* object to contain the required information to get cluster endpoints
*/
@ApiModel(description = "object to contain the required information to get cluster endpoints")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class ClusterContext {
@JsonProperty("idApplicationInstance")
private String idApplicationInstance = null;
......
......@@ -25,7 +25,7 @@ import javax.validation.constraints.*;
/**
* Component
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class Component {
@JsonProperty("instances")
private Integer instances = null;
......
......@@ -23,7 +23,7 @@ import javax.validation.constraints.*;
/**
* CrossClusterConfiguration
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class CrossClusterConfiguration {
@JsonProperty("crossClusterPort")
private Integer crossClusterPort = null;
......
......@@ -28,7 +28,7 @@ import javax.validation.constraints.*;
* A data component of a cross-DDBMS, requires existing seed and CrossDatabaseSeedComponents
*/
@ApiModel(description = "A data component of a cross-DDBMS, requires existing seed and CrossDatabaseSeedComponents")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class CrossDatabaseDataComponent {
@JsonProperty("instances")
private Integer instances = null;
......
......@@ -31,7 +31,7 @@ import javax.validation.constraints.*;
* A seed component of a cross-DDBMS, provides the cluster entrypoint for DatabaseDataComponents and CrossDatabaseDataComponent
*/
@ApiModel(description = "A seed component of a cross-DDBMS, provides the cluster entrypoint for DatabaseDataComponents and CrossDatabaseDataComponent")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class CrossDatabaseSeedComponent {
@JsonProperty("instances")
private Integer instances = null;
......
......@@ -22,7 +22,7 @@ import javax.validation.constraints.*;
* a set of custom configuration items, the LCA scripts need to be aware of
*/
@ApiModel(description = "a set of custom configuration items, the LCA scripts need to be aware of")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class CustomConfiguration extends java.util.ArrayList<CustomConfigurationItem> {
@Override
......
......@@ -23,7 +23,7 @@ import javax.validation.constraints.*;
/**
* CustomConfigurationItem
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class CustomConfigurationItem {
@JsonProperty("envName")
private String envName = null;
......
......@@ -23,7 +23,7 @@ import javax.validation.constraints.*;
/**
* DBEndpoint
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class DBEndpoint {
@JsonProperty("ipAddress")
private String ipAddress = null;
......
......@@ -22,7 +22,7 @@ import javax.validation.constraints.*;
* a list of the database endpoints to issue the workload
*/
@ApiModel(description = "a list of the database endpoints to issue the workload")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class DBEndpoints extends java.util.ArrayList<DBEndpoint> {
@Override
......
......@@ -25,7 +25,7 @@ import javax.validation.constraints.*;
/**
* DataMemory
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class DataMemory {
/**
* environment variable name
......
......@@ -28,7 +28,7 @@ import javax.validation.constraints.*;
* todo
*/
@ApiModel(description = "todo")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class DatabaseCluster {
/**
* database name, needs to map an existing database application description
......
......@@ -25,7 +25,7 @@ import javax.validation.constraints.*;
/**
* DatabaseConfig
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class DatabaseConfig {
/**
* Gets or Sets databaseBinding
......
......@@ -23,7 +23,7 @@ import javax.validation.constraints.*;
/**
* DatabaseConfigProperty
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class DatabaseConfigProperty {
@JsonProperty("name")
private String name = null;
......
......@@ -30,7 +30,7 @@ import javax.validation.constraints.*;
* todo
*/
@ApiModel(description = "todo")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class DatabaseCrossCluster {
/**
* database name, needs to map an existing database application description
......
......@@ -29,7 +29,7 @@ import javax.validation.constraints.*;
* A data component of a DDBMS, requires existing seed components
*/
@ApiModel(description = "A data component of a DDBMS, requires existing seed components")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class DatabaseDataComponent {
@JsonProperty("instances")
private Integer instances = null;
......
......@@ -28,7 +28,7 @@ import javax.validation.constraints.*;
* A management component of a DDBMS
*/
@ApiModel(description = "A management component of a DDBMS")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class DatabaseManagementComponent {
@JsonProperty("instances")
private Integer instances = null;
......
......@@ -30,7 +30,7 @@ import javax.validation.constraints.*;
* A seed component of a DDBMS, provides the cluster entrypoint for DatabaseDataComponents
*/
@ApiModel(description = "A seed component of a DDBMS, provides the cluster entrypoint for DatabaseDataComponents")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class DatabaseSeedComponent {
@JsonProperty("instances")
private Integer instances = null;
......
......@@ -26,7 +26,7 @@ import javax.validation.constraints.*;
* todo
*/
@ApiModel(description = "todo")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class DatabaseSingle {
/**
* database name, needs to map an existing database application description
......
......@@ -26,7 +26,7 @@ import javax.validation.constraints.*;
* the elasticity specification (will be extended to rule based scaling actions) for horizontal scaling actions
*/
@ApiModel(description = "the elasticity specification (will be extended to rule based scaling actions) for horizontal scaling actions")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class ElasticityStep {
/**
* Gets or Sets scalingType
......
......@@ -28,7 +28,7 @@ import javax.validation.constraints.*;
/**
* ElasticityYCSBMultiPhase
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class ElasticityYCSBMultiPhase {
@JsonProperty("workloadNetwork")
private EvaluationNetwork workloadNetwork = null;
......
......@@ -28,7 +28,7 @@ import javax.validation.constraints.*;
/**
* ElasticityYCSBWrite
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class ElasticityYCSBWrite {
@JsonProperty("workloadNetwork")
private EvaluationNetwork workloadNetwork = null;
......
......@@ -23,7 +23,7 @@ import javax.validation.constraints.*;
/**
* Error
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class Error {
@JsonProperty("code")
private Integer code = null;
......
......@@ -24,7 +24,7 @@ import javax.validation.constraints.*;
* context object for the overall evaluation
*/
@ApiModel(description = "context object for the overall evaluation")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class EvaluationContext {
@JsonProperty("scenarioType")
private String scenarioType = null;
......
......@@ -25,7 +25,7 @@ import javax.validation.constraints.*;
* specifies if public or private IPs should be used for connections
*/
@ApiModel(description = "specifies if public or private IPs should be used for connections")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class EvaluationNetwork {
/**
* Gets or Sets type
......
......@@ -24,7 +24,7 @@ import javax.validation.constraints.*;
/**
* EvaluationStatus
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class EvaluationStatus {
/**
* Gets or Sets status
......
......@@ -23,7 +23,7 @@ import javax.validation.constraints.*;
/**
* EvaluationSubmissionError
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class EvaluationSubmissionError {
@JsonProperty("message")
private String message = null;
......
......@@ -25,7 +25,7 @@ import javax.validation.constraints.*;
* the Cloud failures to be injected by the GibbonAlgorithm
*/
@ApiModel(description = "the Cloud failures to be injected by the GibbonAlgorithm")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class FailureSpec {
/**
* Gets or Sets failureLevel
......
......@@ -25,7 +25,7 @@ import javax.validation.constraints.*;
* the spec to inject failures via the Gibbon algorithm
*/
@ApiModel(description = "the spec to inject failures via the Gibbon algorithm")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class GibbonSpec {
@JsonProperty("gibbonDelay")
private Long gibbonDelay = null;
......
......@@ -23,7 +23,7 @@ import javax.validation.constraints.*;
/**
* Hardware
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class Hardware {
@JsonProperty("cores")
private Long cores = null;
......
......@@ -23,7 +23,7 @@ import javax.validation.constraints.*;
/**
* Image
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class Image {
@JsonProperty("id")
private Long id = null;
......
......@@ -25,7 +25,7 @@ import javax.validation.constraints.*;
/**
* IndexMemory
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class IndexMemory {
/**
* environment variable name
......
......@@ -23,7 +23,7 @@ import javax.validation.constraints.*;
/**
* Location
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class Location {
@JsonProperty("id")
private Long id = null;
......
......@@ -24,7 +24,7 @@ import javax.validation.constraints.*;
/**
* MeasurementConfig
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class MeasurementConfig {
@JsonProperty("interval")
private Integer interval = null;
......
......@@ -26,7 +26,7 @@ import javax.validation.constraints.*;
* configuration settings on node level
*/
@ApiModel(description = "configuration settings on node level")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class NodeConfiguration {
@JsonProperty("dataMemory")
private DataMemory dataMemory = null;
......
......@@ -27,7 +27,7 @@ import javax.validation.constraints.*;
/**
* NoiseyNeighbourScenario
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2019-11-26T12:37:55.291+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class NoiseyNeighbourScenario {
@JsonProperty("workloadNetwork")
private EvaluationNetwork workloadNetwork = null;
......
/*
* Mowgli Evaluation Orchestrator
* Evaluate the Performance/Scalability/Elasticity/Availability of distributed DBMS in the Cloud
*
* OpenAPI spec version: 0.1.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package de.uulm.omi.cloudiator.dbms.evaluator.model;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import de.uulm.omi.cloudiator.dbms.evaluator.model.DatabaseCluster;
import de.uulm.omi.cloudiator.dbms.evaluator.model.EvaluationNetwork;
import de.uulm.omi.cloudiator.dbms.evaluator.model.TPCCWorkload;
import de.uulm.omi.cloudiator.dbms.evaluator.model.WorkloadInstances;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.*;
/**
* PerformanceTPCC
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2020-03-04T13:06:39.426+01:00")
public class PerformanceTPCC {
@JsonProperty("workloadNetwork")
private EvaluationNetwork workloadNetwork = null;
@JsonProperty("dbmsNetwork")
private EvaluationNetwork dbmsNetwork = null;
@JsonProperty("dbmsSingle")
private DatabaseCluster dbmsSingle = null;
@JsonProperty("workload")
private TPCCWorkload workload = null;
@JsonProperty("workloadInstances")
private WorkloadInstances workloadInstances = null;
public PerformanceTPCC workloadNetwork(EvaluationNetwork workloadNetwork) {
this.workloadNetwork = workloadNetwork;
return this;
}
/**
* Get workloadNetwork
* @return workloadNetwork
**/
@JsonProperty("workloadNetwork")
@ApiModelProperty(value = "")
public EvaluationNetwork getWorkloadNetwork() {
return workloadNetwork;
}
public void setWorkloadNetwork(EvaluationNetwork workloadNetwork) {
this.workloadNetwork = workloadNetwork;
}
public PerformanceTPCC dbmsNetwork(EvaluationNetwork dbmsNetwork) {
this.dbmsNetwork = dbmsNetwork;
return this;
}
/**
* Get dbmsNetwork
* @return dbmsNetwork
**/
@JsonProperty("dbmsNetwork")
@ApiModelProperty(value = "")
public EvaluationNetwork getDbmsNetwork() {
return dbmsNetwork;
}
public void setDbmsNetwork(EvaluationNetwork dbmsNetwork) {
this.dbmsNetwork = dbmsNetwork;
}
public PerformanceTPCC dbmsSingle(DatabaseCluster dbmsSingle) {
this.dbmsSingle = dbmsSingle;
return this;
}
/**
* Get dbmsSingle
* @return dbmsSingle
**/
@JsonProperty("dbmsSingle")
@ApiModelProperty(value = "")
public DatabaseCluster getDbmsSingle() {
return dbmsSingle;
}
public void setDbmsSingle(DatabaseCluster dbmsSingle) {
this.dbmsSingle = dbmsSingle;
}
public PerformanceTPCC workload(TPCCWorkload workload) {
this.workload = workload;
return this;
}
/**
* Get workload
* @return workload
**/
@JsonProperty("workload")
@ApiModelProperty(value = "")
public TPCCWorkload getWorkload() {
return workload;
}
public void setWorkload(TPCCWorkload workload) {
this.workload = workload;
}
public PerformanceTPCC workloadInstances(WorkloadInstances workloadInstances) {
this.workloadInstances = workloadInstances;
return this;
}
/**
* Get workloadInstances
* @return workloadInstances
**/
@JsonProperty("workloadInstances")
@ApiModelProperty(value = "")
public WorkloadInstances getWorkloadInstances() {
return workloadInstances;
}
public void setWorkloadInstances(WorkloadInstances workloadInstances) {
this.workloadInstances = workloadInstances;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PerformanceTPCC performanceTPCC = (PerformanceTPCC) o;
return Objects.equals(this.workloadNetwork, performanceTPCC.workloadNetwork) &&
Objects.equals(this.dbmsNetwork, performanceTPCC.dbmsNetwork) &&
Objects.equals(this.dbmsSingle, performanceTPCC.dbmsSingle) &&
Objects.equals(this.workload, performanceTPCC.workload) &&
Objects.equals(this.workloadInstances, performanceTPCC.workloadInstances);
}
@Override
public int hashCode() {
return Objects.hash(workloadNetwork, dbmsNetwork, dbmsSingle, workload, workloadInstances);
}