Class MultipleAtlasCountryStatisticsOutputFormat
- java.lang.Object
-
- org.apache.hadoop.mapred.FileOutputFormat<K,V>
-
- org.apache.hadoop.mapred.lib.MultipleOutputFormat<java.lang.String,org.openstreetmap.atlas.geography.atlas.statistics.AtlasStatistics>
-
- org.openstreetmap.atlas.generator.persistence.MultipleAtlasCountryStatisticsOutputFormat
-
- All Implemented Interfaces:
org.apache.hadoop.mapred.OutputFormat<java.lang.String,org.openstreetmap.atlas.geography.atlas.statistics.AtlasStatistics>
public class MultipleAtlasCountryStatisticsOutputFormat extends org.apache.hadoop.mapred.lib.MultipleOutputFormat<java.lang.String,org.openstreetmap.atlas.geography.atlas.statistics.AtlasStatistics>MultipleOutputFormatfor the countryAtlasStatistics, based on the model ofMultipleTextOutputFormat
-
-
Constructor Summary
Constructors Constructor Description MultipleAtlasCountryStatisticsOutputFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgenerateFileNameForKeyValue(java.lang.String key, org.openstreetmap.atlas.geography.atlas.statistics.AtlasStatistics value, java.lang.String name)protected org.apache.hadoop.mapred.RecordWriter<java.lang.String,org.openstreetmap.atlas.geography.atlas.statistics.AtlasStatistics>getBaseRecordWriter(org.apache.hadoop.fs.FileSystem fileSystem, org.apache.hadoop.mapred.JobConf job, java.lang.String name, org.apache.hadoop.util.Progressable progress)-
Methods inherited from class org.apache.hadoop.mapred.lib.MultipleOutputFormat
generateActualKey, generateActualValue, generateLeafFileName, getInputFileBasedOutputFileName, getRecordWriter
-
Methods inherited from class org.apache.hadoop.mapred.FileOutputFormat
checkOutputSpecs, getCompressOutput, getOutputCompressorClass, getOutputPath, getPathForCustomFile, getTaskOutputPath, getUniqueName, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputPath, setWorkOutputPath
-
-
-
-
Method Detail
-
generateFileNameForKeyValue
protected java.lang.String generateFileNameForKeyValue(java.lang.String key, org.openstreetmap.atlas.geography.atlas.statistics.AtlasStatistics value, java.lang.String name)- Overrides:
generateFileNameForKeyValuein classorg.apache.hadoop.mapred.lib.MultipleOutputFormat<java.lang.String,org.openstreetmap.atlas.geography.atlas.statistics.AtlasStatistics>
-
getBaseRecordWriter
protected org.apache.hadoop.mapred.RecordWriter<java.lang.String,org.openstreetmap.atlas.geography.atlas.statistics.AtlasStatistics> getBaseRecordWriter(org.apache.hadoop.fs.FileSystem fileSystem, org.apache.hadoop.mapred.JobConf job, java.lang.String name, org.apache.hadoop.util.Progressable progress) throws java.io.IOException- Specified by:
getBaseRecordWriterin classorg.apache.hadoop.mapred.lib.MultipleOutputFormat<java.lang.String,org.openstreetmap.atlas.geography.atlas.statistics.AtlasStatistics>- Throws:
java.io.IOException
-
-