You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@batchee.apache.org by "Reinhard Sandtner (JIRA)" <ji...@apache.org> on 2014/04/25 19:59:17 UTC
[jira] [Updated] (BATCHEE-32) add NoStateTypedItem*
[ https://issues.apache.org/jira/browse/BATCHEE-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reinhard Sandtner updated BATCHEE-32:
-------------------------------------
Attachment: batchee32.patch
> add NoStateTypedItem*
> ---------------------
>
> Key: BATCHEE-32
> URL: https://issues.apache.org/jira/browse/BATCHEE-32
> Project: BatchEE
> Issue Type: Improvement
> Components: batchee-extensions
> Affects Versions: 0.1-incubating
> Reporter: Reinhard Sandtner
> Priority: Minor
> Attachments: batchee32.patch
>
>
> if you extend TypedWriter you must implement
> {code}
> protected abstract void doOpen(C checkpoint);
> protected abstract C doCheckpointInfo();
> protected abstract void doWriteItems(List<R> items);
> {code}
> but in many cases you won’t do that.
> BufferedItemReader can extend NoStateItemWriter which provides a default implementation for doOpen() doCheckpointInfo()
--
This message was sent by Atlassian JIRA
(v6.2#6252)