T - Type of elements to count.public static class Utils.CountHelper<T>
extends org.apache.flink.api.common.io.RichOutputFormat<T>
DataSet.count()
function.| Constructor and Description |
|---|
CountHelper(String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(org.apache.flink.configuration.Configuration parameters) |
void |
open(int taskNumber,
int numTasks) |
void |
writeRecord(T record) |
getRuntimeContext, setRuntimeContextCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.