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