public interface Record
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(String key)
Check if the record header contains the given key
|
String |
getString(int index)
The value at the given field index (represented as String)
|
String |
getString(String key)
The value at the given field (represented as String)
|
<T> T |
getValue(int index)
The value at the given field index
|
<T> T |
getValue(String key)
The value at the given field
|
List<String> |
keys()
The keys of the record
|
int |
size()
The number of fields in this record
|
List<Object> |
values()
The values of the record
|
<T> T getValue(int index)
index
- field index<T> T getValue(String key)
key
- header keyString getString(int index)
index
- String getString(String key)
key
- header keyboolean containsKey(String key)
key
- header keytrue
if the the key existsint size()
Copyright © 2022. All rights reserved.