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
- All
Instance Constructors
- new SpecificParquetRecordReaderBase()
Abstract Value Members
-
abstract
def
getCurrentValue(): T
- Definition Classes
- RecordReader
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... )
-
abstract
def
getProgress(): Float
- Definition Classes
- RecordReader
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... )
-
abstract
def
nextKeyValue(): Boolean
- Definition Classes
- RecordReader
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... )
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( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
close(): Unit
- Definition Classes
- SpecificParquetRecordReaderBase → RecordReader → Closeable → AutoCloseable
- Annotations
- @Override()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getCurrentKey(): Void
- Definition Classes
- SpecificParquetRecordReaderBase → RecordReader
- Annotations
- @Override()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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( ... )
-
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