Tabnine Logo
JobGraphGenerator$TaskInChain
Code IndexAdd Tabnine to your IDE (free)

How to use
JobGraphGenerator$TaskInChain
in
org.apache.flink.optimizer.plantranslate

Best Java code snippets using org.apache.flink.optimizer.plantranslate.JobGraphGenerator$TaskInChain (Showing top 20 results out of 315)

origin: apache/flink

  vertex = null;
  config = new TaskConfig(new Configuration());
  this.chainedTasks.put(node, new TaskInChain(node, ds.getPushChainDriverClass(), config, taskName));
} else {
origin: apache/flink

TaskConfig t = new TaskConfig(tic.getContainingVertex().getConfiguration());
t.addChainedTask(tic.getChainedTask(), tic.getTaskConfig(), tic.getTaskName());
origin: apache/flink

PlanNode planNode = next.getPlanNode();
JobVertex vertex = next.getContainingVertex();
origin: com.alibaba.blink/flink-optimizer

JobVertex container = chainedTask.getContainingVertex();
  if (container == null) {
    container = this.chainedTasks.get(sourceNode).getContainingVertex();
    if (container == null) {
      throw new IllegalStateException("Bug: Chained task predecessor has not been assigned its containing vertex.");
  chainedTask.setContainingVertex(container);
chainedTask.getTaskConfig().setInputSerializer(inConn.getSerializer(), 0);
  container.setName(containerTaskName + " -> " + chainedTask.getTaskName());
} else {
  container.setName("CHAIN " + containerTaskName + " -> " + chainedTask.getTaskName());
origin: org.apache.flink/flink-optimizer_2.10

JobVertex container = chainedTask.getContainingVertex();
  if (container == null) {
    container = this.chainedTasks.get(sourceNode).getContainingVertex();
    if (container == null) {
      throw new IllegalStateException("Bug: Chained task predecessor has not been assigned its containing vertex.");
  chainedTask.setContainingVertex(container);
chainedTask.getTaskConfig().setInputSerializer(inConn.getSerializer(), 0);
  container.setName(containerTaskName + " -> " + chainedTask.getTaskName());
} else {
  container.setName("CHAIN " + containerTaskName + " -> " + chainedTask.getTaskName());
origin: org.apache.flink/flink-optimizer

JobVertex container = chainedTask.getContainingVertex();
  if (container == null) {
    container = this.chainedTasks.get(sourceNode).getContainingVertex();
    if (container == null) {
      throw new IllegalStateException("Bug: Chained task predecessor has not been assigned its containing vertex.");
  chainedTask.setContainingVertex(container);
chainedTask.getTaskConfig().setInputSerializer(inConn.getSerializer(), 0);
  container.setName(containerTaskName + " -> " + chainedTask.getTaskName());
} else {
  container.setName("CHAIN " + containerTaskName + " -> " + chainedTask.getTaskName());
origin: org.apache.flink/flink-optimizer_2.11

if ((chainedTask = this.chainedTasks.get(sourceNode)) != null) {
  if (chainedTask.getContainingVertex() == null) {
    throw new IllegalStateException("Bug: Chained task has not been assigned its containing vertex when connecting.");
  sourceVertex = chainedTask.getContainingVertex();
  sourceVertexConfig = chainedTask.getTaskConfig();
} else if ((iteration = this.iterations.get(sourceNode)) != null) {
origin: org.apache.flink/flink-optimizer

if ((chainedTask = this.chainedTasks.get(sourceNode)) != null) {
  if (chainedTask.getContainingVertex() == null) {
    throw new IllegalStateException("Bug: Chained task has not been assigned its containing vertex when connecting.");
  sourceVertex = chainedTask.getContainingVertex();
  sourceVertexConfig = chainedTask.getTaskConfig();
} else if ((iteration = this.iterations.get(sourceNode)) != null) {
origin: org.apache.flink/flink-optimizer_2.11

JobVertex container = chainedTask.getContainingVertex();
  if (container == null) {
    container = this.chainedTasks.get(sourceNode).getContainingVertex();
    if (container == null) {
      throw new IllegalStateException("Bug: Chained task predecessor has not been assigned its containing vertex.");
  chainedTask.setContainingVertex(container);
chainedTask.getTaskConfig().setInputSerializer(inConn.getSerializer(), 0);
  container.setName(containerTaskName + " -> " + chainedTask.getTaskName());
} else {
  container.setName("CHAIN " + containerTaskName + " -> " + chainedTask.getTaskName());
origin: org.apache.flink/flink-optimizer_2.10

    throw new CompilerException("Bug: Next workset node not found as vertex or chained task.");
  nextWorksetVertex = taskInChain.getContainingVertex();
  worksetTailConfig = taskInChain.getTaskConfig();
} else {
  worksetTailConfig = new TaskConfig(nextWorksetVertex.getConfiguration());
    throw new CompilerException("Bug: Solution Set Delta not found as vertex or chained task.");
  solutionDeltaVertex = taskInChain.getContainingVertex();
  solutionDeltaConfig = taskInChain.getTaskConfig();
} else {
  solutionDeltaConfig = new TaskConfig(solutionDeltaVertex.getConfiguration());
origin: org.apache.flink/flink-optimizer

    throw new CompilerException("Bug: Next workset node not found as vertex or chained task.");
  nextWorksetVertex = taskInChain.getContainingVertex();
  worksetTailConfig = taskInChain.getTaskConfig();
} else {
  worksetTailConfig = new TaskConfig(nextWorksetVertex.getConfiguration());
    throw new CompilerException("Bug: Solution Set Delta not found as vertex or chained task.");
  solutionDeltaVertex = taskInChain.getContainingVertex();
  solutionDeltaConfig = taskInChain.getTaskConfig();
} else {
  solutionDeltaConfig = new TaskConfig(solutionDeltaVertex.getConfiguration());
origin: com.alibaba.blink/flink-optimizer

if ((chainedTask = this.chainedTasks.get(sourceNode)) != null) {
  if (chainedTask.getContainingVertex() == null) {
    throw new IllegalStateException("Bug: Chained task has not been assigned its containing vertex when connecting.");
  sourceVertex = chainedTask.getContainingVertex();
  sourceVertexConfig = chainedTask.getTaskConfig();
} else if ((iteration = this.iterations.get(sourceNode)) != null) {
origin: org.apache.flink/flink-optimizer_2.11

    throw new CompilerException("Bug: Next workset node not found as vertex or chained task.");
  nextWorksetVertex = taskInChain.getContainingVertex();
  worksetTailConfig = taskInChain.getTaskConfig();
} else {
  worksetTailConfig = new TaskConfig(nextWorksetVertex.getConfiguration());
    throw new CompilerException("Bug: Solution Set Delta not found as vertex or chained task.");
  solutionDeltaVertex = taskInChain.getContainingVertex();
  solutionDeltaConfig = taskInChain.getTaskConfig();
} else {
  solutionDeltaConfig = new TaskConfig(solutionDeltaVertex.getConfiguration());
origin: org.apache.flink/flink-optimizer_2.10

if ((chainedTask = this.chainedTasks.get(sourceNode)) != null) {
  if (chainedTask.getContainingVertex() == null) {
    throw new IllegalStateException("Bug: Chained task has not been assigned its containing vertex when connecting.");
  sourceVertex = chainedTask.getContainingVertex();
  sourceVertexConfig = chainedTask.getTaskConfig();
} else if ((iteration = this.iterations.get(sourceNode)) != null) {
origin: com.alibaba.blink/flink-optimizer

    throw new CompilerException("Bug: Tail of step function not found as vertex or chained task.");
  rootOfStepFunctionVertex = taskInChain.getContainingVertex();
  tailConfig = taskInChain.getTaskConfig();
} else {
  tailConfig = new TaskConfig(rootOfStepFunctionVertex.getConfiguration());
      throw new CompilerException("Bug: Tail of termination criterion not found as vertex or chained task.");
    rootOfTerminationCriterionVertex = taskInChain.getContainingVertex();
    tailConfigOfTerminationCriterion = taskInChain.getTaskConfig();
  } else {
    tailConfigOfTerminationCriterion = new TaskConfig(rootOfTerminationCriterionVertex.getConfiguration());
origin: org.apache.flink/flink-optimizer_2.11

    throw new CompilerException("Bug: Tail of step function not found as vertex or chained task.");
  rootOfStepFunctionVertex = taskInChain.getContainingVertex();
  tailConfig = taskInChain.getTaskConfig();
} else {
  tailConfig = new TaskConfig(rootOfStepFunctionVertex.getConfiguration());
      throw new CompilerException("Bug: Tail of termination criterion not found as vertex or chained task.");
    rootOfTerminationCriterionVertex = taskInChain.getContainingVertex();
    tailConfigOfTerminationCriterion = taskInChain.getTaskConfig();
  } else {
    tailConfigOfTerminationCriterion = new TaskConfig(rootOfTerminationCriterionVertex.getConfiguration());
origin: com.alibaba.blink/flink-optimizer

    throw new CompilerException("Bug: Next workset node not found as vertex or chained task.");
  nextWorksetVertex = taskInChain.getContainingVertex();
  worksetTailConfig = taskInChain.getTaskConfig();
} else {
  worksetTailConfig = new TaskConfig(nextWorksetVertex.getConfiguration());
    throw new CompilerException("Bug: Solution Set Delta not found as vertex or chained task.");
  solutionDeltaVertex = taskInChain.getContainingVertex();
  solutionDeltaConfig = taskInChain.getTaskConfig();
} else {
  solutionDeltaConfig = new TaskConfig(solutionDeltaVertex.getConfiguration());
origin: org.apache.flink/flink-optimizer_2.11

PlanNode planNode = next.getPlanNode();
JobVertex vertex = next.getContainingVertex();
origin: org.apache.flink/flink-optimizer

PlanNode planNode = next.getPlanNode();
JobVertex vertex = next.getContainingVertex();
origin: org.apache.flink/flink-optimizer_2.10

    throw new CompilerException("Bug: Tail of step function not found as vertex or chained task.");
  rootOfStepFunctionVertex = taskInChain.getContainingVertex();
  tailConfig = taskInChain.getTaskConfig();
} else {
  tailConfig = new TaskConfig(rootOfStepFunctionVertex.getConfiguration());
      throw new CompilerException("Bug: Tail of termination criterion not found as vertex or chained task.");
    rootOfTerminationCriterionVertex = taskInChain.getContainingVertex();
    tailConfigOfTerminationCriterion = taskInChain.getTaskConfig();
  } else {
    tailConfigOfTerminationCriterion = new TaskConfig(rootOfTerminationCriterionVertex.getConfiguration());
org.apache.flink.optimizer.plantranslateJobGraphGenerator$TaskInChain

Javadoc

Utility class that describes a task in a sequence of chained tasks. Chained tasks are tasks that run together in one thread.

Most used methods

  • <init>
  • getChainedTask
  • getContainingVertex
  • getPlanNode
  • getTaskConfig
  • getTaskName
  • setContainingVertex

Popular in Java

  • Creating JSON documents from java classes using gson
  • addToBackStack (FragmentTransaction)
  • getResourceAsStream (ClassLoader)
  • onRequestPermissionsResult (Fragment)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Best plugins for Eclipse
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