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 protected
RepeatedWriter(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 ofFieldMetrics
that this ParquetValueWriter keeps track of.void
setColumnStore(org.apache.parquet.column.ColumnWriteStore columnStore)
void
write(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:
write
in interfaceParquetValueWriter<L>
-
columns
public java.util.List<TripleWriter<?>> columns()
- Specified by:
columns
in interfaceParquetValueWriter<L>
-
setColumnStore
public void setColumnStore(org.apache.parquet.column.ColumnWriteStore columnStore)
- Specified by:
setColumnStore
in interfaceParquetValueWriter<L>
-
metrics
public java.util.stream.Stream<FieldMetrics<?>> metrics()
Description copied from interface:ParquetValueWriter
Returns a stream ofFieldMetrics
that this ParquetValueWriter keeps track of.- Specified by:
metrics
in interfaceParquetValueWriter<L>
-
-