public interface HGHandle
A HGHandle
represents a reference to a hypergraph atom. HyperGraph
references
are completely managed by HyperGraphDB and should be treated by applications as abstract
reference types.
A handle holds the system-level identity of an atom. HyperGraphDB will return concrete implementations of this interface depending on configuration, context of usage and similar considerations. In other words, a handle is essentially a reference token. One can think of a handle as a memory location, or simply a unique identifier.
Generally, handles are only valid during the run-time of a system. To obtain a permanent handle,
one which transcends system startup and shutdown, the HyperGraph.getPersistentHandle
method should be used. Persistent handles are generated by a HGHandleFactory
configured
when the database is open.
Modifier and Type | Method and Description |
---|---|
HGPersistentHandle |
getPersistent() |
HGPersistentHandle getPersistent()
Copyright © 2015. All rights reserved.