ICEBERG_EXPORT inline std::string_view ToString()

in src/iceberg/file_format.h [40:51]


ICEBERG_EXPORT inline std::string_view ToString(FileFormatType format_type) {
  switch (format_type) {
    case FileFormatType::kParquet:
      return "parquet";
    case FileFormatType::kAvro:
      return "avro";
    case FileFormatType::kOrc:
      return "orc";
    case FileFormatType::kPuffin:
      return "puffin";
  }
}