Class AtlasStatisticsOutputFormat
- java.lang.Object
-
- org.apache.hadoop.mapred.FileOutputFormat<java.lang.String,T>
-
- org.openstreetmap.atlas.generator.persistence.AbstractFileOutputFormat<org.openstreetmap.atlas.geography.atlas.statistics.AtlasStatistics>
-
- org.openstreetmap.atlas.generator.persistence.AtlasStatisticsOutputFormat
-
- All Implemented Interfaces:
org.apache.hadoop.mapred.OutputFormat<java.lang.String,org.openstreetmap.atlas.geography.atlas.statistics.AtlasStatistics>
public class AtlasStatisticsOutputFormat extends AbstractFileOutputFormat<org.openstreetmap.atlas.geography.atlas.statistics.AtlasStatistics>
FileOutputFormatthat writes anAtlasStatistics.
-
-
Constructor Summary
Constructors Constructor Description AtlasStatisticsOutputFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringfileExtension()protected booleanisCompressed()protected voidsave(org.openstreetmap.atlas.geography.atlas.statistics.AtlasStatistics value, org.openstreetmap.atlas.streaming.resource.AbstractWritableResource out)-
Methods inherited from class org.openstreetmap.atlas.generator.persistence.AbstractFileOutputFormat
getRecordWriter, retry
-
Methods inherited from class org.apache.hadoop.mapred.FileOutputFormat
checkOutputSpecs, getCompressOutput, getOutputCompressorClass, getOutputPath, getPathForCustomFile, getTaskOutputPath, getUniqueName, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputPath, setWorkOutputPath
-
-
-
-
Method Detail
-
fileExtension
protected java.lang.String fileExtension()
- Specified by:
fileExtensionin classAbstractFileOutputFormat<org.openstreetmap.atlas.geography.atlas.statistics.AtlasStatistics>
-
isCompressed
protected boolean isCompressed()
- Specified by:
isCompressedin classAbstractFileOutputFormat<org.openstreetmap.atlas.geography.atlas.statistics.AtlasStatistics>
-
save
protected void save(org.openstreetmap.atlas.geography.atlas.statistics.AtlasStatistics value, org.openstreetmap.atlas.streaming.resource.AbstractWritableResource out)- Specified by:
savein classAbstractFileOutputFormat<org.openstreetmap.atlas.geography.atlas.statistics.AtlasStatistics>
-
-