com.ibm.websphere.batch.devframework.datastreams.bdsadapter

Interface AbstractBatchDataInputStream

All known implementing classes:
AbstractBatchDataInputStreamRecordMetrics

  1. public interface AbstractBatchDataInputStream

Method Summary

Modifier and Type Method and Description
  1. java.lang.Object
fetchHeader()
Returns the header data if any
  1. boolean
hasNext()
Return a boolean indicating if there is unread data in the Input Stream
  1. java.lang.Object
read()
Return the next record
  1. java.lang.Object
read(java.lang.Object parameters)
Return the next record based on the input parameters.

Method Detail

hasNext

  1. boolean hasNext()
  2. throws java.lang.Exception
Return a boolean indicating if there is unread data in the Input Stream
Returns:
boolean indicating if there is more data to be read
Throws:
java.lang.Exception

read

  1. java.lang.Object read()
  2. throws java.lang.Exception
Return the next record
Returns:
an object representing the next record in the inputstream
Throws:
java.lang.Exception

read

  1. java.lang.Object read(java.lang.Object parameters)
  2. throws java.lang.Exception
Return the next record based on the input parameters.
Parameters:
parameters -
Returns:
Throws:
java.lang.Exception

fetchHeader

  1. java.lang.Object fetchHeader()
Returns the header data if any
Returns: