public class MapRecord<K> extends Object implements Record<K>
| Modifier and Type | Field and Description |
|---|---|
static Function<MapRecord,MapRecord> |
conversion |
protected String[] |
fields |
protected K |
key |
protected Map<String,Object> |
map |
static Class<? extends MapRecord> |
recordClass |
| Modifier | Constructor and Description |
|---|---|
protected |
MapRecord() |
| Modifier and Type | Method and Description |
|---|---|
MapRecord<K> |
copied() |
Object |
get(String field) |
String[] |
getFields() |
K |
getKey() |
void |
key(K key)
take care, kind of dangerous
|
static <K> MapRecord<K> |
New() |
static <K> MapRecord<K> |
New(K key) |
static <K> MapRecord<K> |
New(K key,
Object... values) |
MapRecord |
put(String field,
Object value) |
int |
size() |
String |
toString() |
public static <K> MapRecord<K> New()
public static <K> MapRecord<K> New(K key)
public int size()
public Object get(String field)
get in interface EvalContextCopyright © 2016. All rights reserved.