Package org.apache.parquet.io
Class RecordReader<T>
- java.lang.Object
-
- org.apache.parquet.io.RecordReader<T>
-
- Type Parameters:
T- the type of the materialized record
- Direct Known Subclasses:
BaseRecordReader
public abstract class RecordReader<T> extends Object
used to read reassembled records
-
-
Constructor Summary
Constructors Constructor Description RecordReader()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Tread()Reads one record and returns it.booleanshouldSkipCurrentRecord()Returns whether the current record should be skipped (dropped) Will be called *after* read()
-
-
-
Method Detail
-
read
public abstract T read()
Reads one record and returns it.- Returns:
- the materialized record
-
shouldSkipCurrentRecord
public boolean shouldSkipCurrentRecord()
Returns whether the current record should be skipped (dropped) Will be called *after* read()- Returns:
- true if the current record should be skipped
-
-