public abstract static class ParquetValueWriters.RepeatedWriter<L,E> extends java.lang.Object implements ParquetValueWriter<L>
Modifier | Constructor and Description |
---|---|
protected |
RepeatedWriter(int definitionLevel,
int repetitionLevel,
ParquetValueWriter<E> writer) |
Modifier and Type | Method and Description |
---|---|
java.util.List<TripleWriter<?>> |
columns() |
protected abstract java.util.Iterator<E> |
elements(L value) |
java.util.stream.Stream<FieldMetrics> |
metrics()
Returns a stream of
FieldMetrics that this ParquetValueWriter keeps track of. |
void |
setColumnStore(org.apache.parquet.column.ColumnWriteStore columnStore) |
void |
write(int parentRepetition,
L value) |
protected RepeatedWriter(int definitionLevel, int repetitionLevel, ParquetValueWriter<E> writer)
public void write(int parentRepetition, L value)
write
in interface ParquetValueWriter<L>
public java.util.List<TripleWriter<?>> columns()
columns
in interface ParquetValueWriter<L>
public void setColumnStore(org.apache.parquet.column.ColumnWriteStore columnStore)
setColumnStore
in interface ParquetValueWriter<L>
public java.util.stream.Stream<FieldMetrics> metrics()
ParquetValueWriter
FieldMetrics
that this ParquetValueWriter keeps track of.
Since Parquet keeps track of most metrics in its footer, for now ParquetValueWriter only keeps track of NaN counter, and only return non-empty stream if the writer writes double or float values either by itself or transitively.
metrics
in interface ParquetValueWriter<L>