T - element typepublic class ChecksumHashCode<T> extends DataSetAnalyticBase<T,ChecksumHashCode.Checksum>
DataSet as well as the checksum (sum over element hashes).| Modifier and Type | Class and Description |
|---|---|
static class |
ChecksumHashCode.Checksum
Wraps checksum and count.
|
env| Constructor and Description |
|---|
ChecksumHashCode() |
| Modifier and Type | Method and Description |
|---|---|
ChecksumHashCode.Checksum |
getResult()
This method must be called after the program has executed.
|
ChecksumHashCode<T> |
run(org.apache.flink.api.java.DataSet<T> input)
All
DataSetAnalytic processing must be terminated by an
OutputFormat and obtained via accumulators rather than
returned by a DataSet. |
execute, executepublic ChecksumHashCode<T> run(org.apache.flink.api.java.DataSet<T> input) throws Exception
DataSetAnalyticDataSetAnalytic processing must be terminated by an
OutputFormat and obtained via accumulators rather than
returned by a DataSet.run in interface DataSetAnalytic<T,ChecksumHashCode.Checksum>run in class DataSetAnalyticBase<T,ChecksumHashCode.Checksum>input - input datasetExceptionpublic ChecksumHashCode.Checksum getResult()
DataSetAnalyticCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.