@Override
  public boolean exists(String path) {
    if (io instanceof AuthenticatedFileIO) {
      return ((AuthenticatedFileIO) io).exists(path);
    }
    return AuthenticatedFileIO.super.exists(path);
  }
An adapter class to make a {@link FileIO} object adapt to {@link AuthenticatedFileIO} interface.
amoro-format-iceberg/src/main/java/org/apache/amoro/io/AuthenticatedFileIOAdapter.java