JobVertex.updateCoLocationGroup
Code IndexAdd Codota to your IDE (free)

Best Java code snippets using org.apache.flink.runtime.jobgraph.JobVertex.updateCoLocationGroup (Showing top 8 results out of 315)

  • Common ways to obtain JobVertex
private void myMethod () {
JobVertex j =
  • String name;new JobVertex(name)
  • JobGraphGenerator.TaskInChain jobGraphGeneratorTaskInChain;jobGraphGeneratorTaskInChain.getContainingVertex()
  • JobGraphGenerator jobGraphGenerator;Object key;jobGraphGenerator.vertices.get(key)
  • Smart code suggestions by Codota
}
origin: apache/flink

  vertex.updateCoLocationGroup(constraint.f1);
source.updateCoLocationGroup(ccg);
sink.updateCoLocationGroup(ccg);
origin: org.apache.flink/flink-runtime

public void mergeInto(CoLocationGroup other) {
  Preconditions.checkNotNull(other);
  
  for (JobVertex v : this.vertices) {
    v.updateCoLocationGroup(other);
  }
  
  // move vertex membership
  other.vertices.addAll(this.vertices);
  this.vertices.clear();
}

origin: com.alibaba.blink/flink-runtime

public void mergeInto(CoLocationGroup other) {
  Preconditions.checkNotNull(other);
  for (JobVertex v : this.vertices) {
    v.updateCoLocationGroup(other);
  }
  // move vertex membership
  other.vertices.addAll(this.vertices);
  this.vertices.clear();
}
origin: org.apache.flink/flink-runtime_2.10

public void mergeInto(CoLocationGroup other) {
  Preconditions.checkNotNull(other);
  
  for (JobVertex v : this.vertices) {
    v.updateCoLocationGroup(other);
  }
  
  // move vertex membership
  other.vertices.addAll(this.vertices);
  this.vertices.clear();
}

origin: org.apache.flink/flink-runtime_2.11

public void mergeInto(CoLocationGroup other) {
  Preconditions.checkNotNull(other);
  
  for (JobVertex v : this.vertices) {
    v.updateCoLocationGroup(other);
  }
  
  // move vertex membership
  other.vertices.addAll(this.vertices);
  this.vertices.clear();
}

origin: org.apache.flink/flink-streaming-java_2.10

private void setSlotSharing() {
  Map<String, SlotSharingGroup> slotSharingGroups = new HashMap<>();
  for (Entry<Integer, JobVertex> entry : jobVertices.entrySet()) {
    String slotSharingGroup = streamGraph.getStreamNode(entry.getKey()).getSlotSharingGroup();
    SlotSharingGroup group = slotSharingGroups.get(slotSharingGroup);
    if (group == null) {
      group = new SlotSharingGroup();
      slotSharingGroups.put(slotSharingGroup, group);
    }
    entry.getValue().setSlotSharingGroup(group);
  }
  for (Tuple2<StreamNode, StreamNode> pair : streamGraph.getIterationSourceSinkPairs()) {
    CoLocationGroup ccg = new CoLocationGroup();
    JobVertex source = jobVertices.get(pair.f0.getId());
    JobVertex sink = jobVertices.get(pair.f1.getId());
    ccg.addVertex(source);
    ccg.addVertex(sink);
    source.updateCoLocationGroup(ccg);
    sink.updateCoLocationGroup(ccg);
  }
}
origin: org.apache.flink/flink-streaming-java

  vertex.updateCoLocationGroup(constraint.f1);
source.updateCoLocationGroup(ccg);
sink.updateCoLocationGroup(ccg);
origin: org.apache.flink/flink-streaming-java_2.11

  vertex.updateCoLocationGroup(constraint.f1);
source.updateCoLocationGroup(ccg);
sink.updateCoLocationGroup(ccg);
org.apache.flink.runtime.jobgraphJobVertexupdateCoLocationGroup

Popular methods of JobVertex

  • getConfiguration
    Returns the vertex's configuration object which can be used to pass custom settings to the task at r
  • getParallelism
    Gets the parallelism of the task.
  • getName
    Returns the name of the vertex.
  • setParallelism
    Sets the parallelism for the task.
  • <init>
    Constructs a new job vertex and assigns it with the given name.
  • setInvokableClass
  • setMaxParallelism
    Sets the maximum parallelism for the task.
  • getID
    Returns the ID of this job vertex.
  • isInputVertex
  • connectNewDataSetAsInput
  • getOperatorDescription
  • getOperatorName
  • getOperatorDescription,
  • getOperatorName,
  • getOperatorPrettyName,
  • getResultOptimizerProperties,
  • setResources,
  • setSlotSharingGroup,
  • getMinResources,
  • getPreferredResources,
  • getProducedDataSets

Popular in Java

  • Making http requests using okhttp
  • getSystemService (Context)
  • findViewById (Activity)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • Menu (java.awt)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty

For IntelliJ IDEA,
Android Studio or Eclipse

  • Search for JavaScript code betaCodota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutBlogContact Us
  • Plugin user guideTerms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)