Package org.jeasy.batch.core.record
Interface Record<P>
-
- Type Parameters:
P
- The record's payload type.
- All Known Implementing Classes:
FileRecord
,GenericRecord
,StringRecord
public interface Record<P>
Interface for input records. A record can be:- A line in a flat file
- A tag in a xml file
- A row in a database table
- A file in a directory
- A message in a queue
- etc
- Author:
- Mahmoud Ben Hassine ([email protected])
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Header
getHeader()
Return the record's header.P
getPayload()
Return the record's payload.
-