Package eu.stratosphere.api.java.record.operators

Examples of eu.stratosphere.api.java.record.operators.GenericDataSink


    JoinOperator matcher = JoinOperator.builder(DelayingMatcher.class, IntValue.class, 0, 0)
      .input1(source1)
      .input2(source2)
      .name("Long Cancelling Sort Join")
      .build();
    GenericDataSink sink = new GenericDataSink(new DiscardingOutputFormat(), matcher, "Sink");
   
    Plan p = new Plan(sink);
    p.setDefaultParallelism(4);
   
    runAndCancelJob(p, 10 * 1000, 20 * 1000);
 
View Full Code Here


    JoinOperator matcher = JoinOperator.builder(LongCancelTimeMatcher.class, IntValue.class, 0, 0)
      .input1(source1)
      .input2(source2)
      .name("Long Cancelling Sort Join")
      .build();
    GenericDataSink sink = new GenericDataSink(new DiscardingOutputFormat(), matcher, "Sink");
   
    Plan p = new Plan(sink);
    p.setDefaultParallelism(4);
   
    runAndCancelJob(p, 10 * 1000, 10 * 1000);
 
View Full Code Here

    JoinOperator matcher = JoinOperator.builder(new SimpleMatcher(), IntValue.class, 0, 0)
      .input1(source1)
      .input2(source2)
      .name("Sort Join")
      .build();
    GenericDataSink sink = new GenericDataSink(new DiscardingOutputFormat(), matcher, "Sink");
   
    Plan p = new Plan(sink);
    p.setDefaultParallelism(64);
   
    runAndCancelJob(p, 3000, 20*1000);
 
View Full Code Here

        .input(source).name("le mapper").build();
   
    ReduceOperator reducer = ReduceOperator.builder(new ConcatenatingReducer(), IntValue.class, 1)
        .input(mapper).name("le reducer").build();
   
    GenericDataSink sink = new GenericDataSink(PrintingOutputFormat.class, reducer);
   
    Plan p = new Plan(sink);
    p.setDefaultParallelism(4);
   
    LocalExecutor.execute(p);
View Full Code Here

TOP

Related Classes of eu.stratosphere.api.java.record.operators.GenericDataSink

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.