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> Tget(int pos, java.lang.Class<T> javaClass)<T> voidset(int pos, T value)intsize()SparkStructLikewrap(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:
sizein interfaceStructLike
-
get
public <T> T get(int pos, java.lang.Class<T> javaClass)- Specified by:
getin interfaceStructLike
-
set
public <T> void set(int pos, T value)- Specified by:
setin interfaceStructLike
-
-