batchee-dev mailing list archives

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

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

Mark Struberg commented on BATCHEE-32:
--------------------------------------

hi Reinhard! Could you please rebase your master branch and create a new patch?
I assume you do your work in an own branch and have master up2date. The following will create
a proper git patch against master:
{code}
$> git format-patch master --stdout > BATCHEE-32.patch
{code}

> 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: 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)

Mime
View raw message