Skip to content
Snippets Groups Projects
Commit 86aff281 authored by Sören Henning's avatar Sören Henning
Browse files

Refactor package names for Beam

parent 9b5ebf1f
No related branches found
No related tags found
1 merge request!249Align package structure among all benchmark implementations
Pipeline #6775 canceled
Showing
with 36 additions and 32 deletions
package application.firestore;
package rocks.theodolite.benchmarks.uc1.beam.firestore;
import com.google.cloud.firestore.DocumentSnapshot;
import com.google.firestore.v1.Document;
......
package application.firestore;
package rocks.theodolite.benchmarks.uc1.beam.firestore;
import com.google.firestore.v1.Document;
import com.google.firestore.v1.Write;
......
......@@ -16,4 +16,4 @@ sourceSets {
}
}
mainClassName = "application.Uc2BeamFlink"
mainClassName = "rocks.theodolite.benchmarks.uc2.beam.flink.Uc2BeamFlink"
package application;
package rocks.theodolite.benchmarks.uc2.beam.flink;
import org.apache.beam.runners.flink.FlinkRunner;
import theodolite.commons.beam.BeamService;
import rocks.theodolite.benchmarks.commons.beam.BeamService;
import rocks.theodolite.benchmarks.uc2.beam.PipelineFactory;
/**
* Implementation of the use case Downsampling using Apache Beam with the Flink Runner. To execute
......
......@@ -16,4 +16,4 @@ sourceSets {
}
}
mainClassName = "application.Uc2BeamSamza"
mainClassName = "rocks.theodolite.benchmarks.uc2.beam.samza.Uc2BeamSamza"
package application;
package rocks.theodolite.benchmarks.uc2.beam.samza;
import org.apache.beam.runners.samza.SamzaRunner;
import theodolite.commons.beam.BeamService;
import rocks.theodolite.benchmarks.commons.beam.BeamService;
import rocks.theodolite.benchmarks.uc2.beam.PipelineFactory;
/**
* Implementation of the use case Downsampling using Apache Beam with the Samza Runner. To run
......
package application;
package rocks.theodolite.benchmarks.uc2.beam;
import com.google.common.math.Stats;
import com.google.common.math.StatsAccumulator;
......@@ -18,10 +18,10 @@ import org.apache.beam.sdk.values.KV;
import org.apache.commons.configuration2.Configuration;
import org.apache.kafka.common.serialization.StringSerializer;
import org.joda.time.Duration;
import theodolite.commons.beam.AbstractPipelineFactory;
import theodolite.commons.beam.ConfigurationKeys;
import theodolite.commons.beam.kafka.KafkaActivePowerTimestampReader;
import theodolite.commons.beam.kafka.KafkaWriterTransformation;
import rocks.theodolite.benchmarks.commons.beam.AbstractPipelineFactory;
import rocks.theodolite.benchmarks.commons.beam.ConfigurationKeys;
import rocks.theodolite.benchmarks.commons.beam.kafka.KafkaActivePowerTimestampReader;
import rocks.theodolite.benchmarks.commons.beam.kafka.KafkaWriterTransformation;
import titan.ccp.model.records.ActivePowerRecord;
/**
......
package application;
package rocks.theodolite.benchmarks.uc2.beam;
import com.google.common.math.Stats;
import com.google.common.math.StatsAccumulator;
......
package application;
package rocks.theodolite.benchmarks.uc2.beam;
import com.google.common.math.Stats;
import org.apache.beam.sdk.transforms.SimpleFunction;
......
......@@ -16,4 +16,4 @@ sourceSets {
}
}
mainClassName = 'application.Uc3BeamFlink'
mainClassName = 'rocks.theodolite.benchmarks.uc3.beam.flink.Uc3BeamFlink'
package application;
package rocks.theodolite.benchmarks.uc3.beam.flink;
import org.apache.beam.runners.flink.FlinkRunner;
import theodolite.commons.beam.BeamService;
import rocks.theodolite.benchmarks.commons.beam.BeamService;
import rocks.theodolite.benchmarks.uc3.beam.PipelineFactory;
/**
* Implementation of the use case Aggregation based on Time Attributes using Apache Beam with the
......
......@@ -16,4 +16,4 @@ sourceSets {
}
}
mainClassName = "application.Uc3BeamSamza"
mainClassName = "rocks.theodolite.benchmarks.uc3.beam.samza.Uc3BeamSamza"
package application;
package rocks.theodolite.benchmarks.uc3.beam.samza;
import org.apache.beam.runners.samza.SamzaRunner;
import theodolite.commons.beam.BeamService;
import rocks.theodolite.benchmarks.commons.beam.BeamService;
import rocks.theodolite.benchmarks.uc3.beam.PipelineFactory;
/**
* Implementation of the use case Aggregation based on Time Attributes using Apache Beam with the
......
package application;
package rocks.theodolite.benchmarks.uc3.beam;
import org.apache.beam.sdk.coders.AvroCoder;
import org.apache.beam.sdk.coders.DefaultCoder;
......
package application;
package rocks.theodolite.benchmarks.uc3.beam;
import java.io.Serializable;
import java.time.LocalDateTime;
......
package application;
package rocks.theodolite.benchmarks.uc3.beam;
import org.apache.kafka.common.serialization.Serde;
import titan.ccp.common.kafka.simpleserdes.BufferSerde;
......
package application;
package rocks.theodolite.benchmarks.uc3.beam;
import com.google.common.math.Stats;
import org.apache.beam.sdk.transforms.SimpleFunction;
......
package application;
package rocks.theodolite.benchmarks.uc3.beam;
import java.io.IOException;
import java.io.InputStream;
......
package application;
package rocks.theodolite.benchmarks.uc3.beam;
import java.time.Instant;
import java.time.LocalDateTime;
......
package application;
package rocks.theodolite.benchmarks.uc3.beam;
import com.google.common.math.Stats;
import com.google.common.math.StatsAccumulator;
......@@ -19,10 +19,10 @@ import org.apache.beam.sdk.values.KV;
import org.apache.commons.configuration2.Configuration;
import org.apache.kafka.common.serialization.StringSerializer;
import org.joda.time.Duration;
import theodolite.commons.beam.AbstractPipelineFactory;
import theodolite.commons.beam.ConfigurationKeys;
import theodolite.commons.beam.kafka.KafkaActivePowerTimestampReader;
import theodolite.commons.beam.kafka.KafkaWriterTransformation;
import rocks.theodolite.benchmarks.commons.beam.AbstractPipelineFactory;
import rocks.theodolite.benchmarks.commons.beam.ConfigurationKeys;
import rocks.theodolite.benchmarks.commons.beam.kafka.KafkaActivePowerTimestampReader;
import rocks.theodolite.benchmarks.commons.beam.kafka.KafkaWriterTransformation;
import titan.ccp.model.records.ActivePowerRecord;
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment