Class FeatureChangeOutputFormat
- java.lang.Object
-
- org.apache.hadoop.mapred.FileOutputFormat<java.lang.String,T>
-
- org.openstreetmap.atlas.generator.persistence.AbstractFileOutputFormat<java.util.List<org.openstreetmap.atlas.geography.atlas.change.FeatureChange>>
-
- org.openstreetmap.atlas.generator.persistence.FeatureChangeOutputFormat
-
- All Implemented Interfaces:
org.apache.hadoop.mapred.OutputFormat<java.lang.String,java.util.List<org.openstreetmap.atlas.geography.atlas.change.FeatureChange>>
public class FeatureChangeOutputFormat extends AbstractFileOutputFormat<java.util.List<org.openstreetmap.atlas.geography.atlas.change.FeatureChange>>
-
-
Constructor Summary
Constructors Constructor Description FeatureChangeOutputFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringfileExtension()protected booleanisCompressed()protected voidsave(java.util.List<org.openstreetmap.atlas.geography.atlas.change.FeatureChange> 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<java.util.List<org.openstreetmap.atlas.geography.atlas.change.FeatureChange>>
-
isCompressed
protected boolean isCompressed()
- Specified by:
isCompressedin classAbstractFileOutputFormat<java.util.List<org.openstreetmap.atlas.geography.atlas.change.FeatureChange>>
-
save
protected void save(java.util.List<org.openstreetmap.atlas.geography.atlas.change.FeatureChange> value, org.openstreetmap.atlas.streaming.resource.AbstractWritableResource out)- Specified by:
savein classAbstractFileOutputFormat<java.util.List<org.openstreetmap.atlas.geography.atlas.change.FeatureChange>>
-
-