Package org.apache.iceberg.parquet
Class ParquetValueWriters.RepeatedWriter<L,E>
- java.lang.Object
-
- org.apache.iceberg.parquet.ParquetValueWriters.RepeatedWriter<L,E>
-
- All Implemented Interfaces:
ParquetValueWriter<L>
- Enclosing class:
- ParquetValueWriters
public abstract static class ParquetValueWriters.RepeatedWriter<L,E> extends java.lang.Object implements ParquetValueWriter<L>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRepeatedWriter(int definitionLevel, int repetitionLevel, ParquetValueWriter<E> writer)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.util.List<TripleWriter<?>>columns()protected abstract java.util.Iterator<E>elements(L value)java.util.stream.Stream<FieldMetrics<?>>metrics()Returns a stream ofFieldMetricsthat this ParquetValueWriter keeps track of.voidsetColumnStore(org.apache.parquet.column.ColumnWriteStore columnStore)voidwrite(int parentRepetition, L value)
-
-
-
Constructor Detail
-
RepeatedWriter
protected RepeatedWriter(int definitionLevel, int repetitionLevel, ParquetValueWriter<E> writer)
-
-
Method Detail
-
write
public void write(int parentRepetition, L value)- Specified by:
writein interfaceParquetValueWriter<L>
-
columns
public java.util.List<TripleWriter<?>> columns()
- Specified by:
columnsin interfaceParquetValueWriter<L>
-
setColumnStore
public void setColumnStore(org.apache.parquet.column.ColumnWriteStore columnStore)
- Specified by:
setColumnStorein interfaceParquetValueWriter<L>
-
metrics
public java.util.stream.Stream<FieldMetrics<?>> metrics()
Description copied from interface:ParquetValueWriterReturns a stream ofFieldMetricsthat this ParquetValueWriter keeps track of.- Specified by:
metricsin interfaceParquetValueWriter<L>
-
-