Package eu.stratosphere.compiler.dataproperties

Examples of eu.stratosphere.compiler.dataproperties.RequestedLocalProperties


    this.nextPartialSolution.accept(new InterestingPropertyVisitor(estimator));
   
    // now add the interesting properties of the partial solution to the input
    final InterestingProperties inProps = this.partialSolution.getInterestingProperties().clone();
    inProps.addGlobalProperties(new RequestedGlobalProperties());
    inProps.addLocalProperties(new RequestedLocalProperties());
    this.inConn.setInterestingProperties(inProps);
  }
View Full Code Here


  @Override
  protected List<LocalPropertiesPair> createPossibleLocalProperties() {
    // all properties are possible
    return Collections.singletonList(new LocalPropertiesPair(
      new RequestedLocalProperties(), new RequestedLocalProperties()));
  }
View Full Code Here

    return Collections.singletonList(new RequestedGlobalProperties());
  }

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

   
    // if no other properties exist, add the pruned trivials back
    if (props.getGlobalProperties().isEmpty()) {
      props.addGlobalProperties(new RequestedGlobalProperties());
    }
    props.addLocalProperties(new RequestedLocalProperties());
    this.input1.setInterestingProperties(props.clone());
    this.input2.setInterestingProperties(props.clone());
   
    this.channelProps = props.getGlobalProperties();
  }
View Full Code Here

    }
   
    final ArrayList<PlanNode> outputPlans = new ArrayList<PlanNode>();
   
    final BinaryUnionOpDescriptor operator = new BinaryUnionOpDescriptor();
    final RequestedLocalProperties noLocalProps = new RequestedLocalProperties();
   
    final int dop = getDegreeOfParallelism();
    final int subPerInstance = getSubtasksPerInstance();
    final int numInstances = dop / subPerInstance + (dop % subPerInstance == 0 ? 0 : 1);
    final int inDop1 = getFirstPredecessorNode().getDegreeOfParallelism();
View Full Code Here

    return Collections.singletonList(new RequestedGlobalProperties());
  }

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

    super(keys1, keys2);
  }
 
  @Override
  protected List<LocalPropertiesPair> createPossibleLocalProperties() {
    RequestedLocalProperties sort = new RequestedLocalProperties(Utils.createOrdering(this.keys1));
    RequestedLocalProperties none = new RequestedLocalProperties();
    return Collections.singletonList(new LocalPropertiesPair(sort, none));
  }
View Full Code Here

    return Collections.singletonList(new RequestedGlobalProperties());
  }

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

      iProps.addGlobalProperties(partitioningProps);
    }
   
    {
      final Ordering localOrder = getPactContract().getLocalOrder();
      final RequestedLocalProperties orderProps = new RequestedLocalProperties();
      if (localOrder != null) {
        orderProps.setOrdering(localOrder);
      }
      iProps.addLocalProperties(orderProps);
    }
   
    this.input.setInterestingProperties(iProps);
View Full Code Here

    return Collections.singletonList(new GlobalPropertiesPair(partitioned1, partitioned2));
  }
 
  @Override
  protected List<LocalPropertiesPair> createPossibleLocalProperties() {
    RequestedLocalProperties sort1 = new RequestedLocalProperties(this.ordering1);
    RequestedLocalProperties sort2 = new RequestedLocalProperties(this.ordering2);
    return Collections.singletonList(new LocalPropertiesPair(sort1, sort2));
  }
View Full Code Here

TOP

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

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.