The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.
SequenceFileInputFormat
TextInputFormat