Package eu.stratosphere.test.recordJobs.util

Examples of eu.stratosphere.test.recordJobs.util.UniformIntInput


  }
 
//  @Test
  public void testCancelSortMatchWhileDoingHeavySorting() throws Exception {
    GenericDataSource<UniformIntInput> source1 =
      new GenericDataSource<UniformIntInput>(new UniformIntInput(), "Source 1");
    source1.setParameter(UniformIntInput.NUM_KEYS_KEY, 50000);
    source1.setParameter(UniformIntInput.NUM_VALUES_KEY, 100);

    GenericDataSource<UniformIntInput> source2 =
      new GenericDataSource<UniformIntInput>(new UniformIntInput(), "Source 2");
    source2.setParameter(UniformIntInput.NUM_KEYS_KEY, 50000);
    source2.setParameter(UniformIntInput.NUM_VALUES_KEY, 100);
   
    JoinOperator matcher = JoinOperator.builder(SimpleMatcher.class, IntValue.class, 0, 0)
      .input1(source1)
View Full Code Here


  // --------------- Test Sort Matches that are canceled while in the Matching Phase -----------------
 
//  @Test
  public void testCancelSortMatchWhileJoining() throws Exception {
    GenericDataSource<UniformIntInput> source1 =
      new GenericDataSource<UniformIntInput>(new UniformIntInput(), "Source 1");
    source1.setParameter(UniformIntInput.NUM_KEYS_KEY, 500);
    source1.setParameter(UniformIntInput.NUM_VALUES_KEY, 3);

    GenericDataSource<UniformIntInput> source2 =
      new GenericDataSource<UniformIntInput>(new UniformIntInput(), "Source 2");
    source2.setParameter(UniformIntInput.NUM_KEYS_KEY, 500);
    source2.setParameter(UniformIntInput.NUM_VALUES_KEY, 3);
   
    JoinOperator matcher = JoinOperator.builder(DelayingMatcher.class, IntValue.class, 0, 0)
      .input1(source1)
View Full Code Here

 
//  @Test
  public void testCancelSortMatchWithLongCancellingResponse() throws Exception {
   
    GenericDataSource<UniformIntInput> source1 =
      new GenericDataSource<UniformIntInput>(new UniformIntInput(), "Source 1");
    source1.setParameter(UniformIntInput.NUM_KEYS_KEY, 500);
    source1.setParameter(UniformIntInput.NUM_VALUES_KEY, 3);

    GenericDataSource<UniformIntInput> source2 =
      new GenericDataSource<UniformIntInput>(new UniformIntInput(), "Source 2");
    source2.setParameter(UniformIntInput.NUM_KEYS_KEY, 500);
    source2.setParameter(UniformIntInput.NUM_VALUES_KEY, 3);
   
    JoinOperator matcher = JoinOperator.builder(LongCancelTimeMatcher.class, IntValue.class, 0, 0)
      .input1(source1)
View Full Code Here

TOP

Related Classes of eu.stratosphere.test.recordJobs.util.UniformIntInput

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.