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