Class IcebergAvroDataConversion

java.lang.Object
io.trino.plugin.iceberg.IcebergAvroDataConversion

public final class IcebergAvroDataConversion extends Object
  • Method Details

    • toIcebergRecords

      public static Iterable<org.apache.iceberg.data.Record> toIcebergRecords(Page page, List<Type> types, org.apache.iceberg.Schema icebergSchema)
    • toIcebergAvroObject

      @Nullable public static Object toIcebergAvroObject(Type type, org.apache.iceberg.types.Type icebergType, Block block, int position)
    • serializeToTrinoBlock

      public static void serializeToTrinoBlock(Type type, org.apache.iceberg.types.Type icebergType, BlockBuilder builder, Object object)