Class SparkValueConverter


  • public class SparkValueConverter
    extends java.lang.Object
    A utility class that converts Spark values to Iceberg's internal representation.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Record convert​(Schema schema, org.apache.spark.sql.Row row)  
      static java.lang.Object convert​(Type type, java.lang.Object object)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • convert

        public static Record convert​(Schema schema,
                                     org.apache.spark.sql.Row row)
      • convert

        public static java.lang.Object convert​(Type type,
                                               java.lang.Object object)