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