T
- Type of elements to count.public static class Utils.CollectHelper<T> extends RichOutputFormat<T>
DataSet.collect()
function.Constructor and Description |
---|
Utils.CollectHelper(String id,
TypeSerializer<T> serializer) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
configure(Configuration parameters) |
void |
open(int taskNumber,
int numTasks) |
void |
writeRecord(T record) |
getRuntimeContext, setRuntimeContext
public Utils.CollectHelper(String id, TypeSerializer<T> serializer)
public void configure(Configuration parameters)
public void open(int taskNumber, int numTasks)
public void writeRecord(T record) throws IOException
IOException
public void close()
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.