public class ConsumerVertexGroup extends Object implements Iterable<ExecutionVertexID>
ExecutionVertexID
s. One such a group corresponds to one ConsumedPartitionGroup
.Modifier and Type | Method and Description |
---|---|
static ConsumerVertexGroup |
fromMultipleVertices(List<ExecutionVertexID> vertices,
ResultPartitionType resultPartitionType) |
static ConsumerVertexGroup |
fromSingleVertex(ExecutionVertexID vertex,
ResultPartitionType resultPartitionType) |
ConsumedPartitionGroup |
getConsumedPartitionGroup() |
ExecutionVertexID |
getFirst() |
ResultPartitionType |
getResultPartitionType() |
boolean |
isEmpty() |
Iterator<ExecutionVertexID> |
iterator() |
void |
setConsumedPartitionGroup(ConsumedPartitionGroup consumedPartitionGroup) |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public static ConsumerVertexGroup fromMultipleVertices(List<ExecutionVertexID> vertices, ResultPartitionType resultPartitionType)
public static ConsumerVertexGroup fromSingleVertex(ExecutionVertexID vertex, ResultPartitionType resultPartitionType)
public ResultPartitionType getResultPartitionType()
public Iterator<ExecutionVertexID> iterator()
iterator
in interface Iterable<ExecutionVertexID>
public int size()
public boolean isEmpty()
public ExecutionVertexID getFirst()
public ConsumedPartitionGroup getConsumedPartitionGroup()
public void setConsumedPartitionGroup(ConsumedPartitionGroup consumedPartitionGroup)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.