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.
- Alphabetic
- By Inheritance
- PartitionedFile
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- val filePath: SparkPath
- val fileSize: Long
- val length: Long
- val locations: Array[String]
- val modificationTime: Long
- val otherConstantMetadataColumnValues: Map[String, Any]
- val partitionValues: InternalRow
- def pathUri: URI
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val start: Long
- def toPath: Path
- def toString(): String
- Definition Classes
- PartitionedFile → AnyRef → Any
- def urlEncodedPath: String