default SupportsBulkOperations asBulkFileIO() {
    if (supportBulkOperations()) {
      return (SupportsBulkOperations) this;
    } else {
      throw new IllegalStateException("Doesn't support bulk operations");
    }
  }
Return this fileIO as a {@link SupportsBulkOperations} if it is an instance of that type.
amoro-format-iceberg/src/main/java/org/apache/amoro/io/AuthenticatedFileIO.java