Class SparkStructLike

java.lang.Object
org.apache.iceberg.spark.SparkStructLike
All Implemented Interfaces:
org.apache.iceberg.StructLike

public class SparkStructLike extends Object implements org.apache.iceberg.StructLike
  • Constructor Details

    • SparkStructLike

      public SparkStructLike(org.apache.iceberg.types.Types.StructType type)
  • Method Details

    • wrap

      public SparkStructLike wrap(org.apache.spark.sql.Row row)
    • size

      public int size()
      Specified by:
      size in interface org.apache.iceberg.StructLike
    • get

      public <T> T get(int pos, Class<T> javaClass)
      Specified by:
      get in interface org.apache.iceberg.StructLike
    • set

      public <T> void set(int pos, T value)
      Specified by:
      set in interface org.apache.iceberg.StructLike