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] [Created] (BATCHEE-32) add NoStateTypedItem*
Date Fri, 25 Apr 2014 14:44:16 GMT
Reinhard Sandtner created BATCHEE-32:
----------------------------------------

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


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