public abstract class TypedItemWriter<R,C extends Serializable> extends Object implements javax.batch.api.chunk.ItemWriter
Constructor and Description |
---|
TypedItemWriter() |
Modifier and Type | Method and Description |
---|---|
Serializable |
checkpointInfo() |
protected abstract C |
doCheckpointInfo() |
protected abstract void |
doOpen(C checkpoint) |
protected abstract void |
doWriteItems(List<R> items) |
void |
open(Serializable checkpoint) |
void |
writeItems(List<Object> items) |
protected abstract void doOpen(C checkpoint)
protected abstract C doCheckpointInfo()
public void open(Serializable checkpoint) throws Exception
open
in interface javax.batch.api.chunk.ItemWriter
Exception
public void writeItems(List<Object> items) throws Exception
writeItems
in interface javax.batch.api.chunk.ItemWriter
Exception
public Serializable checkpointInfo() throws Exception
checkpointInfo
in interface javax.batch.api.chunk.ItemWriter
Exception
Copyright © 2017 The Apache Software Foundation. All rights reserved.