package binaryfile
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
class
BinaryFileFormat extends FileFormat with DataSourceRegister
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