public abstract static class ParquetValueWriters.StructWriter<S> extends java.lang.Object implements ParquetValueWriter<S>
Modifier | Constructor and Description |
---|---|
protected |
StructWriter(java.util.List<ParquetValueWriter<?>> writers) |
Modifier and Type | Method and Description |
---|---|
java.util.List<TripleWriter<?>> |
columns() |
protected abstract java.lang.Object |
get(S struct,
int index) |
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,
S value) |
protected StructWriter(java.util.List<ParquetValueWriter<?>> writers)
public void write(int repetitionLevel, S value)
write
in interface ParquetValueWriter<S>
public java.util.List<TripleWriter<?>> columns()
columns
in interface ParquetValueWriter<S>
public void setColumnStore(org.apache.parquet.column.ColumnWriteStore columnStore)
setColumnStore
in interface ParquetValueWriter<S>
protected abstract java.lang.Object get(S struct, int index)
public java.util.stream.Stream<FieldMetrics<?>> metrics()
ParquetValueWriter
FieldMetrics
that this ParquetValueWriter keeps track of.metrics
in interface ParquetValueWriter<S>