Uploaded image for project: 'BatchEE'
  1. BatchEE
  2. BATCHEE-32

add NoStateTypedItem*

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.1-incubating
    • 0.2-incubating
    • batchee-extensions
    • None

    Description

      if you extend 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.

      BufferedItemReader can extend NoStateItemWriter which provides a default implementation for doOpen() doCheckpointInfo()

      Attachments

        1. BATCHEE-32.patch
          14 kB
          Reinhard Sandtner

        Activity

          People

            struberg Mark Struberg
            cassius Reinhard Sandtner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: