public class MultipleAtlasCountryStatisticsOutputFormat
extends org.apache.hadoop.mapred.lib.MultipleOutputFormat<java.lang.String,org.openstreetmap.atlas.geography.atlas.statistics.AtlasStatistics>
MultipleOutputFormat for the country AtlasStatistics, based on the model of
MultipleTextOutputFormat| Constructor and Description |
|---|
MultipleAtlasCountryStatisticsOutputFormat() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
generateFileNameForKeyValue(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) |
generateActualKey, generateActualValue, generateLeafFileName, getInputFileBasedOutputFileName, getRecordWritercheckOutputSpecs, getCompressOutput, getOutputCompressorClass, getOutputPath, getPathForCustomFile, getTaskOutputPath, getUniqueName, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputPath, setWorkOutputPathpublic MultipleAtlasCountryStatisticsOutputFormat()
protected java.lang.String generateFileNameForKeyValue(java.lang.String key,
org.openstreetmap.atlas.geography.atlas.statistics.AtlasStatistics value,
java.lang.String name)
generateFileNameForKeyValue in class org.apache.hadoop.mapred.lib.MultipleOutputFormat<java.lang.String,org.openstreetmap.atlas.geography.atlas.statistics.AtlasStatistics>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
getBaseRecordWriter in class org.apache.hadoop.mapred.lib.MultipleOutputFormat<java.lang.String,org.openstreetmap.atlas.geography.atlas.statistics.AtlasStatistics>java.io.IOException