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 Detail

      • getHeader

        Header getHeader()
        Return the record's header.
        Returns:
        the record's header.
      • getPayload

        P getPayload()
        Return the record's payload.
        Returns:
        the record's payload.