SparkContext.
binaryRecords
Load data from a flat binary file, assuming each record is a set of numbers with the specified numerical format (see ByteBuffer), and the number of bytes per record is constant.
Directory to the input data files
The length at which to split the records