Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
theodolite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Commits
909f29a8
Commit
909f29a8
authored
2 years ago
by
Lorenz Boguhn
Browse files
Options
Downloads
Patches
Plain Diff
HazelcastJet: uc4 fix codestyle
parent
43dc6db3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!275
Refactor hazelcast jet benchmarks:
Pipeline
#8686
passed
2 years ago
Stage: build
Stage: test
Stage: check
Stage: smoketest
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theodolite-benchmarks/uc4-hazelcastjet/src/main/java/rocks/theodolite/benchmarks/uc4/hazelcastjet/Uc4PipelineFactory.java
+10
-5
10 additions, 5 deletions
...olite/benchmarks/uc4/hazelcastjet/Uc4PipelineFactory.java
with
10 additions
and
5 deletions
theodolite-benchmarks/uc4-hazelcastjet/src/main/java/rocks/theodolite/benchmarks/uc4/hazelcastjet/Uc4PipelineFactory.java
+
10
−
5
View file @
909f29a8
...
...
@@ -22,17 +22,21 @@ import java.util.Map;
import
java.util.Map.Entry
;
import
java.util.Properties
;
import
java.util.Set
;
import
rocks.theodolite.benchmarks.commons.configuration.events.Event
;
import
rocks.theodolite.benchmarks.commons.hazelcastjet.PipelineFactory
;
import
rocks.theodolite.benchmarks.commons.model.records.ActivePowerRecord
;
import
rocks.theodolite.benchmarks.commons.model.records.AggregatedActivePowerRecord
;
import
rocks.theodolite.benchmarks.commons.model.sensorregistry.SensorRegistry
;
import
rocks.theodolite.benchmarks.uc4.hazelcastjet.uc4specifics.AggregatedActivePowerRecordAccumulator
;
import
rocks.theodolite.benchmarks.uc4.hazelcastjet.uc4specifics.ChildParentsTransformer
;
import
rocks.theodolite.benchmarks.uc4.hazelcastjet.uc4specifics.SensorGroupKey
;
import
rocks.theodolite.benchmarks.uc4.hazelcastjet.uc4specifics.ValueGroup
;
import
rocks.theodolite.benchmarks.commons.configuration.events.Event
;
import
rocks.theodolite.benchmarks.commons.model.records.ActivePowerRecord
;
import
rocks.theodolite.benchmarks.commons.model.records.AggregatedActivePowerRecord
;
import
rocks.theodolite.benchmarks.commons.model.sensorregistry.SensorRegistry
;
/**
* PipelineFactory for use case 4.
* Allows to build and extend pipelines.
*/
public
class
Uc4PipelineFactory
extends
PipelineFactory
{
private
static
final
String
SENSOR_PARENT_MAP_NAME
=
"SensorParentMap"
;
...
...
@@ -87,6 +91,7 @@ public class Uc4PipelineFactory extends PipelineFactory {
* @return a pipeline used which can be used in a Hazelcast Jet Instance to process data
* for UC4.
*/
@Override
public
Pipeline
buildPipeline
()
{
// Sources for this use case
...
...
@@ -146,7 +151,7 @@ public class Uc4PipelineFactory extends PipelineFactory {
* according aggregated values. The data can be further modified or directly be linked to
* a Hazelcast Jet sink.
*/
public
StreamStage
public
StreamStage
// NOPMD
<
Map
.
Entry
<
String
,
AggregatedActivePowerRecord
>>
extendUc4Topology
(
final
StreamSource
<
Map
.
Entry
<
String
,
ActivePowerRecord
>>
inputSource
,
final
StreamSource
<
Map
.
Entry
<
String
,
AggregatedActivePowerRecord
>>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment