public class ColumnDataSnapshot extends Object implements DataSnapshot, Serializable
Modifier and Type | Field and Description |
---|---|
static String |
EXCEPTION_MESSAGE_KEY_SNAPSHOT_CANNOT_BE_PERSISTED |
Constructor and Description |
---|
ColumnDataSnapshot() |
Modifier and Type | Method and Description |
---|---|
void |
addCachedData(Object key,
ColumnCacheData data) |
CachedDataset |
getCachedData(Object key) |
boolean |
hasCachedData(Object key) |
boolean |
isPersistable() |
void |
setPersistable(boolean persistable) |
public static final String EXCEPTION_MESSAGE_KEY_SNAPSHOT_CANNOT_BE_PERSISTED
public boolean hasCachedData(Object key)
hasCachedData
in interface DataSnapshot
public CachedDataset getCachedData(Object key) throws DataSnapshotException
getCachedData
in interface DataSnapshot
DataSnapshotException
public void addCachedData(Object key, ColumnCacheData data)
public boolean isPersistable()
isPersistable
in interface DataSnapshot
public void setPersistable(boolean persistable)
Copyright © 2017. All rights reserved.