public class VertexCentricConfiguration extends IterationConfiguration
ComputeFunction.
The VertexCentricConfiguration object is passed as an argument to
(
org.apache.flink.graph.pregel.ComputeFunction, int, VertexCentricConfiguration).
| Constructor and Description |
|---|
VertexCentricConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBroadcastSet(String name,
org.apache.flink.api.java.DataSet<?> data)
Adds a data set as a broadcast set to the compute function.
|
List<org.apache.flink.api.java.tuple.Tuple2<String,org.apache.flink.api.java.DataSet<?>>> |
getBcastVars()
Get the broadcast variables of the compute function.
|
getAggregators, getName, getParallelism, isOptNumVertices, isSolutionSetUnmanagedMemory, registerAggregator, setName, setOptNumVertices, setParallelism, setSolutionSetUnmanagedMemorypublic void addBroadcastSet(String name, org.apache.flink.api.java.DataSet<?> data)
name - The name under which the broadcast data set is available in the compute function.data - The data set to be broadcast.public List<org.apache.flink.api.java.tuple.Tuple2<String,org.apache.flink.api.java.DataSet<?>>> getBcastVars()
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.