Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
asMap()
Get a view of this row as a map.
|
List<Object> |
asRow()
Get a view of this row as a list.
|
int |
length()
Get the length of this row.
|
Object |
value(int idx)
Get the value at a particular column.
|
Object |
value(String key)
Get the value at a particular column.
|
forEach, iterator, spliterator
@Nullable Object value(String key)
Get the value at a particular column.
key
- The column name.IllegalArgumentException
- if key does not define a column.@Nullable Object value(int idx)
Get the value at a particular column.
idx
- The column index.IndexOutOfBoundsException
- if idx is not a valid column index.int length()
Get the length of this row.
Map<String,Object> asMap()
Get a view of this row as a map.