Uses of Class
com.hazelcast.jet.core.Vertex
Package | Description |
---|---|
com.hazelcast.jet.core |
Jet's Core API.
|
-
Uses of Vertex in com.hazelcast.jet.core
Methods in com.hazelcast.jet.core that return Vertex Modifier and Type Method Description Vertex
Edge. getDestination()
Returns this edge's destination vertex.Vertex
Edge. getSource()
Returns this edge's source vertex.Vertex
DAG. getVertex(String vertexName)
Returns the vertex with the given name, ornull
if there is no vertex with that name.Vertex
Vertex. localParallelism(int localParallelism)
Sets the number of processors corresponding to this vertex that will be created on each member.Vertex
DAG. newUniqueVertex(String namePrefix, SupplierEx<? extends Processor> simpleSupplier)
Creates a vertex from aSupplier<Processor>
and adds it to this DAG.Vertex
DAG. newUniqueVertex(String namePrefix, ProcessorMetaSupplier metaSupplier)
Creates a vertex from aProcessorMetaSupplier
and adds it to this DAG.Vertex
DAG. newUniqueVertex(String namePrefix, ProcessorSupplier processorSupplier)
Creates a vertex from aProcessorSupplier
and adds it to this DAG.Vertex
DAG. newVertex(String name, SupplierEx<? extends Processor> simpleSupplier)
Creates a vertex from aSupplier<Processor>
and adds it to this DAG.Vertex
DAG. newVertex(String name, ProcessorMetaSupplier metaSupplier)
Creates a vertex from aProcessorMetaSupplier
and adds it to this DAG.Vertex
DAG. newVertex(String name, ProcessorSupplier processorSupplier)
Creates a vertex from aProcessorSupplier
and adds it to this DAG.Methods in com.hazelcast.jet.core that return types with arguments of type Vertex Modifier and Type Method Description Iterator<Vertex>
DAG. iterator()
Returns an iterator over the DAG's vertices in topological order.Methods in com.hazelcast.jet.core with parameters of type Vertex Modifier and Type Method Description static Edge
Edge. between(Vertex source, Vertex destination)
Returns an edge between two vertices.static Edge
Edge. from(Vertex source)
Returns an edge with the given source vertex and no destination vertex.static Edge
Edge. from(Vertex source, int ordinal)
Returns an edge with the given source vertex at the given ordinal and no destination vertex.Edge
Edge. to(Vertex destination)
Sets the destination vertex of this edge, with ordinal 0.Edge
Edge. to(Vertex destination, int ordinal)
Sets the destination vertex and ordinal of this edge.DAG
DAG. vertex(Vertex vertex)
Adds a vertex to this DAG.Constructors in com.hazelcast.jet.core with parameters of type Vertex Constructor Description Edge(Vertex source, int sourceOrdinal, Vertex destination, int destOrdinal)