Package org.apache.iceberg.avro
Interface MetricsAwareDatumWriter<D>
-
- All Superinterfaces:
org.apache.avro.io.DatumWriter<D>
- All Known Implementing Classes:
DataWriter
,FlinkAvroWriter
,SparkAvroWriter
public interface MetricsAwareDatumWriter<D> extends org.apache.avro.io.DatumWriter<D>
Wrapper writer aroundDatumWriter
with metrics support.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.stream.Stream<FieldMetrics>
metrics()
Returns a stream ofFieldMetrics
that this MetricsAwareDatumWriter keeps track of.
-
-
-
Method Detail
-
metrics
java.util.stream.Stream<FieldMetrics> metrics()
Returns a stream ofFieldMetrics
that this MetricsAwareDatumWriter keeps track of.
-
-