public class SparkValueConverter
extends Object
A utility class that converts Spark values to Iceberg's internal representation.
-
Method Summary
static org.apache.iceberg.data.Record
convert(org.apache.iceberg.Schema schema,
org.apache.spark.sql.Row row)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
convert
public static org.apache.iceberg.data.Record convert(org.apache.iceberg.Schema schema,
org.apache.spark.sql.Row row)
-
convert
public static Object convert(org.apache.iceberg.types.Type type,
Object object)
-
convertToSpark
public static Object convertToSpark(org.apache.iceberg.types.Type type,
Object object)