@Override
  public Stream<FieldMetrics> metrics() {
    return writer.metrics();
  }
A Writer that consumes Iceberg's internal in-memory object model.

<p>Iceberg's internal in-memory object model produces the types defined in {@link
Type.TypeID#javaClass()}.
iceberg/patched-iceberg-core/src/main/java/org/apache/iceberg/avro/InternalWriter.java