public class MapRecord extends Object implements Record
| Modifier and Type | Field and Description |
|---|---|
static boolean |
CHECK_TYPES |
static java.util.function.Function<MapRecord,MapRecord> |
conversion |
protected String[] |
fields |
protected String |
key |
protected long |
lastModified |
protected Map<String,Object> |
map |
static Class<? extends MapRecord> |
recordClass |
protected long |
seq |
| Modifier | Constructor and Description |
|---|---|
protected |
MapRecord() |
| Modifier and Type | Method and Description |
|---|---|
MapRecord |
copied() |
Object |
get(String field) |
String[] |
getFields() |
String |
getKey() |
long |
getLastModified() |
long |
getSequence() |
void |
internal_incSequence() |
void |
internal_setLastModified(long tim) |
Record |
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) |
int |
size() |
String |
toString() |
public static boolean CHECK_TYPES
public static java.util.function.Function<MapRecord,MapRecord> conversion
protected transient String[] fields
protected String key
protected long lastModified
protected long seq
public int size()
public long getLastModified()
getLastModified in interface Recordpublic void internal_setLastModified(long tim)
internal_setLastModified in interface Recordpublic void internal_incSequence()
internal_incSequence in interface Recordpublic long getSequence()
getSequence in interface Recordpublic Record key(String key)
Recordpublic Object get(String field)
get in interface EvalContextCopyright © 2019. All rights reserved.