public class GraphUtils extends Object
Graph utilities.| Modifier and Type | Class and Description |
|---|---|
static class |
GraphUtils.AddLongValue
Add
LongValue elements. |
static class |
GraphUtils.IdentityMapper<T>
The identity mapper returns the input as output.
|
static class |
GraphUtils.MapTo<I,O>
Map each element to a value.
|
static class |
GraphUtils.NonForwardingIdentityMapper<T>
The identity mapper returns the input as output.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> org.apache.flink.api.java.DataSet<org.apache.flink.types.LongValue> |
count(org.apache.flink.api.java.DataSet<T> input)
Count the number of elements in a DataSet.
|
public static <T> org.apache.flink.api.java.DataSet<org.apache.flink.types.LongValue> count(org.apache.flink.api.java.DataSet<T> input)
T - element typeinput - DataSet of elements to be countedCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.