public class SparkStructLike
extends java.lang.Object
implements org.apache.iceberg.StructLike
| Constructor and Description |
|---|
SparkStructLike(org.apache.iceberg.types.Types.StructType type) |
| Modifier and Type | Method and 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) |
public SparkStructLike(org.apache.iceberg.types.Types.StructType type)
public SparkStructLike wrap(org.apache.spark.sql.Row row)
public int size()
size in interface org.apache.iceberg.StructLikepublic <T> T get(int pos,
java.lang.Class<T> javaClass)
get in interface org.apache.iceberg.StructLikepublic <T> void set(int pos,
T value)
set in interface org.apache.iceberg.StructLike