public class EmptyFieldsCountAccumulator extends Object
The input file is a plain text CSV file with the semicolon as field separator and double
quotes as field delimiters and three columns. See getDataSet(ExecutionEnvironment,
ParameterTool)
for configuration.
Usage: EmptyFieldsCountAccumulator --input <path> --output <path>
This example shows how to use:
Note: All Flink DataSet APIs are deprecated since Flink 1.18 and will be removed in a future Flink major version. You can still build your application in DataSet, but you should move to either the DataStream and/or Table API. This class is retained for testing purposes.
Modifier and Type | Class and Description |
---|---|
static class |
EmptyFieldsCountAccumulator.EmptyFieldFilter
This function filters all incoming tuples that have one or more empty fields.
|
static class |
EmptyFieldsCountAccumulator.StringTriple
It is recommended to use POJOs (Plain old Java objects) instead of TupleX for data types with
many fields.
|
static class |
EmptyFieldsCountAccumulator.VectorAccumulator
This accumulator maintains a vector of counts.
|
Constructor and Description |
---|
EmptyFieldsCountAccumulator() |
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.