com.ibm.websphere.batch.devframework.datastreams.bdsadapter
Interface AbstractBatchDataInputStream
-
- All Known Implementing Classes:
- AbstractBatchDataInputStreamRecordMetrics
public interface AbstractBatchDataInputStream
-
-
Method Summary
Methods Modifier and Type Method and Description java.lang.Object
fetchHeader()
Returns the header data if anyboolean
hasNext()
Return a boolean indicating if there is unread data in the Input Streamjava.lang.Object
read()
Return the next recordjava.lang.Object
read(java.lang.Object parameters)
Return the next record based on the input parameters.
-
-
-
Method Detail
-
hasNext
boolean hasNext() 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
java.lang.Object read() throws java.lang.Exception
Return the next record- Returns:
- an object representing the next record in the inputstream
- Throws:
java.lang.Exception
-
read
java.lang.Object read(java.lang.Object parameters) throws java.lang.Exception
Return the next record based on the input parameters.- Parameters:
parameters
-- Returns:
- Throws:
java.lang.Exception
-
fetchHeader
java.lang.Object fetchHeader()
Returns the header data if any- Returns:
-
-