Packages

case class DeltaParquetFileFormat(protocol: Protocol, metadata: Metadata, nullableRowTrackingConstantFields: Boolean = false, nullableRowTrackingGeneratedFields: Boolean = false, optimizationsEnabled: Boolean = true, tablePath: Option[String] = None, isCDCRead: Boolean = false) extends ParquetFileFormat with LoggingShims with Product with Serializable

A thin wrapper over the Parquet file format to support

  • columns names without restrictions.
  • populated a column from the deletion vector of this file (if exists) to indicate whether the row is deleted or not according to the deletion vector. Consumers of this scan can use the column values to filter out the deleted rows.
Linear Supertypes
Product, Equals, LoggingShims, ParquetFileFormat, Serializable, Logging, DataSourceRegister, FileFormat, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DeltaParquetFileFormat
  2. Product
  3. Equals
  4. LoggingShims
  5. ParquetFileFormat
  6. Serializable
  7. Logging
  8. DataSourceRegister
  9. FileFormat
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DeltaParquetFileFormat(protocol: Protocol, metadata: Metadata, nullableRowTrackingConstantFields: Boolean = false, nullableRowTrackingGeneratedFields: Boolean = false, optimizationsEnabled: Boolean = true, tablePath: Option[String] = None, isCDCRead: Boolean = false)

Type Members

  1. implicit class LogStringContext extends AnyRef
    Definition Classes
    Logging

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def allowDuplicatedColumnNames: Boolean
    Definition Classes
    FileFormat
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def buildReader(sparkSession: SparkSession, dataSchema: StructType, partitionSchema: StructType, requiredSchema: StructType, filters: Seq[Filter], options: Map[String, String], hadoopConf: Configuration): (PartitionedFile) => Iterator[InternalRow]
    Attributes
    protected
    Definition Classes
    FileFormat
  7. def buildReaderWithPartitionValues(sparkSession: SparkSession, dataSchema: StructType, partitionSchema: StructType, requiredSchema: StructType, filters: Seq[Filter], options: Map[String, String], hadoopConf: Configuration): (PartitionedFile) => Iterator[InternalRow]
    Definition Classes
    DeltaParquetFileFormat → ParquetFileFormat → FileFormat
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  9. val columnMappingMode: DeltaColumnMappingMode
  10. def copyWithDVInfo(tablePath: String, optimizationsEnabled: Boolean): DeltaParquetFileFormat
  11. def createFileMetadataCol(): AttributeReference
    Definition Classes
    FileFormat
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(other: Any): Boolean

    We sometimes need to replace FileFormat within LogicalPlans, so we have to override equals to ensure file format changes are captured

    We sometimes need to replace FileFormat within LogicalPlans, so we have to override equals to ensure file format changes are captured

    Definition Classes
    DeltaParquetFileFormat → Equals → ParquetFileFormat → AnyRef → Any
  14. def fileConstantMetadataExtractors: Map[String, (PartitionedFile) => Any]
    Definition Classes
    DeltaParquetFileFormat → FileFormat
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  16. def hasTablePath: Boolean
  17. def hashCode(): Int
    Definition Classes
    DeltaParquetFileFormat → ParquetFileFormat → AnyRef → Any
  18. def inferSchema(sparkSession: SparkSession, parameters: Map[String, String], files: Seq[FileStatus]): Option[StructType]
    Definition Classes
    ParquetFileFormat → FileFormat
  19. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  20. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  21. val isCDCRead: Boolean
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def isSplitable(sparkSession: SparkSession, options: Map[String, String], path: Path): Boolean
    Definition Classes
    DeltaParquetFileFormat → ParquetFileFormat → FileFormat
  24. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  25. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  26. def logDebug(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  27. def logDebug(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  28. def logDebug(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logDebug(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logError(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def logError(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. def logError(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. def logError(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  34. def logInfo(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  35. def logInfo(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  36. def logInfo(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  37. def logInfo(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  38. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  39. def logTrace(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  40. def logTrace(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  41. def logTrace(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  42. def logTrace(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  43. def logWarning(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  44. def logWarning(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  45. def logWarning(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  46. def logWarning(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  47. val metadata: Metadata
  48. def metadataSchemaFields: Seq[StructField]
    Definition Classes
    DeltaParquetFileFormat → ParquetFileFormat → FileFormat
  49. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  50. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  51. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  52. val nullableRowTrackingConstantFields: Boolean
  53. val nullableRowTrackingGeneratedFields: Boolean
  54. val optimizationsEnabled: Boolean
  55. def prepareSchemaForRead(inputSchema: StructType): StructType

    prepareSchemaForRead must only be used for parquet read.

    prepareSchemaForRead must only be used for parquet read. It removes "PARQUET_FIELD_ID_METADATA_KEY" for name mapping mode which address columns by physical name instead of id.

  56. def prepareWrite(sparkSession: SparkSession, job: Job, options: Map[String, String], dataSchema: StructType): OutputWriterFactory
    Definition Classes
    DeltaParquetFileFormat → ParquetFileFormat → FileFormat
  57. def productElementNames: Iterator[String]
    Definition Classes
    Product
  58. val protocol: Protocol
  59. val referenceSchema: StructType
  60. def shortName(): String
    Definition Classes
    ParquetFileFormat → DataSourceRegister
  61. def supportBatch(sparkSession: SparkSession, schema: StructType): Boolean
    Definition Classes
    ParquetFileFormat → FileFormat
  62. def supportDataType(dataType: DataType): Boolean
    Definition Classes
    ParquetFileFormat → FileFormat
  63. def supportFieldName(name: String): Boolean
    Definition Classes
    DeltaParquetFileFormat → FileFormat
  64. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  65. val tablePath: Option[String]
  66. def toString(): String
    Definition Classes
    ParquetFileFormat → AnyRef → Any
  67. def vectorTypes(requiredSchema: StructType, partitionSchema: StructType, sqlConf: SQLConf): Option[Seq[String]]
    Definition Classes
    ParquetFileFormat → FileFormat
  68. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  69. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  70. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  71. def withLogContext(context: Map[String, String])(body: => Unit): Unit
    Attributes
    protected
    Definition Classes
    Logging

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Product

Inherited from Equals

Inherited from LoggingShims

Inherited from ParquetFileFormat

Inherited from Serializable

Inherited from Logging

Inherited from DataSourceRegister

Inherited from FileFormat

Inherited from AnyRef

Inherited from Any

Ungrouped