batchee-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Sandtner <reinhard.sandt...@gmail.com>
Subject provide AbstractTypedWriter
Date Thu, 24 Apr 2014 13:15:48 GMT
if you extend org.apache.batchee.extras.typed.TypedWriter you must implement 

   protected abstract void doOpen(C checkpoint);
   protected abstract C doCheckpointInfo();
   protected abstract void doWriteItems(List<R> items);

but in many cases you won’t do that.

org.apache.batchee.extras.buffered.BufferedItemReader can extend AbstractTypedItemWriter or
shall we just implement a default doOpen() doCheckpointInfo()?

lg
reini
Mime
View raw message