public final class ProxyState<E extends RealmModel> extends Object
RealmObjectProxy
interface, to eliminate copying logic between
RealmObject
and DynamicRealmObject
.Constructor and Description |
---|
ProxyState() |
ProxyState(Class<? extends RealmModel> clazzName,
E model) |
ProxyState(E model) |
Modifier and Type | Method and Description |
---|---|
boolean |
getAcceptDefaultValue$realm() |
List<String> |
getExcludeFields$realm() |
List<RealmChangeListener<E>> |
getListeners$realm() |
Object |
getPendingQuery$realm() |
io.realm.BaseRealm |
getRealm$realm() |
Row |
getRow$realm() |
boolean |
isCompleted$realm() |
boolean |
isUnderConstruction() |
boolean |
onCompleted$realm()
Called to import the handover row pointer and notify listeners.
|
void |
onCompleted$realm(long handoverRowPointer) |
void |
setAcceptDefaultValue$realm(boolean acceptDefaultValue) |
void |
setClassName(String className) |
void |
setConstructionFinished() |
void |
setExcludeFields$realm(List<String> excludeFields) |
void |
setPendingQuery$realm(Future<Long> pendingQuery)
Sets the Future instance returned by the worker thread, we need this instance to force
RealmObject.load() an async
query, we use it to determine if the current RealmResults is a sync or async one. |
void |
setRealm$realm(io.realm.BaseRealm realm) |
void |
setRow$realm(Row row) |
void |
setTableVersion$realm() |
public ProxyState()
public ProxyState(E model)
public ProxyState(Class<? extends RealmModel> clazzName, E model)
public void setPendingQuery$realm(Future<Long> pendingQuery)
RealmObject.load()
an async
query, we use it to determine if the current RealmResults is a sync or async one.pendingQuery
- pending query.public io.realm.BaseRealm getRealm$realm()
public void setRealm$realm(io.realm.BaseRealm realm)
public Row getRow$realm()
public void setRow$realm(Row row)
public boolean getAcceptDefaultValue$realm()
public void setAcceptDefaultValue$realm(boolean acceptDefaultValue)
public Object getPendingQuery$realm()
public boolean isCompleted$realm()
public boolean onCompleted$realm()
true
if it successfully completed the query, false
otherwise.public List<RealmChangeListener<E>> getListeners$realm()
public void onCompleted$realm(long handoverRowPointer)
public void setTableVersion$realm()
public void setClassName(String className)
public boolean isUnderConstruction()
public void setConstructionFinished()