public class GraphUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GraphUtils.AddLongValue
Add
LongValue elements. |
static class |
GraphUtils.MapTo<I,O>
Map each element to a value.
|
Constructor and Description |
---|
GraphUtils() |
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–2017 The Apache Software Foundation. All rights reserved.