Package eu.stratosphere.compiler.operators

Examples of eu.stratosphere.compiler.operators.OperatorDescriptorDual


    // see if an internal hint dictates the strategy to use
    Configuration conf = getPactContract().getParameters();
    String localStrategy = conf.getString(PactCompiler.HINT_LOCAL_STRATEGY, null);

    if (localStrategy != null) {
      final OperatorDescriptorDual fixedDriverStrat;
      if (PactCompiler.HINT_LOCAL_STRATEGY_SORT_BOTH_MERGE.equals(localStrategy) ||
        PactCompiler.HINT_LOCAL_STRATEGY_SORT_FIRST_MERGE.equals(localStrategy) ||
        PactCompiler.HINT_LOCAL_STRATEGY_SORT_SECOND_MERGE.equals(localStrategy) ||
        PactCompiler.HINT_LOCAL_STRATEGY_MERGE.equals(localStrategy) )
      {
View Full Code Here


      return list;
    }
  }
 
  public void makeJoinWithSolutionSet(int solutionsetInputIndex) {
    OperatorDescriptorDual op;
    if (solutionsetInputIndex == 0) {
      op = new HashJoinBuildFirstProperties(this.keys1, this.keys2);
    } else if (solutionsetInputIndex == 1) {
      op = new HashJoinBuildSecondProperties(this.keys1, this.keys2);
    } else {
View Full Code Here

   
    Configuration conf = operation.getParameters();
    String localStrategy = conf.getString(PactCompiler.HINT_LOCAL_STRATEGY, null);
 
    if (localStrategy != null) {
      final OperatorDescriptorDual fixedDriverStrat;
      if (PactCompiler.HINT_LOCAL_STRATEGY_NESTEDLOOP_BLOCKED_OUTER_FIRST.equals(localStrategy)) {
        fixedDriverStrat = new CrossBlockOuterFirstDescriptor(allowBCfirst, allowBCsecond);
      } else if (PactCompiler.HINT_LOCAL_STRATEGY_NESTEDLOOP_BLOCKED_OUTER_SECOND.equals(localStrategy)) {
        fixedDriverStrat = new CrossBlockOuterSecondDescriptor(allowBCfirst, allowBCsecond);
      } else if (PactCompiler.HINT_LOCAL_STRATEGY_NESTEDLOOP_STREAMED_OUTER_FIRST.equals(localStrategy)) {
View Full Code Here

    l.add(new CoGroupDescriptor(this.keys1, this.keys2, groupOrder1, groupOrder2));
    return l;
  }
 
  public void makeCoGroupWithSolutionSet(int solutionsetInputIndex) {
    OperatorDescriptorDual op;
    if (solutionsetInputIndex == 0) {
      op = new CoGroupWithSolutionSetFirstDescriptor(keys1, keys2);
    } else if (solutionsetInputIndex == 1) {
      op = new CoGroupWithSolutionSetSecondDescriptor(keys1, keys2);
    } else {
View Full Code Here

TOP

Related Classes of eu.stratosphere.compiler.operators.OperatorDescriptorDual

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.