Packages

package binaryfile

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. 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

  1. object BinaryFileFormat

Ungrouped