public class PatchingRecord extends RecordWrapper
overrides on write. Used to enable queries to patch result records (e.g. in order to submit results of cpu intensive computations)
| Modifier and Type | Field and Description |
|---|---|
static Object |
NULL |
record| Constructor and Description |
|---|
PatchingRecord(Record record) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
void |
forceUpdate(String name) |
Object |
get(String field) |
String[] |
getFields() |
Set<String> |
getForcedUpdates() |
UpdateMessage |
getUpdates(int senderId) |
int |
hashCode() |
boolean |
isModified() |
Record |
put(String field,
Object value) |
void |
reset(Record input) |
String |
toString() |
Record |
unwrapOrCopy() |
getKey, getLastModified, getRecord, getSequence, internal_incSequence, internal_setLastModified, internal_updateLastModified, key, Wrappublic static final Object NULL
public PatchingRecord(Record record)
public boolean isModified()
public String[] getFields()
getFields in interface RecordgetFields in class RecordWrapperpublic Object get(String field)
get in interface EvalContextget in class RecordWrapperpublic Record put(String field, Object value)
put in interface Recordput in class RecordWrapperpublic String toString()
toString in class RecordWrapperpublic int hashCode()
hashCode in class RecordWrapperpublic boolean equals(Object obj)
equals in class RecordWrapperpublic void reset(Record input)
public void forceUpdate(String name)
public UpdateMessage getUpdates(int senderId)
public Record unwrapOrCopy()
Copyright © 2019. All rights reserved.