Package org.apache.iceberg.spark
Class SparkStructLike
- java.lang.Object
-
- org.apache.iceberg.spark.SparkStructLike
-
- All Implemented Interfaces:
StructLike
public class SparkStructLike extends java.lang.Object implements StructLike
-
-
Constructor Summary
Constructors Constructor Description SparkStructLike(Types.StructType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
get(int pos, java.lang.Class<T> javaClass)
<T> void
set(int pos, T value)
int
size()
SparkStructLike
wrap(org.apache.spark.sql.Row row)
-
-
-
Constructor Detail
-
SparkStructLike
public SparkStructLike(Types.StructType type)
-
-
Method Detail
-
wrap
public SparkStructLike wrap(org.apache.spark.sql.Row row)
-
size
public int size()
- Specified by:
size
in interfaceStructLike
-
get
public <T> T get(int pos, java.lang.Class<T> javaClass)
- Specified by:
get
in interfaceStructLike
-
set
public <T> void set(int pos, T value)
- Specified by:
set
in interfaceStructLike
-
-