congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
CompilerPostPassException.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.flink.optimizer.CompilerPostPassException
constructor

Best Java code snippets using org.apache.flink.optimizer.CompilerPostPassException.<init> (Showing top 9 results out of 315)

origin: apache/flink

throw new CompilerPostPassException("Unknown node type encountered: " + node.getClass().getName());
origin: org.apache.flink/flink-optimizer_2.10

private void addSchemaToSchema(T sourceSchema, T targetSchema, String opName) {
  try {
    for (Map.Entry<Integer, X> entry : sourceSchema) {
      Integer pos = entry.getKey();
      targetSchema.addType(pos, entry.getValue());
    }
  } catch (ConflictingFieldTypeInfoException e) {
    throw new CompilerPostPassException("Conflicting type information for field " + e.getFieldNumber()
      + " in node '" + opName + "' propagated from successor node. " +
      "Conflicting types: " + e.getPreviousType() + " and " + e.getNewType() +
      ". Most probable cause: Invalid constant field annotations.");
  }
}

origin: org.apache.flink/flink-optimizer_2.10

private TypeSerializerFactory<?> createSerializer(T schema, PlanNode node) {
  try {
    return createSerializer(schema);
  } catch (MissingFieldTypeInfoException e) {
    throw new CompilerPostPassException("Missing type information while creating serializer for '" +
        node.getProgramOperator().getName() + "'.");
  }
}

origin: org.apache.flink/flink-optimizer_2.10

private void addSchemaToSchema(T sourceSchema, T targetSchema, OptimizerNode optNode, int input) {
  try {
    for (Map.Entry<Integer, X> entry : sourceSchema) {
      Integer pos = entry.getKey();
      SemanticProperties sprops = optNode.getSemanticProperties();
      if (sprops != null && sprops.getForwardingTargetFields(input, pos) != null && sprops.getForwardingTargetFields(input, pos).contains(pos)) {
        targetSchema.addType(pos, entry.getValue());
      }
    }
  } catch (ConflictingFieldTypeInfoException e) {
    throw new CompilerPostPassException("Conflicting type information for field " + e.getFieldNumber()
      + " in node '" + optNode.getOperator().getName() + "' propagated from successor node. " +
      "Conflicting types: " + e.getPreviousType() + " and " + e.getNewType() +
      ". Most probable cause: Invalid constant field annotations.");
  }
}

origin: org.apache.flink/flink-optimizer_2.10

  throw new CompilerPostPassException("Conflicting type infomation for the data sink '" +
      sn.getSinkNode().getOperator().getName() + "'.");
  throw new CompilerPostPassException("Missing type infomation for the channel that inputs to the data sink '" +
      sn.getSinkNode().getOperator().getName() + "'.");
  propagateToChannel(schema, iterationNode.getInput(), createUtilities);
} catch (MissingFieldTypeInfoException e) {
  throw new CompilerPostPassException("Could not set up runtime strategy for input channel to node '"
    + iterationNode.getProgramOperator().getName() + "'. Missing type information for key field " +
    e.getFieldNumber());
  throw new CompilerPostPassException("Conflicting type information for field " + e.getFieldNumber()
    + " in node '" + iterationNode.getProgramOperator().getName() + "'. Contradicting types between the " +
    "result of the iteration and the solution set schema: " + e.getPreviousType() + 
    iterationNode.setSolutionSetComparator(createComparator(optNode.getSolutionSetKeyFields(), null, sss));
  } catch (MissingFieldTypeInfoException ex) {
    throw new CompilerPostPassException("Could not set up the solution set for workset iteration '" + 
        optNode.getOperator().getName() + "'. Missing type information for key field " + ex.getFieldNumber() + '.');
  propagateToChannel(wss, iterationNode.getInitialWorksetInput(), createUtilities);
} catch (MissingFieldTypeInfoException ex) {
  throw new CompilerPostPassException("Could not set up runtime strategy for input channel to node '"
    + iterationNode.getProgramOperator().getName() + "'. Missing type information for key field " +
    ex.getFieldNumber());
  getSingleInputNodeSchema(sn, schema);
} catch (ConflictingFieldTypeInfoException e) {
origin: org.apache.flink/flink-optimizer_2.10

throw new CompilerPostPassException("Unknown node type encountered: " + node.getClass().getName());
origin: org.apache.flink/flink-optimizer

throw new CompilerPostPassException("Unknown node type encountered: " + node.getClass().getName());
origin: org.apache.flink/flink-optimizer_2.11

throw new CompilerPostPassException("Unknown node type encountered: " + node.getClass().getName());
origin: com.alibaba.blink/flink-optimizer

throw new CompilerPostPassException("Unknown node type encountered: " + node.getClass().getName());
org.apache.flink.optimizerCompilerPostPassException<init>

Javadoc

Creates a post pass exception with no message and no cause.

Popular methods of CompilerPostPassException

    Popular in Java

    • Creating JSON documents from java classes using gson
    • scheduleAtFixedRate (ScheduledExecutorService)
    • notifyDataSetChanged (ArrayAdapter)
    • getExternalFilesDir (Context)
    • InputStream (java.io)
      A readable source of bytes.Most clients will use input streams that read data from the file system (
    • RandomAccessFile (java.io)
      Allows reading from and writing to a file in a random-access manner. This is different from the uni-
    • ConnectException (java.net)
      A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
    • Queue (java.util)
      A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
    • BlockingQueue (java.util.concurrent)
      A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
    • Loader (org.hibernate.loader)
      Abstract superclass of object loading (and querying) strategies. This class implements useful common
    • 21 Best Atom Packages for 2021
    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