Packages

case class PartitionedFile(partitionValues: InternalRow, filePath: SparkPath, start: Long, length: Long, locations: Array[String] = Array.empty, modificationTime: Long = 0L, fileSize: Long = 0L, otherConstantMetadataColumnValues: Map[String, Any] = Map.empty) extends Product with Serializable

A part (i.e. "block") of a single file that should be read, along with partition column values that need to be prepended to each row.

partitionValues

value of partition columns to be prepended to each row.

filePath

URI of the file to read

start

the beginning offset (in bytes) of the block.

length

number of bytes to read.

modificationTime

The modification time of the input file, in milliseconds.

fileSize

The length of the input file (not the block), in bytes.

otherConstantMetadataColumnValues

The values of any additional constant metadata columns.

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PartitionedFile
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PartitionedFile(partitionValues: InternalRow, filePath: SparkPath, start: Long, length: Long, locations: Array[String] = Array.empty, modificationTime: Long = 0L, fileSize: Long = 0L, otherConstantMetadataColumnValues: Map[String, Any] = Map.empty)

    partitionValues

    value of partition columns to be prepended to each row.

    filePath

    URI of the file to read

    start

    the beginning offset (in bytes) of the block.

    length

    number of bytes to read.

    modificationTime

    The modification time of the input file, in milliseconds.

    fileSize

    The length of the input file (not the block), in bytes.

    otherConstantMetadataColumnValues

    The values of any additional constant metadata columns.

Value Members

  1. val filePath: SparkPath
  2. val fileSize: Long
  3. val length: Long
  4. val locations: Array[String]
  5. val modificationTime: Long
  6. val otherConstantMetadataColumnValues: Map[String, Any]
  7. val partitionValues: InternalRow
  8. def pathUri: URI
  9. def productElementNames: Iterator[String]
    Definition Classes
    Product
  10. val start: Long
  11. def toPath: Path
  12. def toString(): String
    Definition Classes
    PartitionedFile → AnyRef → Any
  13. def urlEncodedPath: String