Tabnine Logo
HashLeftOuterJoinBuildFirstDescriptor.<init>
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using org.apache.flink.optimizer.operators.HashLeftOuterJoinBuildFirstDescriptor.<init> (Showing top 5 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: 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

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

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

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<init>

Popular methods of HashLeftOuterJoinBuildFirstDescriptor

  • getStrategy

Popular in Java

  • Reading from database using SQL prepared statement
  • getSystemService (Context)
  • getApplicationContext (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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