public class IcebergRecordConverter extends Object
| Modifier and Type | Class and Description |
|---|---|
private static class |
IcebergRecordConverter.ArrayTypeWithIcebergSchema
Data type for Arrays which contains Records.
|
static class |
IcebergRecordConverter.IcebergPartnerAccessors |
private static class |
IcebergRecordConverter.IcebergSchemaVisitor |
private static class |
IcebergRecordConverter.MapTypeWithIcebergSchema
Data type for Maps which contains Records in the entries value.
|
private static class |
IcebergRecordConverter.RecordTypeWithFieldNameMapper
Since the
RecordSchema stores the field name and value pairs in a HashMap it makes the retrieval case-sensitive, so we create a name mapper for case-insensitive handling. |
private static class |
IcebergRecordConverter.UUIDDataType
Parquet writer expects the UUID value in different format, so it needs to be converted differently: #1881
|
| Modifier and Type | Field and Description |
|---|---|
private DataConverter<Record,org.apache.iceberg.data.GenericRecord> |
converter |
ComponentLog |
logger |
UnmatchedColumnBehavior |
unmatchedColumnBehavior |
| Constructor and Description |
|---|
IcebergRecordConverter(org.apache.iceberg.Schema schema,
RecordSchema recordSchema,
org.apache.iceberg.FileFormat fileFormat,
UnmatchedColumnBehavior unmatchedColumnBehavior,
ComponentLog logger) |
private final DataConverter<Record,org.apache.iceberg.data.GenericRecord> converter
public final UnmatchedColumnBehavior unmatchedColumnBehavior
public ComponentLog logger
public IcebergRecordConverter(org.apache.iceberg.Schema schema,
RecordSchema recordSchema,
org.apache.iceberg.FileFormat fileFormat,
UnmatchedColumnBehavior unmatchedColumnBehavior,
ComponentLog logger)
public org.apache.iceberg.data.GenericRecord convert(Record record)
Copyright © 2024 Apache NiFi Project. All rights reserved.