Package org.apache.iceberg.spark.data
Class SparkParquetWriters.VariantWriter
java.lang.Object
org.apache.iceberg.spark.data.SparkParquetWriters.VariantWriter
- All Implemented Interfaces:
- ParquetValueWriter<org.apache.spark.unsafe.types.VariantVal>
- Enclosing class:
- SparkParquetWriters
public static class SparkParquetWriters.VariantWriter
extends Object
implements ParquetValueWriter<org.apache.spark.unsafe.types.VariantVal>
Variant writer converts from VariantVal to Variant
- 
Method SummaryModifier and TypeMethodDescriptionList<TripleWriter<?>> columns()Stream<FieldMetrics<?>> metrics()Returns a stream ofFieldMetricsthat this ParquetValueWriter keeps track of.voidsetColumnStore(org.apache.parquet.column.ColumnWriteStore columnStore) voidwrite(int repetitionLevel, org.apache.spark.unsafe.types.VariantVal variantVal) 
- 
Method Details- 
writepublic void write(int repetitionLevel, org.apache.spark.unsafe.types.VariantVal variantVal) - Specified by:
- writein interface- ParquetValueWriter<org.apache.spark.unsafe.types.VariantVal>
 
- 
columns- Specified by:
- columnsin interface- ParquetValueWriter<org.apache.spark.unsafe.types.VariantVal>
 
- 
setColumnStorepublic void setColumnStore(org.apache.parquet.column.ColumnWriteStore columnStore) - Specified by:
- setColumnStorein interface- ParquetValueWriter<org.apache.spark.unsafe.types.VariantVal>
 
- 
metricsDescription copied from interface:ParquetValueWriterReturns a stream ofFieldMetricsthat this ParquetValueWriter keeps track of.- Specified by:
- metricsin interface- ParquetValueWriter<org.apache.spark.unsafe.types.VariantVal>
 
 
-