Packages

c

org.apache.spark.sql.v2.avro

AvroPartitionReaderFactory

case class AvroPartitionReaderFactory(sqlConf: SQLConf, broadcastedConf: Broadcast[SerializableConfiguration], dataSchema: StructType, readDataSchema: StructType, partitionSchema: StructType, options: AvroOptions, filters: Seq[Filter]) extends FilePartitionReaderFactory with Logging with Product with Serializable

A factory used to create AVRO readers.

sqlConf

SQL configuration.

broadcastedConf

Broadcast serializable Hadoop Configuration.

dataSchema

Schema of AVRO files.

readDataSchema

Required data schema of AVRO files.

partitionSchema

Schema of partitions.

options

Options for parsing AVRO files.

Linear Supertypes
Product, Equals, Logging, FilePartitionReaderFactory, PartitionReaderFactory, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AvroPartitionReaderFactory
  2. Product
  3. Equals
  4. Logging
  5. FilePartitionReaderFactory
  6. PartitionReaderFactory
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AvroPartitionReaderFactory(sqlConf: SQLConf, broadcastedConf: Broadcast[SerializableConfiguration], dataSchema: StructType, readDataSchema: StructType, partitionSchema: StructType, options: AvroOptions, filters: Seq[Filter])

    sqlConf

    SQL configuration.

    broadcastedConf

    Broadcast serializable Hadoop Configuration.

    dataSchema

    Schema of AVRO files.

    readDataSchema

    Required data schema of AVRO files.

    partitionSchema

    Schema of partitions.

    options

    Options for parsing AVRO files.

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val broadcastedConf: Broadcast[SerializableConfiguration]
  6. def buildColumnarReader(partitionedFile: PartitionedFile): PartitionReader[ColumnarBatch]
    Definition Classes
    FilePartitionReaderFactory
  7. def buildReader(partitionedFile: PartitionedFile): PartitionReader[InternalRow]
    Definition Classes
    AvroPartitionReaderFactory → FilePartitionReaderFactory
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def createColumnarReader(partition: InputPartition): PartitionReader[ColumnarBatch]
    Definition Classes
    FilePartitionReaderFactory → PartitionReaderFactory
  10. def createReader(partition: InputPartition): PartitionReader[InternalRow]
    Definition Classes
    FilePartitionReaderFactory → PartitionReaderFactory
  11. val dataSchema: StructType
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. val filters: Seq[Filter]
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  17. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  20. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  21. def logDebug(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. def logDebug(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. def logError(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  24. def logError(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. def logInfo(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  26. def logInfo(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  27. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  28. def logTrace(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logTrace(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logWarning(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def logWarning(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. val options: AvroOptions
    Definition Classes
    AvroPartitionReaderFactory → FilePartitionReaderFactory
  36. val partitionSchema: StructType
  37. def productElementNames: Iterator[String]
    Definition Classes
    Product
  38. val readDataSchema: StructType
  39. val sqlConf: SQLConf
  40. def supportColumnarReads(arg0: InputPartition): Boolean
    Definition Classes
    PartitionReaderFactory
  41. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Product

Inherited from Equals

Inherited from Logging

Inherited from FilePartitionReaderFactory

Inherited from PartitionReaderFactory

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped