Packages

c

org.apache.spark.sql.v2.avro

AvroPartitionReaderFactory

case class AvroPartitionReaderFactory(sqlConf: SQLConf, broadcastedConf: Broadcast[SerializableConfiguration], dataSchema: StructType, readDataSchema: StructType, partitionSchema: StructType, parsedOptions: 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.

parsedOptions

Options for parsing AVRO files.

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

Instance Constructors

  1. new AvroPartitionReaderFactory(sqlConf: SQLConf, broadcastedConf: Broadcast[SerializableConfiguration], dataSchema: StructType, readDataSchema: StructType, partitionSchema: StructType, parsedOptions: 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.

    parsedOptions

    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( ... ) @native() @HotSpotIntrinsicCandidate()
  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. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  16. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  19. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  20. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  21. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  24. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  26. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  27. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  28. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  34. val parsedOptions: AvroOptions
  35. val partitionSchema: StructType
  36. val readDataSchema: StructType
  37. val sqlConf: SQLConf
  38. def supportColumnarReads(arg0: InputPartition): Boolean
    Definition Classes
    PartitionReaderFactory
  39. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

Inherited from Serializable

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