Class InventoryInitReader

java.lang.Object
jakarta.batch.api.chunk.AbstractItemReader
com.ibm.jbatch.tck.artifacts.chunkartifacts.InventoryInitReader
All Implemented Interfaces:
jakarta.batch.api.chunk.ItemReader

@Named("inventoryInitReader") public class InventoryInitReader extends jakarta.batch.api.chunk.AbstractItemReader
  • Field Details

  • Constructor Details

    • InventoryInitReader

      public InventoryInitReader()
  • Method Details

    • open

      public void open(Serializable cpd) throws NamingException
      Specified by:
      open in interface jakarta.batch.api.chunk.ItemReader
      Overrides:
      open in class jakarta.batch.api.chunk.AbstractItemReader
      Throws:
      NamingException
    • readItem

      public InventoryRecord readItem() throws SQLException
      Specified by:
      readItem in interface jakarta.batch.api.chunk.ItemReader
      Specified by:
      readItem in class jakarta.batch.api.chunk.AbstractItemReader
      Throws:
      SQLException
    • checkpointInfo

      public Serializable checkpointInfo() throws Exception
      Specified by:
      checkpointInfo in interface jakarta.batch.api.chunk.ItemReader
      Overrides:
      checkpointInfo in class jakarta.batch.api.chunk.AbstractItemReader
      Throws:
      Exception