public class RefDelegateStorageGraph extends java.lang.Object implements StorageGraph
Constructor and Description |
---|
RefDelegateStorageGraph(StorageGraph wrapped,
java.util.Map<HGPersistentHandle,HGPersistentHandle> delegates) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData(HGPersistentHandle handle) |
HGPersistentHandle[] |
getLink(HGPersistentHandle handle) |
java.util.Set<HGPersistentHandle> |
getRoots()
Return the set of root handles for this storage sub-graph.
|
java.util.Iterator<Pair<HGPersistentHandle,java.lang.Object>> |
iterator() |
HGPersistentHandle |
store(HGPersistentHandle handle,
byte[] data) |
HGPersistentHandle |
store(HGPersistentHandle handle,
HGPersistentHandle[] link) |
public RefDelegateStorageGraph(StorageGraph wrapped, java.util.Map<HGPersistentHandle,HGPersistentHandle> delegates)
public byte[] getData(HGPersistentHandle handle)
getData
in interface StorageGraph
public HGPersistentHandle[] getLink(HGPersistentHandle handle)
getLink
in interface StorageGraph
public HGPersistentHandle store(HGPersistentHandle handle, HGPersistentHandle[] link)
store
in interface StorageGraph
public HGPersistentHandle store(HGPersistentHandle handle, byte[] data)
store
in interface StorageGraph
public java.util.Set<HGPersistentHandle> getRoots()
StorageGraph
Return the set of root handles for this storage sub-graph.
getRoots
in interface StorageGraph
public java.util.Iterator<Pair<HGPersistentHandle,java.lang.Object>> iterator()
iterator
in interface java.lang.Iterable<Pair<HGPersistentHandle,java.lang.Object>>
iterator
in interface StorageGraph