package binaryfile
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- case class BinaryFileFormat() extends FileFormat with DataSourceRegister with SessionStateHelper with Product with Serializable
The binary file data source.
The binary file data source.
It reads binary files and converts each file into a single record that contains the raw content and metadata of the file.
Example:
// Scala val df = spark.read.format("binaryFile") .load("/path/to/fileDir") // Java Dataset<Row> df = spark.read().format("binaryFile") .load("/path/to/fileDir");
Value Members
- object BinaryFileFormat extends Serializable