congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
HashLeftOuterJoinBuildFirstDescriptor
Code IndexAdd Tabnine to your IDE (free)

How to use
HashLeftOuterJoinBuildFirstDescriptor
in
org.apache.flink.optimizer.operators

Best Java code snippets using org.apache.flink.optimizer.operators.HashLeftOuterJoinBuildFirstDescriptor (Showing top 10 results out of 315)

origin: apache/flink

private List<OperatorDescriptorDual> createLeftOuterJoinDescriptors(JoinHint hint) {
  List<OperatorDescriptorDual> list = new ArrayList<>();
  switch (hint) {
    case OPTIMIZER_CHOOSES:
      list.add(new SortMergeLeftOuterJoinDescriptor(this.keys1, this.keys2, true));
      list.add(new HashLeftOuterJoinBuildSecondDescriptor(this.keys1, this.keys2, true, true));
      break;
    case REPARTITION_SORT_MERGE:
      list.add(new SortMergeLeftOuterJoinDescriptor(this.keys1, this.keys2, false));
      break;
    case REPARTITION_HASH_SECOND:
      list.add(new HashLeftOuterJoinBuildSecondDescriptor(this.keys1, this.keys2, false, true));
      break;
    case BROADCAST_HASH_SECOND:
      list.add(new HashLeftOuterJoinBuildSecondDescriptor(this.keys1, this.keys2, true, false));
      break;
    case REPARTITION_HASH_FIRST:
      list.add(new HashLeftOuterJoinBuildFirstDescriptor(this.keys1, this.keys2, false, true));
      break;
    case BROADCAST_HASH_FIRST:
    default:
      throw new CompilerException("Invalid join hint: " + hint + " for left outer join");
  }
  return list;
}
origin: apache/flink

@Override
public DualInputPlanNode instantiate(Channel in1, Channel in2, TwoInputNode node) {
  String nodeName = "LeftOuterJoin ("+node.getOperator().getName()+")";
  return new DualInputPlanNode(node, nodeName, in1, in2, getStrategy(), this.keys1, this.keys2);
}
origin: org.apache.flink/flink-optimizer_2.11

@Override
public DualInputPlanNode instantiate(Channel in1, Channel in2, TwoInputNode node) {
  String nodeName = "LeftOuterJoin ("+node.getOperator().getName()+")";
  return new DualInputPlanNode(node, nodeName, in1, in2, getStrategy(), this.keys1, this.keys2);
}
origin: com.alibaba.blink/flink-optimizer

private List<OperatorDescriptorDual> createLeftOuterJoinDescriptors(JoinHint hint) {
  List<OperatorDescriptorDual> list = new ArrayList<>();
  switch (hint) {
    case OPTIMIZER_CHOOSES:
      list.add(new SortMergeLeftOuterJoinDescriptor(this.keys1, this.keys2, true));
      list.add(new HashLeftOuterJoinBuildSecondDescriptor(this.keys1, this.keys2, true, true));
      break;
    case REPARTITION_SORT_MERGE:
      list.add(new SortMergeLeftOuterJoinDescriptor(this.keys1, this.keys2, false));
      break;
    case REPARTITION_HASH_SECOND:
      list.add(new HashLeftOuterJoinBuildSecondDescriptor(this.keys1, this.keys2, false, true));
      break;
    case BROADCAST_HASH_SECOND:
      list.add(new HashLeftOuterJoinBuildSecondDescriptor(this.keys1, this.keys2, true, false));
      break;
    case REPARTITION_HASH_FIRST:
      list.add(new HashLeftOuterJoinBuildFirstDescriptor(this.keys1, this.keys2, false, true));
      break;
    case BROADCAST_HASH_FIRST:
    default:
      throw new CompilerException("Invalid join hint: " + hint + " for left outer join");
  }
  return list;
}
origin: org.apache.flink/flink-optimizer

@Override
public DualInputPlanNode instantiate(Channel in1, Channel in2, TwoInputNode node) {
  String nodeName = "LeftOuterJoin ("+node.getOperator().getName()+")";
  return new DualInputPlanNode(node, nodeName, in1, in2, getStrategy(), this.keys1, this.keys2);
}
origin: org.apache.flink/flink-optimizer_2.11

private List<OperatorDescriptorDual> createLeftOuterJoinDescriptors(JoinHint hint) {
  List<OperatorDescriptorDual> list = new ArrayList<>();
  switch (hint) {
    case OPTIMIZER_CHOOSES:
      list.add(new SortMergeLeftOuterJoinDescriptor(this.keys1, this.keys2, true));
      list.add(new HashLeftOuterJoinBuildSecondDescriptor(this.keys1, this.keys2, true, true));
      break;
    case REPARTITION_SORT_MERGE:
      list.add(new SortMergeLeftOuterJoinDescriptor(this.keys1, this.keys2, false));
      break;
    case REPARTITION_HASH_SECOND:
      list.add(new HashLeftOuterJoinBuildSecondDescriptor(this.keys1, this.keys2, false, true));
      break;
    case BROADCAST_HASH_SECOND:
      list.add(new HashLeftOuterJoinBuildSecondDescriptor(this.keys1, this.keys2, true, false));
      break;
    case REPARTITION_HASH_FIRST:
      list.add(new HashLeftOuterJoinBuildFirstDescriptor(this.keys1, this.keys2, false, true));
      break;
    case BROADCAST_HASH_FIRST:
    default:
      throw new CompilerException("Invalid join hint: " + hint + " for left outer join");
  }
  return list;
}
origin: com.alibaba.blink/flink-optimizer

@Override
public DualInputPlanNode instantiate(Channel in1, Channel in2, TwoInputNode node) {
  String nodeName = "LeftOuterJoin ("+node.getOperator().getName()+")";
  return new DualInputPlanNode(node, nodeName, in1, in2, getStrategy(), this.keys1, this.keys2);
}
origin: org.apache.flink/flink-optimizer

private List<OperatorDescriptorDual> createLeftOuterJoinDescriptors(JoinHint hint) {
  List<OperatorDescriptorDual> list = new ArrayList<>();
  switch (hint) {
    case OPTIMIZER_CHOOSES:
      list.add(new SortMergeLeftOuterJoinDescriptor(this.keys1, this.keys2, true));
      list.add(new HashLeftOuterJoinBuildSecondDescriptor(this.keys1, this.keys2, true, true));
      break;
    case REPARTITION_SORT_MERGE:
      list.add(new SortMergeLeftOuterJoinDescriptor(this.keys1, this.keys2, false));
      break;
    case REPARTITION_HASH_SECOND:
      list.add(new HashLeftOuterJoinBuildSecondDescriptor(this.keys1, this.keys2, false, true));
      break;
    case BROADCAST_HASH_SECOND:
      list.add(new HashLeftOuterJoinBuildSecondDescriptor(this.keys1, this.keys2, true, false));
      break;
    case REPARTITION_HASH_FIRST:
      list.add(new HashLeftOuterJoinBuildFirstDescriptor(this.keys1, this.keys2, false, true));
      break;
    case BROADCAST_HASH_FIRST:
    default:
      throw new CompilerException("Invalid join hint: " + hint + " for left outer join");
  }
  return list;
}
origin: org.apache.flink/flink-optimizer_2.10

@Override
public DualInputPlanNode instantiate(Channel in1, Channel in2, TwoInputNode node) {
  String nodeName = "LeftOuterJoin("+node.getOperator().getName()+")";
  return new DualInputPlanNode(node, nodeName, in1, in2, getStrategy(), this.keys1, this.keys2);
}
origin: org.apache.flink/flink-optimizer_2.10

private List<OperatorDescriptorDual> createLeftOuterJoinDescriptors(JoinHint hint) {
  List<OperatorDescriptorDual> list = new ArrayList<>();
  switch (hint) {
    case OPTIMIZER_CHOOSES:
      list.add(new SortMergeLeftOuterJoinDescriptor(this.keys1, this.keys2, true));
      list.add(new HashLeftOuterJoinBuildSecondDescriptor(this.keys1, this.keys2, true, true));
      break;
    case REPARTITION_SORT_MERGE:
      list.add(new SortMergeLeftOuterJoinDescriptor(this.keys1, this.keys2, false));
      break;
    case REPARTITION_HASH_SECOND:
      list.add(new HashLeftOuterJoinBuildSecondDescriptor(this.keys1, this.keys2, false, true));
      break;
    case BROADCAST_HASH_SECOND:
      list.add(new HashLeftOuterJoinBuildSecondDescriptor(this.keys1, this.keys2, true, false));
      break;
    case REPARTITION_HASH_FIRST:
      list.add(new HashLeftOuterJoinBuildFirstDescriptor(this.keys1, this.keys2, false, true));
      break;
    case BROADCAST_HASH_FIRST:
    default:
      throw new CompilerException("Invalid join hint: " + hint + " for left outer join");
  }
  return list;
}
org.apache.flink.optimizer.operatorsHashLeftOuterJoinBuildFirstDescriptor

Most used methods

  • <init>
  • getStrategy

Popular in Java

  • Start an intent from android
  • setRequestProperty (URLConnection)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onRequestPermissionsResult (Fragment)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Runner (org.openjdk.jmh.runner)
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now