T - the materialized object classpublic abstract class RecordMaterializer<T> extends Object
Each record will be wrapped by GroupConverter.start() and GroupConverter.end(),
between which the appropriate fields will be materialized.
| Modifier and Type | Class and Description |
|---|---|
static class |
RecordMaterializer.RecordMaterializationException
This exception signals that the current record is cannot be converted from parquet columns to a materialized
record, but can be skipped if requested.
|
| Constructor and Description |
|---|
RecordMaterializer() |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
getCurrentRecord() |
abstract GroupConverter |
getRootConverter() |
void |
skipCurrentRecord()
Called if
getCurrentRecord() isn't going to be called. |
public abstract T getCurrentRecord()
RecordMaterializer.RecordMaterializationException - to signal that a record cannot be materialized, but can be skippedpublic void skipCurrentRecord()
getCurrentRecord() isn't going to be called.public abstract GroupConverter getRootConverter()
Copyright © 2023 The Apache Software Foundation. All rights reserved.