trait ContinuousPartitionReaderFactory extends PartitionReaderFactory
A variation on PartitionReaderFactory that returns ContinuousPartitionReader
instead of PartitionReader. It's used for continuous streaming processing.
- Annotations
- @Evolving()
- Source
- ContinuousPartitionReaderFactory.java
- Since
3.0.0
- Alphabetic
- By Inheritance
- ContinuousPartitionReaderFactory
- PartitionReaderFactory
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def createReader(partition: InputPartition): ContinuousPartitionReader[InternalRow]
Returns a row-based partition reader to read data from the given
InputPartition.Returns a row-based partition reader to read data from the given
InputPartition.Implementations probably need to cast the input partition to the concrete
InputPartitionclass defined for the data source.- Definition Classes
- ContinuousPartitionReaderFactory → PartitionReaderFactory
- Annotations
- @Override()
Concrete 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
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def createColumnarReader(partition: InputPartition): ContinuousPartitionReader[ColumnarBatch]
Returns a columnar partition reader to read data from the given
InputPartition.Returns a columnar partition reader to read data from the given
InputPartition.Implementations probably need to cast the input partition to the concrete
InputPartitionclass defined for the data source.- Definition Classes
- ContinuousPartitionReaderFactory → PartitionReaderFactory
- Annotations
- @Override()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def supportColumnarReads(partition: InputPartition): Boolean
Returns true if the given
InputPartitionshould be read by Spark in a columnar way.Returns true if the given
InputPartitionshould be read by Spark in a columnar way. This means, implementations must also implement#createColumnarReader(InputPartition)for the input partitions that this method returns true.As of Spark 2.4, Spark can only read all input partition in a columnar way, or none of them. Data source can't mix columnar and row-based partitions. This may be relaxed in future versions.
- Definition Classes
- PartitionReaderFactory
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)