Package eu.stratosphere.compiler.dataproperties

Examples of eu.stratosphere.compiler.dataproperties.RequestedGlobalProperties


      return DriverStrategy.NONE;
    }

    @Override
    protected List<GlobalPropertiesPair> createPossibleGlobalProperties() {
      RequestedGlobalProperties partitionedGp = new RequestedGlobalProperties();
      partitionedGp.setHashPartitioned(this.keys1);
      return Collections.singletonList(new GlobalPropertiesPair(partitionedGp, new RequestedGlobalProperties()));
    }
View Full Code Here


    return new SingleInputPlanNode(combinerNode, "Combine("+node.getPactContract().getName()+")", in, DriverStrategy.SORTED_GROUP_COMBINE, this.keyList);
  }

  @Override
  protected List<RequestedGlobalProperties> createPossibleGlobalProperties() {
    return Collections.singletonList(new RequestedGlobalProperties());
  }
View Full Code Here

    return new SingleInputPlanNode(node, "Filter ("+node.getPactContract().getName()+")", in, DriverStrategy.FLAT_MAP);
  }

  @Override
  protected List<RequestedGlobalProperties> createPossibleGlobalProperties() {
    return Collections.singletonList(new RequestedGlobalProperties());
  }
View Full Code Here

    return new SingleInputPlanNode(node, "FlatMap ("+node.getPactContract().getName()+")", in, DriverStrategy.FLAT_MAP);
  }

  @Override
  protected List<RequestedGlobalProperties> createPossibleGlobalProperties() {
    return Collections.singletonList(new RequestedGlobalProperties());
  }
View Full Code Here

  @Override
  protected List<GlobalPropertiesPair> createPossibleGlobalProperties() {
    ArrayList<GlobalPropertiesPair> pairs = new ArrayList<GlobalPropertiesPair>();
   
    { // partition both (hash)
      RequestedGlobalProperties partitioned1 = new RequestedGlobalProperties();
      partitioned1.setHashPartitioned(this.keys1);
      RequestedGlobalProperties partitioned2 = new RequestedGlobalProperties();
      partitioned2.setHashPartitioned(this.keys2);
      pairs.add(new GlobalPropertiesPair(partitioned1, partitioned2));
    }
    { // replicate second
      RequestedGlobalProperties any1 = new RequestedGlobalProperties();
      RequestedGlobalProperties replicated2 = new RequestedGlobalProperties();
      replicated2.setFullyReplicated();
      pairs.add(new GlobalPropertiesPair(any1, replicated2));
    }
    { // replicate first
      RequestedGlobalProperties replicated1 = new RequestedGlobalProperties();
      replicated1.setFullyReplicated();
      RequestedGlobalProperties any2 = new RequestedGlobalProperties();
      pairs.add(new GlobalPropertiesPair(replicated1, any2));
    }
    return pairs;
  }
View Full Code Here

    return new SingleInputPlanNode(node, "GroupReduce ("+node.getPactContract().getName()+")", in, DriverStrategy.ALL_GROUP_REDUCE);
  }

  @Override
  protected List<RequestedGlobalProperties> createPossibleGlobalProperties() {
    return Collections.singletonList(new RequestedGlobalProperties());
  }
View Full Code Here

    return new SingleInputPlanNode(node, "Map ("+node.getPactContract().getName()+")", in, DriverStrategy.COLLECTOR_MAP);
  }

  @Override
  protected List<RequestedGlobalProperties> createPossibleGlobalProperties() {
    return Collections.singletonList(new RequestedGlobalProperties());
  }
View Full Code Here

  }


  @Override
  protected List<RequestedGlobalProperties> createPossibleGlobalProperties() {
    return Collections.singletonList(new RequestedGlobalProperties());
  }
View Full Code Here

    }
  }

  @Override
  protected List<RequestedGlobalProperties> createPossibleGlobalProperties() {
    RequestedGlobalProperties props = new RequestedGlobalProperties();
    props.setAnyPartitioning(this.keys);
    return Collections.singletonList(props);
  }
View Full Code Here

    return new SingleInputPlanNode(node, "SolutionSet Delta", in, DriverStrategy.UNARY_NO_OP);
  }

  @Override
  protected List<RequestedGlobalProperties> createPossibleGlobalProperties() {
    RequestedGlobalProperties partProps = new RequestedGlobalProperties();
    partProps.setHashPartitioned(this.keyList);
    return Collections.singletonList(partProps);
  }
View Full Code Here

TOP

Related Classes of eu.stratosphere.compiler.dataproperties.RequestedGlobalProperties

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.