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
Ordering
- Alphabetic
- By Inheritance
Inherited
- AvroPartitionReaderFactory
- Serializable
- Product
- Equals
- Logging
- FilePartitionReaderFactory
- PartitionReaderFactory
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val broadcastedConf: Broadcast[SerializableConfiguration]
-
def
buildColumnarReader(partitionedFile: PartitionedFile): PartitionReader[ColumnarBatch]
- Definition Classes
- FilePartitionReaderFactory
-
def
buildReader(partitionedFile: PartitionedFile): PartitionReader[InternalRow]
- Definition Classes
- AvroPartitionReaderFactory → FilePartitionReaderFactory
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
createColumnarReader(partition: InputPartition): PartitionReader[ColumnarBatch]
- Definition Classes
- FilePartitionReaderFactory → PartitionReaderFactory
-
def
createReader(partition: InputPartition): PartitionReader[InternalRow]
- Definition Classes
- FilePartitionReaderFactory → PartitionReaderFactory
- val dataSchema: StructType
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val filters: Seq[Filter]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
initializeLogIfNecessary(isInterpreter: Boolean): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isTraceEnabled(): Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
log: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logName: String
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val parsedOptions: AvroOptions
- val partitionSchema: StructType
- val readDataSchema: StructType
- val sqlConf: SQLConf
-
def
supportColumnarReads(arg0: InputPartition): Boolean
- Definition Classes
- PartitionReaderFactory
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated