Class CheckFlagFileProcessor
- java.lang.Object
-
- org.openstreetmap.atlas.checks.event.FileProcessor<CheckFlagEvent>
-
- org.openstreetmap.atlas.checks.event.CheckFlagFileProcessor
-
- All Implemented Interfaces:
org.openstreetmap.atlas.event.Processor<CheckFlagEvent>
public final class CheckFlagFileProcessor extends FileProcessor<CheckFlagEvent>
A forCheckFlagEvents to write them into line delimited GeoJson files
-
-
Field Summary
-
Fields inherited from class org.openstreetmap.atlas.checks.event.FileProcessor
BATCH_SIZE
-
-
Constructor Summary
Constructors Constructor Description CheckFlagFileProcessor(org.openstreetmap.atlas.generator.tools.spark.utilities.SparkFileHelper fileHelper, java.lang.String outputFolder)Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocess(CheckFlagEvent event)voidprocess(org.openstreetmap.atlas.event.ShutdownEvent event)-
Methods inherited from class org.openstreetmap.atlas.checks.event.FileProcessor
doesCompressOutput, getBatchSize, getCount, getFilename, process, setBatchSize, withCompression, write
-
-
-
-
Constructor Detail
-
CheckFlagFileProcessor
public CheckFlagFileProcessor(org.openstreetmap.atlas.generator.tools.spark.utilities.SparkFileHelper fileHelper, java.lang.String outputFolder)Default constructor- Parameters:
fileHelper-SparkFileHelperfor I/O operationsoutputFolder- output folder path to write files to
-
-
Method Detail
-
process
public void process(CheckFlagEvent event)
-
process
public void process(org.openstreetmap.atlas.event.ShutdownEvent event)
-
-