Package org.apache.nutch.crawl
Class CrawlDbReader.CrawlDatumJsonOutputFormat.WritableSerializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<Writable>
-
- org.apache.nutch.crawl.CrawlDbReader.CrawlDatumJsonOutputFormat.WritableSerializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
- Enclosing class:
- CrawlDbReader.CrawlDatumJsonOutputFormat
public static class CrawlDbReader.CrawlDatumJsonOutputFormat.WritableSerializer extends com.fasterxml.jackson.databind.JsonSerializer<Writable>
-
-
Constructor Summary
Constructors Constructor Description WritableSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(Writable obj, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
-
-
-
Method Detail
-
serialize
public void serialize(Writable obj, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
- Specified by:
serialize
in classcom.fasterxml.jackson.databind.JsonSerializer<Writable>
- Throws:
IOException
-
-