batchee-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reinhard Sandtner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BATCHEE-32) add NoStateTypedItem*
Date Sun, 27 Apr 2014 19:18:16 GMT

    [ https://issues.apache.org/jira/browse/BATCHEE-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13982432#comment-13982432
] 

Reinhard Sandtner commented on BATCHEE-32:
------------------------------------------

hallo mark, created new patch and removed the old one!

> 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
>             Fix For: 0.2-incubating
>
>         Attachments: BATCHEE-32.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)

Mime
View raw message