abstract class SpecificParquetRecordReaderBase[T] extends RecordReader[Void, T]
Base class for custom RecordReaders for Parquet that directly materialize to T.
This class handles computing row groups, filtering on them, setting up the column readers,
etc.
This is heavily based on parquet-mr's RecordReader.
TODO: move this to the parquet-mr project. There are performance benefits of doing it
this way, albeit at a higher cost to implement. This base class is reusable.
- Alphabetic
- By Inheritance
- SpecificParquetRecordReaderBase
- RecordReader
- Closeable
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SpecificParquetRecordReaderBase()
Abstract Value Members
- abstract def getCurrentValue(): T
- Definition Classes
- RecordReader
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[java.lang.InterruptedException])
- abstract def getProgress(): Float
- Definition Classes
- RecordReader
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[java.lang.InterruptedException])
- abstract def nextKeyValue(): Boolean
- Definition Classes
- RecordReader
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[java.lang.InterruptedException])
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]) @native()
- def close(): Unit
- Definition Classes
- SpecificParquetRecordReaderBase → RecordReader → Closeable → AutoCloseable
- Annotations
- @Override()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getCurrentKey(): Void
- Definition Classes
- SpecificParquetRecordReaderBase → RecordReader
- Annotations
- @Override()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def initialize(path: String, columns: List[String]): Unit
Initializes the reader to read the file at
pathwithcolumnsprojected.Initializes the reader to read the file at
pathwithcolumnsprojected. If columns is null, all the columns are projected.This is exposed for testing to be able to create this reader without the rest of the Hadoop split machinery. It is not intended for general use and those not support all the configurations.
- Attributes
- protected[parquet]
- def initialize(inputSplit: InputSplit, taskAttemptContext: TaskAttemptContext): Unit
- Definition Classes
- SpecificParquetRecordReaderBase → RecordReader
- Annotations
- @Override()
- 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
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()