@Override
 protected void describe() {
   MasterJoinFlowFactory f = new MasterJoinFlowFactory();
   RenameKey join = f.renameKey(in1, in2);
   out1.add(join.joined);
   out2.add(join.missed);
 }
Ejemplo n.º 2
0
 @Override
 protected void describe() {
   CoGroupFlowFactory f = new CoGroupFlowFactory();
   Op2 op = f.op2(in1, in2);
   out1.add(op.r1);
   out2.add(op.r2);
 }
Ejemplo n.º 3
0
 @Override
 protected void describe() {
   MasterJoinFlowFactory f = new MasterJoinFlowFactory();
   Split op = f.split(in1);
   out1.add(op.ex1);
   out2.add(op.ex2);
 }
 @Override
 protected void describe() {
   MasterJoinUpdateFlowFactory f = new MasterJoinUpdateFlowFactory();
   WithParameter op = f.withParameter(in2, in1, 100);
   out1.add(op.updated);
   out2.add(op.missed);
 }
Ejemplo n.º 5
0
 @Override
 protected void describe() {
   ExtractFlowFactory f = new ExtractFlowFactory();
   Op2 op = f.op2(in1);
   out1.add(op.r1);
   out2.add(op.r2);
 }
 @Override
 protected void describe() {
   BranchFlowFactory f = new BranchFlowFactory();
   WithParameter op = f.withParameter(in1, 50);
   outHigh.add(op.high);
   outLow.add(op.low);
   outStop.add(op.stop);
 }
 @Override
 protected void describe() {
   FoldFlowFactory folds = new FoldFlowFactory();
   UpdateFlowFactory updates = new UpdateFlowFactory();
   FoldFlowFactory.Simple fold = folds.simple(in1);
   UpdateFlowFactory.Simple update = updates.simple(fold.out);
   out1.add(update.out);
 }
Ejemplo n.º 8
0
 @Override
 protected void describe() {
   out.add(in);
 }
Ejemplo n.º 9
0
 @Override
 protected void describe() {
   CoreOperatorFactory core = new CoreOperatorFactory();
   Project<Ex2> project = core.project(in, Ex2.class);
   out.add(project);
 }
 @Override
 protected void describe() {
   LoggingFlowFactory f = new LoggingFlowFactory();
   WithParameter op = f.withParameter(in1, "HELLO");
   out1.add(op.out);
 }
Ejemplo n.º 11
0
 @Override
 protected void describe() {
   ExOperatorFactory op = new ExOperatorFactory();
   Update result = op.update(input, 100);
   output.add(result.out);
 }
Ejemplo n.º 12
0
 @Override
 protected void describe() {
   UpdateFlowFactory f = new UpdateFlowFactory();
   WithParameter op = f.withParameter(in, 3);
   out.add(op.out);
 }