Package org.apache.batchee.jackson
Class JacksonJSonWriter
- java.lang.Object
-
- org.apache.batchee.jackson.JacksonJSonWriter
-
- All Implemented Interfaces:
javax.batch.api.chunk.ItemWriter
public class JacksonJSonWriter extends Object implements javax.batch.api.chunk.ItemWriter
-
-
Constructor Summary
Constructors Constructor Description JacksonJSonWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Serializable
checkpointInfo()
void
close()
void
open(Serializable checkpoint)
void
writeItems(List<Object> items)
-
-
-
Method Detail
-
open
public void open(Serializable checkpoint) throws Exception
- Specified by:
open
in interfacejavax.batch.api.chunk.ItemWriter
- Throws:
Exception
-
close
public void close() throws Exception
- Specified by:
close
in interfacejavax.batch.api.chunk.ItemWriter
- Throws:
Exception
-
writeItems
public void writeItems(List<Object> items) throws Exception
- Specified by:
writeItems
in interfacejavax.batch.api.chunk.ItemWriter
- Throws:
Exception
-
checkpointInfo
public Serializable checkpointInfo() throws Exception
- Specified by:
checkpointInfo
in interfacejavax.batch.api.chunk.ItemWriter
- Throws:
Exception
-
-