public interface ParquetValueWriter<T>
Modifier and Type | Method and Description |
---|---|
java.util.List<TripleWriter<?>> |
columns() |
default 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 repetitionLevel,
T value) |
void write(int repetitionLevel, T value)
java.util.List<TripleWriter<?>> columns()
void setColumnStore(org.apache.parquet.column.ColumnWriteStore columnStore)
default java.util.stream.Stream<FieldMetrics> metrics()
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.