@PublicEvolving public class Row extends Object
Constructor and Description |
---|
Row(List<Object> values)
The given values should be mutable in order for TransformerServable classes to update
DataFrame with the serving results.
|
Modifier and Type | Method and Description |
---|---|
Row |
add(Object value)
Adds the value to the end of this row and returns this row.
|
Object |
get(int index)
Returns the value at the given index.
|
<T> T |
getAs(int index)
Returns the value at the given index as the given type.
|
int |
size()
Returns the number of values in this row.
|
public Object get(int index)
public <T> T getAs(int index)
public int size()
Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.