Package | Description |
---|---|
org.hypergraphdb |
Welcome to HyperGraphDB
|
org.hypergraphdb.atom | |
org.hypergraphdb.cache | |
org.hypergraphdb.event | |
org.hypergraphdb.handle | |
org.hypergraphdb.indexing | |
org.hypergraphdb.maintenance | |
org.hypergraphdb.storage | |
org.hypergraphdb.type | |
org.hypergraphdb.type.javaprimitive | |
org.hypergraphdb.util |
Modifier and Type | Field and Description |
---|---|
static HGPersistentHandle[] |
HyperGraph.EMPTY_PERSISTENT_HANDLE_SET |
Modifier and Type | Method and Description |
---|---|
HGPersistentHandle |
HGHandleFactory.anyHandle()
The
anyHandle is a persistent handle constant that represents
a "don't care" handle during querying and comparison operations. |
HGPersistentHandle |
HGEMissingData.getHandle() |
HGPersistentHandle[] |
HGStore.getLink(HGPersistentHandle handle)
Retrieve an existing link by its handle.
|
HGPersistentHandle |
HGHandle.getPersistent() |
HGPersistentHandle |
HyperGraph.getPersistentHandle(HGHandle handle)
Return the persistent handle of a given atom.
|
HGPersistentHandle |
HGHandleFactory.linkTypeHandle() |
HGPersistentHandle |
HGHandleFactory.makeHandle()
Construct and return a new, unique persistent handle.
|
HGPersistentHandle |
HGHandleFactory.makeHandle(byte[] buffer)
Construct a persistent handle from its byte array representation.
|
HGPersistentHandle |
HGHandleFactory.makeHandle(byte[] buffer,
int offset)
Construct a persistent handle from its byte array representation where the byte array
is part of a larger buffer and located at a particular offset.
|
HGPersistentHandle |
HGHandleFactory.makeHandle(String handleAsString)
Construct a persistent handle from its string representation.
|
HGPersistentHandle |
HGHandleFactory.nullHandle()
Return the representation of a null persistent handle.
|
HGPersistentHandle |
HGHandleFactory.nullTypeHandle() |
HGPersistentHandle |
HGStore.store(byte[] data)
Write raw binary data to the store.
|
HGPersistentHandle |
HGStore.store(HGPersistentHandle[] link)
Create a new link in the HyperGraphDB store.
|
HGPersistentHandle |
HGStore.store(HGPersistentHandle handle,
byte[] data)
Write raw binary data to the store using a pre-created, unique persistent handle.
|
HGPersistentHandle |
HGStore.store(HGPersistentHandle handle,
HGPersistentHandle[] link)
Create a new link in the HyperGraphDB store with an existing handle.
|
HGPersistentHandle |
HGHandleFactory.subsumesTypeHandle() |
HGPersistentHandle |
HGHandleFactory.topTypeHandle() |
Modifier and Type | Method and Description |
---|---|
HGCache<HGPersistentHandle,IncidenceSet> |
HGAtomCache.getIncidenceCache()
Return the incidence set cache.
|
HGRandomAccessResult<HGPersistentHandle> |
HGStore.getIncidenceResultSet(HGPersistentHandle handle)
Return a
HGSearchResult of atom handles in a given atom's incidence
set. |
HGIndex<HGPersistentHandle,HGPersistentHandle> |
HGIndexManager.getIndexByType()
Return the predefined index from types to atoms.
|
HGIndex<HGPersistentHandle,HGPersistentHandle> |
HGIndexManager.getIndexByType()
Return the predefined index from types to atoms.
|
HGIndex<HGPersistentHandle,HGPersistentHandle> |
HGIndexManager.getIndexByValue()
Return the predefined index from values to atoms.
|
HGIndex<HGPersistentHandle,HGPersistentHandle> |
HGIndexManager.getIndexByValue()
Return the predefined index from values to atoms.
|
Modifier and Type | Method and Description |
---|---|
void |
HGStore.addIncidenceLink(HGPersistentHandle targetHandle,
HGPersistentHandle linkHandle)
Update the incidence set of an atom with a newly created link pointing to it.
|
HGHandle |
HGTypeSystem.addPredefinedType(HGPersistentHandle handle,
HGAtomType type,
Class<?> clazz)
Deprecated.
Use {@link #addPredefinedType(HGPersistentHandle, HGAtomType, URI) instead;
|
HGHandle |
HGTypeSystem.addPredefinedType(HGPersistentHandle handle,
HGAtomType type,
URI typeId)
Specify an application specific predefined type, possibly overriding a default
HyperGraph basic type.
|
HGLiveHandle |
HGAtomCache.atomAdded(HGPersistentHandle pHandle,
Object atom,
HGAtomAttrib attrib)
Inform the cache that a new atom has just been added to the database.
|
HGLiveHandle |
HGAtomCache.atomRead(HGPersistentHandle pHandle,
Object atom,
HGAtomAttrib attrib)
Inform the cache that an atom has just been read from persistent storage.
|
boolean |
HGStore.containsData(HGPersistentHandle handle)
Return
true if there is a data item bound to the passed in
handle parameter and false otherwise. |
boolean |
HGStore.containsLink(HGPersistentHandle handle)
Return
true if there is a storage link bound to the passed in
handle parameter and false otherwise. |
void |
HGTypeSystem.defineTypeAtom(HGPersistentHandle handle,
Class<?> clazz)
Deprecated.
Please use
HGTypeSystem.defineTypeAtom(HGHandle, URI) instead. |
HGLiveHandle |
HGAtomCache.get(HGPersistentHandle pHandle)
Retrieve an atom from the cache by its persistent handle.
|
byte[] |
HGStore.getData(HGPersistentHandle handle)
Retrieve the raw data buffer stored at
handle . |
HGRandomAccessResult<HGPersistentHandle> |
HGStore.getIncidenceResultSet(HGPersistentHandle handle)
Return a
HGSearchResult of atom handles in a given atom's incidence
set. |
long |
HGStore.getIncidenceSetCardinality(HGPersistentHandle handle)
Return the number of atoms in the incidence set of a given atom.
|
HGPersistentHandle[] |
HGStore.getLink(HGPersistentHandle handle)
Retrieve an existing link by its handle.
|
void |
HGIndexManager.maybeIndex(HGPersistentHandle typeHandle,
HGAtomType type,
HGPersistentHandle atomHandle,
Object atom)
Called when an atom is being added to hypergraph to check and possibly
add index entries for the indexed dimensions of the atom's type.
|
void |
HGIndexManager.maybeUnindex(HGPersistentHandle typeHandle,
HGAtomType type,
HGPersistentHandle atomHandle,
Object atom)
Called when an atom is being added to hypergraph to check and possibly
add index entries for the indexed dimensions of the atom's type.
|
void |
HGStore.removeData(HGPersistentHandle handle)
Remove a raw data value associated with a
HGPersistentHandle key. |
void |
HGStore.removeIncidenceLink(HGPersistentHandle handle,
HGPersistentHandle oldLink)
Update the incidence set of an atom by removing a link that no longer points
to it.
|
void |
HGStore.removeIncidenceSet(HGPersistentHandle handle)
Remove the whole incidence set of a given handle.
|
void |
HGStore.removeLink(HGPersistentHandle handle)
Remove a link value associated with a
HGPersistentHandle key. |
void |
HGEMissingData.setHandle(HGPersistentHandle handle) |
HGPersistentHandle |
HGStore.store(HGPersistentHandle[] link)
Create a new link in the HyperGraphDB store.
|
HGPersistentHandle |
HGStore.store(HGPersistentHandle handle,
byte[] data)
Write raw binary data to the store using a pre-created, unique persistent handle.
|
HGPersistentHandle |
HGStore.store(HGPersistentHandle handle,
HGPersistentHandle[] link)
Create a new link in the HyperGraphDB store with an existing handle.
|
HGPersistentHandle |
HGStore.store(HGPersistentHandle handle,
HGPersistentHandle[] link)
Create a new link in the HyperGraphDB store with an existing handle.
|
Modifier and Type | Method and Description |
---|---|
void |
HGAtomCache.setIncidenceCache(HGCache<HGPersistentHandle,IncidenceSet> cache)
Set the implementation of the incidence sets cache to use.
|
Constructor and Description |
---|
HGEMissingData(HGPersistentHandle handle) |
Modifier and Type | Field and Description |
---|---|
protected HGSortedSet<HGPersistentHandle> |
HGAtomSet.impl |
Modifier and Type | Method and Description |
---|---|
HGPersistentHandle |
HGTypeStructuralInfo.getTypeHandle() |
HGPersistentHandle |
AtomQueueType.store(Object instance) |
HGPersistentHandle |
AtomStackType.store(Object instance) |
HGPersistentHandle |
HGRelType.store(Object instance) |
HGPersistentHandle |
AtomSetType.store(Object instance) |
HGPersistentHandle |
HGRelTypeConstructor.store(Object instance) |
Modifier and Type | Method and Description |
---|---|
HGSearchResult<HGPersistentHandle> |
HGRelTypeConstructor.find(HGRelType key) |
static HGIndex<HGPersistentHandle,HGPersistentHandle> |
HGSubgraph.getIndex(HyperGraph atGraph)
DO NOT USE: internal method, implementation dependent, may disappear at any time.
|
static HGIndex<HGPersistentHandle,HGPersistentHandle> |
HGSubgraph.getIndex(HyperGraph atGraph)
DO NOT USE: internal method, implementation dependent, may disappear at any time.
|
static HGIndex<HGPersistentHandle,HGPersistentHandle> |
HGSubgraph.getReverseIndex(HyperGraph atGraph)
DO NOT USE: internal method, implementation dependent, may disappear at any time.
|
static HGIndex<HGPersistentHandle,HGPersistentHandle> |
HGSubgraph.getReverseIndex(HyperGraph atGraph)
DO NOT USE: internal method, implementation dependent, may disappear at any time.
|
Modifier and Type | Method and Description |
---|---|
Object |
AtomQueueType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
AtomStackType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
HGRelType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
AtomSetType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
HGRelTypeConstructor.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
void |
AtomQueueType.release(HGPersistentHandle handle) |
void |
AtomStackType.release(HGPersistentHandle handle) |
void |
HGRelType.release(HGPersistentHandle handle) |
void |
AtomSetType.release(HGPersistentHandle handle) |
void |
HGRelTypeConstructor.release(HGPersistentHandle handle) |
void |
HGTypeStructuralInfo.setTypeHandle(HGPersistentHandle typeHandle) |
Constructor and Description |
---|
HGTypeStructuralInfo(HGPersistentHandle typeHandle,
int arity,
boolean ordered)
Construct a
HGTypeStructuralInfo with the given set of
parameters. |
Modifier and Type | Method and Description |
---|---|
HGCache<HGPersistentHandle,IncidenceSet> |
WeakRefAtomCache.getIncidenceCache() |
HGCache<HGPersistentHandle,IncidenceSet> |
DefaultAtomCache.getIncidenceCache() |
HGCache<HGPersistentHandle,IncidenceSet> |
PhantomRefAtomCache.getIncidenceCache() |
Modifier and Type | Method and Description |
---|---|
HGLiveHandle |
WeakRefAtomCache.atomAdded(HGPersistentHandle pHandle,
Object atom,
HGAtomAttrib attrib) |
HGLiveHandle |
DefaultAtomCache.atomAdded(HGPersistentHandle pHandle,
Object atom,
HGAtomAttrib attrib) |
HGLiveHandle |
PhantomRefAtomCache.atomAdded(HGPersistentHandle pHandle,
Object atom,
HGAtomAttrib attrib) |
HGLiveHandle |
WeakRefAtomCache.atomRead(HGPersistentHandle pHandle,
Object atom,
HGAtomAttrib attrib) |
HGLiveHandle |
DefaultAtomCache.atomRead(HGPersistentHandle pHandle,
Object atom,
HGAtomAttrib attrib)
Associate an atom instance and a persistent handle with a live handle.
|
HGLiveHandle |
PhantomRefAtomCache.atomRead(HGPersistentHandle pHandle,
Object atom,
HGAtomAttrib attrib) |
HGLiveHandle |
WeakRefAtomCache.get(HGPersistentHandle pHandle) |
HGLiveHandle |
DefaultAtomCache.get(HGPersistentHandle pHandle)
Lookup in the cache for a live handle corresponding to a persistent
handle.
|
HGLiveHandle |
PhantomRefAtomCache.get(HGPersistentHandle pHandle) |
Modifier and Type | Method and Description |
---|---|
void |
WeakRefAtomCache.setIncidenceCache(HGCache<HGPersistentHandle,IncidenceSet> cache) |
void |
DefaultAtomCache.setIncidenceCache(HGCache<HGPersistentHandle,IncidenceSet> cache) |
void |
PhantomRefAtomCache.setIncidenceCache(HGCache<HGPersistentHandle,IncidenceSet> cache) |
Modifier and Type | Method and Description |
---|---|
HGPersistentHandle |
HGLoadPredefinedTypeEvent.getTypeHandle() |
Constructor and Description |
---|
HGLoadPredefinedTypeEvent(HGPersistentHandle typeHandle) |
Modifier and Type | Class and Description |
---|---|
class |
IntPersistentHandle |
class |
LongPersistentHandle |
class |
UUIDPersistentHandle |
Modifier and Type | Field and Description |
---|---|
protected HGPersistentHandle |
DefaultLiveHandle.persistentHandle |
Modifier and Type | Method and Description |
---|---|
int |
LongPersistentHandle.compareTo(HGPersistentHandle other) |
int |
IntPersistentHandle.compareTo(HGPersistentHandle o) |
int |
UUIDPersistentHandle.compareTo(HGPersistentHandle other) |
Constructor and Description |
---|
DefaultLiveHandle(Object ref,
HGPersistentHandle persistentHandle,
byte flags) |
DefaultManagedLiveHandle(Object ref,
HGPersistentHandle pHandle,
byte flags,
long retrievalCount,
long lastAccessTime) |
PhantomHandle(Object ref,
HGPersistentHandle persistentHandle,
byte flags,
ReferenceQueue<Object> refQueue) |
PhantomManagedHandle(Object ref,
HGPersistentHandle persistentHandle,
byte flags,
ReferenceQueue<Object> refQueue,
long retrievalCount,
long lastAccessTime) |
WeakHandle(Object ref,
HGPersistentHandle persistentHandle,
byte flags,
ReferenceQueue<Object> refQueue) |
WeakManagedHandle(Object ref,
HGPersistentHandle persistentHandle,
byte flags,
ReferenceQueue<Object> refQueue,
long retrievalCount,
long lastAccessTime) |
Modifier and Type | Method and Description |
---|---|
HGPersistentHandle |
ByTargetIndexer.getKey(HyperGraph graph,
Object atom) |
Modifier and Type | Method and Description |
---|---|
ByteArrayConverter<HGPersistentHandle> |
ByTargetIndexer.getConverter(HyperGraph graph) |
Modifier and Type | Method and Description |
---|---|
void |
HGKeyIndexer.index(HyperGraph graph,
HGHandle atomHandle,
Object atom,
HGIndex<KeyType,HGPersistentHandle> index) |
void |
HGKeyIndexer.unindex(HyperGraph graph,
HGHandle atomHandle,
Object atom,
HGIndex<KeyType,HGPersistentHandle> index) |
Modifier and Type | Method and Description |
---|---|
HGPersistentHandle |
ApplyNewIndexer.getLastProcessed() |
Modifier and Type | Method and Description |
---|---|
void |
ApplyNewIndexer.setLastProcessed(HGPersistentHandle lastProcessed) |
Modifier and Type | Method and Description |
---|---|
HGPersistentHandle |
BAtoHandle.fromByteArray(byte[] byteArray,
int offset,
int length) |
HGPersistentHandle[] |
HGStoreSubgraph.getLink(HGPersistentHandle handle) |
HGPersistentHandle[] |
StorageWithAnnotatedIncidence.getLink(HGPersistentHandle handle) |
HGPersistentHandle[] |
StorageGraph.getLink(HGPersistentHandle handle) |
HGPersistentHandle[] |
HGStoreImplementation.getLink(HGPersistentHandle handle)
Return the link corresponding to a given handle or
null if it is not found. |
HGPersistentHandle[] |
RefDelegateStorageGraph.getLink(HGPersistentHandle handle) |
HGPersistentHandle[] |
RAMStorageGraph.getLink(HGPersistentHandle handle) |
HGPersistentHandle |
HGStoreSubgraph.store(HGPersistentHandle handle,
byte[] data) |
HGPersistentHandle |
StorageWithAnnotatedIncidence.store(HGPersistentHandle handle,
byte[] data) |
HGPersistentHandle |
StorageGraph.store(HGPersistentHandle handle,
byte[] data) |
HGPersistentHandle |
HGStoreImplementation.store(HGPersistentHandle handle,
byte[] data)
Store a raw data buffer and return its handle.
|
HGPersistentHandle |
RefDelegateStorageGraph.store(HGPersistentHandle handle,
byte[] data) |
HGPersistentHandle |
RAMStorageGraph.store(HGPersistentHandle handle,
byte[] data) |
HGPersistentHandle |
HGStoreSubgraph.store(HGPersistentHandle handle,
HGPersistentHandle[] link) |
HGPersistentHandle |
StorageWithAnnotatedIncidence.store(HGPersistentHandle handle,
HGPersistentHandle[] link) |
HGPersistentHandle |
StorageGraph.store(HGPersistentHandle handle,
HGPersistentHandle[] link) |
HGPersistentHandle |
HGStoreImplementation.store(HGPersistentHandle handle,
HGPersistentHandle[] link)
Store a primitive link and return its handle.
|
HGPersistentHandle |
RefDelegateStorageGraph.store(HGPersistentHandle handle,
HGPersistentHandle[] link) |
HGPersistentHandle |
RAMStorageGraph.store(HGPersistentHandle handle,
HGPersistentHandle[] link) |
Modifier and Type | Method and Description |
---|---|
void |
StorageWithAnnotatedIncidence.addIncidenceLink(HGPersistentHandle handle,
HGPersistentHandle newLink) |
void |
HGStoreImplementation.addIncidenceLink(HGPersistentHandle handle,
HGPersistentHandle newLink)
And an element to the incidence set of a given atom (as identified by the
handle
parameter). |
boolean |
StorageWithAnnotatedIncidence.containsData(HGPersistentHandle handle) |
boolean |
HGStoreImplementation.containsData(HGPersistentHandle handle)
Return
true if the data space contains data with the given
handle and false otherwise. |
boolean |
StorageWithAnnotatedIncidence.containsLink(HGPersistentHandle handle) |
boolean |
HGStoreImplementation.containsLink(HGPersistentHandle handle)
Return
true if there is a primitive link for the given handle. |
byte[] |
HGStoreSubgraph.getData(HGPersistentHandle handle) |
byte[] |
StorageWithAnnotatedIncidence.getData(HGPersistentHandle handle) |
byte[] |
StorageGraph.getData(HGPersistentHandle handle) |
byte[] |
HGStoreImplementation.getData(HGPersistentHandle handle)
Return the data corresponding to a given handle or
null if it is not found. |
byte[] |
RefDelegateStorageGraph.getData(HGPersistentHandle handle) |
byte[] |
RAMStorageGraph.getData(HGPersistentHandle handle) |
HGRandomAccessResult<HGPersistentHandle> |
StorageWithAnnotatedIncidence.getIncidenceResultSet(HGPersistentHandle handle) |
HGRandomAccessResult<HGPersistentHandle> |
HGStoreImplementation.getIncidenceResultSet(HGPersistentHandle handle)
Return the incidence set associate with the given handle.
|
long |
StorageWithAnnotatedIncidence.getIncidenceSetCardinality(HGPersistentHandle handle) |
long |
HGStoreImplementation.getIncidenceSetCardinality(HGPersistentHandle handle)
Return the number of elements of the incidence set for the given handle or 0
if no such set exists.
|
HGPersistentHandle[] |
HGStoreSubgraph.getLink(HGPersistentHandle handle) |
HGPersistentHandle[] |
StorageWithAnnotatedIncidence.getLink(HGPersistentHandle handle) |
HGPersistentHandle[] |
StorageGraph.getLink(HGPersistentHandle handle) |
HGPersistentHandle[] |
HGStoreImplementation.getLink(HGPersistentHandle handle)
Return the link corresponding to a given handle or
null if it is not found. |
HGPersistentHandle[] |
RefDelegateStorageGraph.getLink(HGPersistentHandle handle) |
HGPersistentHandle[] |
RAMStorageGraph.getLink(HGPersistentHandle handle) |
void |
RAMStorageGraph.put(HGPersistentHandle handle,
byte[] data) |
void |
RAMStorageGraph.put(HGPersistentHandle handle,
HGPersistentHandle[] linkData) |
void |
RAMStorageGraph.put(HGPersistentHandle handle,
HGPersistentHandle[] linkData) |
void |
StorageWithAnnotatedIncidence.removeData(HGPersistentHandle handle) |
void |
HGStoreImplementation.removeData(HGPersistentHandle handle)
Remove the data corresponding to a given handle.
|
void |
StorageWithAnnotatedIncidence.removeIncidenceLink(HGPersistentHandle handle,
HGPersistentHandle oldLink) |
void |
HGStoreImplementation.removeIncidenceLink(HGPersistentHandle handle,
HGPersistentHandle oldLink)
Remove a specifiec element from the incidence set of a given atom (as identified by
the
handle parameter). |
void |
StorageWithAnnotatedIncidence.removeIncidenceSet(HGPersistentHandle handle) |
void |
HGStoreImplementation.removeIncidenceSet(HGPersistentHandle handle)
Remove the incidence set associated with the given handle.
|
void |
StorageWithAnnotatedIncidence.removeLink(HGPersistentHandle handle) |
void |
HGStoreImplementation.removeLink(HGPersistentHandle handle)
Remove the link corresponding to a given handle.
|
HGPersistentHandle |
HGStoreSubgraph.store(HGPersistentHandle handle,
byte[] data) |
HGPersistentHandle |
StorageWithAnnotatedIncidence.store(HGPersistentHandle handle,
byte[] data) |
HGPersistentHandle |
StorageGraph.store(HGPersistentHandle handle,
byte[] data) |
HGPersistentHandle |
HGStoreImplementation.store(HGPersistentHandle handle,
byte[] data)
Store a raw data buffer and return its handle.
|
HGPersistentHandle |
RefDelegateStorageGraph.store(HGPersistentHandle handle,
byte[] data) |
HGPersistentHandle |
RAMStorageGraph.store(HGPersistentHandle handle,
byte[] data) |
HGPersistentHandle |
HGStoreSubgraph.store(HGPersistentHandle handle,
HGPersistentHandle[] link) |
HGPersistentHandle |
HGStoreSubgraph.store(HGPersistentHandle handle,
HGPersistentHandle[] link) |
HGPersistentHandle |
StorageWithAnnotatedIncidence.store(HGPersistentHandle handle,
HGPersistentHandle[] link) |
HGPersistentHandle |
StorageWithAnnotatedIncidence.store(HGPersistentHandle handle,
HGPersistentHandle[] link) |
HGPersistentHandle |
StorageGraph.store(HGPersistentHandle handle,
HGPersistentHandle[] link) |
HGPersistentHandle |
StorageGraph.store(HGPersistentHandle handle,
HGPersistentHandle[] link) |
HGPersistentHandle |
HGStoreImplementation.store(HGPersistentHandle handle,
HGPersistentHandle[] link)
Store a primitive link and return its handle.
|
HGPersistentHandle |
HGStoreImplementation.store(HGPersistentHandle handle,
HGPersistentHandle[] link)
Store a primitive link and return its handle.
|
HGPersistentHandle |
RefDelegateStorageGraph.store(HGPersistentHandle handle,
HGPersistentHandle[] link) |
HGPersistentHandle |
RefDelegateStorageGraph.store(HGPersistentHandle handle,
HGPersistentHandle[] link) |
HGPersistentHandle |
RAMStorageGraph.store(HGPersistentHandle handle,
HGPersistentHandle[] link) |
HGPersistentHandle |
RAMStorageGraph.store(HGPersistentHandle handle,
HGPersistentHandle[] link) |
byte[] |
BAtoHandle.toByteArray(HGPersistentHandle object) |
Constructor and Description |
---|
RAMStorageGraph(HGPersistentHandle root) |
Constructor and Description |
---|
RAMStorageGraph(Set<HGPersistentHandle> roots) |
RefDelegateStorageGraph(StorageGraph wrapped,
Map<HGPersistentHandle,HGPersistentHandle> delegates) |
RefDelegateStorageGraph(StorageGraph wrapped,
Map<HGPersistentHandle,HGPersistentHandle> delegates) |
Modifier and Type | Field and Description |
---|---|
protected HGIndex<String,HGPersistentHandle> |
JavaObjectMapper.idx |
Modifier and Type | Method and Description |
---|---|
HGPersistentHandle |
PredefinedTypeDescriptor.getHandle() |
static HGPersistentHandle |
TypeUtils.getHandleFor(HyperGraph graph,
Object value) |
static HGPersistentHandle |
TypeUtils.getNewHandleFor(HyperGraph hg,
Object value) |
HGPersistentHandle |
ArrayTypeConstructor.store(Object instance) |
HGPersistentHandle |
CollectionType.store(Object instance) |
HGPersistentHandle |
JavaBeanBinding.store(Object instance) |
HGPersistentHandle |
RecordType.store(Object instance) |
HGPersistentHandle |
NullType.store(Object instance) |
HGPersistentHandle |
JavaAbstractBinding.store(Object instance) |
HGPersistentHandle |
MapType.store(Object instance) |
HGPersistentHandle |
HGAbstractType.store(Object instance) |
HGPersistentHandle |
ArrayType.store(Object instance) |
HGPersistentHandle |
RecordTypeConstructor.store(Object instance) |
HGPersistentHandle |
PairType.store(Object instance) |
HGPersistentHandle |
AtomRefType.store(Object instance) |
HGPersistentHandle |
SubsumesType.store(Object instance) |
HGPersistentHandle |
PlainLinkType.store(Object instance) |
HGPersistentHandle |
CollectionTypeConstructor.store(Object instance) |
HGPersistentHandle |
JavaObjectBinding.store(Object instance) |
HGPersistentHandle |
TextType.store(Object instance) |
HGPersistentHandle |
HGAtomType.store(Object instance)
Store a run-time instance of a hypergraph atom into the hypergraph
HGStore
as a new atom. |
HGPersistentHandle |
MapTypeConstructor.store(Object instance) |
HGPersistentHandle |
LinkType.store(Object instance) |
HGPersistentHandle |
SerializableType.store(Object instance) |
HGPersistentHandle |
Top.store(Object instance) |
HGPersistentHandle |
SlotType.store(Object instance) |
HGPersistentHandle |
AbstractTypeConstructor.store(Object instance) |
static HGPersistentHandle |
TypeUtils.storeValue(HyperGraph graph,
Object value,
HGAtomType type) |
Modifier and Type | Method and Description |
---|---|
HGSearchResult<HGPersistentHandle> |
AtomRefType.find(HGPersistentHandle key)
The key is expected to be of type
HGAtomRef OR of
type HGHandle . |
HGSearchResult<HGPersistentHandle> |
SlotType.find(Slot key) |
HGIndex<HGPersistentHandle,HGPersistentHandle> |
AtomRefType.getFloatingIdx() |
HGIndex<HGPersistentHandle,HGPersistentHandle> |
AtomRefType.getFloatingIdx() |
HGIndex<HGPersistentHandle,HGPersistentHandle> |
AtomRefType.getHardIdx() |
HGIndex<HGPersistentHandle,HGPersistentHandle> |
AtomRefType.getHardIdx() |
protected HGIndex<String,HGPersistentHandle> |
JavaObjectMapper.getIndex() |
HGIndex<HGPersistentHandle,HGPersistentHandle> |
AtomRefType.getSymbolicIdx() |
HGIndex<HGPersistentHandle,HGPersistentHandle> |
AtomRefType.getSymbolicIdx() |
Modifier and Type | Method and Description |
---|---|
HGSearchResult<HGPersistentHandle> |
AtomRefType.find(HGPersistentHandle key)
The key is expected to be of type
HGAtomRef OR of
type HGHandle . |
static Object |
TypeUtils.getValueFor(HyperGraph graph,
HGPersistentHandle h) |
static boolean |
TypeUtils.isValueReleased(HyperGraph graph,
HGPersistentHandle h) |
Object |
ArrayTypeConstructor.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
CollectionType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
JavaBeanBinding.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
RecordType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
NullType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
JavaAbstractBinding.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
MapType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
HGAbstractType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
ArrayType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
RecordTypeConstructor.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
PairType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
AtomRefType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
SubsumesType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
PlainLinkType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
CollectionTypeConstructor.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
JavaObjectBinding.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
TextType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
HGAtomType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet)
Construct a new run-time instance of a hypergraph atom.
|
Object |
MapTypeConstructor.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
LinkType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
SerializableType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
Top.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
SlotType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
AbstractTypeConstructor.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
static Object |
TypeUtils.makeValue(HyperGraph graph,
HGPersistentHandle h,
HGAtomType type) |
void |
ArrayTypeConstructor.release(HGPersistentHandle handle) |
void |
CollectionType.release(HGPersistentHandle handle) |
void |
JavaBeanBinding.release(HGPersistentHandle handle) |
void |
RecordType.release(HGPersistentHandle handle) |
void |
NullType.release(HGPersistentHandle handle) |
void |
JavaAbstractBinding.release(HGPersistentHandle handle) |
void |
MapType.release(HGPersistentHandle handle) |
void |
HGAbstractType.release(HGPersistentHandle handle) |
void |
ArrayType.release(HGPersistentHandle handle) |
void |
RecordTypeConstructor.release(HGPersistentHandle handle) |
void |
PairType.release(HGPersistentHandle handle) |
void |
AtomRefType.release(HGPersistentHandle handle) |
void |
SubsumesType.release(HGPersistentHandle handle) |
void |
PlainLinkType.release(HGPersistentHandle handle) |
void |
CollectionTypeConstructor.release(HGPersistentHandle handle) |
void |
JavaObjectBinding.release(HGPersistentHandle handle) |
void |
TextType.release(HGPersistentHandle handle) |
void |
HGAtomType.release(HGPersistentHandle handle)
Release a hypergraph value instance from the persistent store.
|
void |
MapTypeConstructor.release(HGPersistentHandle handle) |
void |
LinkType.release(HGPersistentHandle handle) |
void |
SerializableType.release(HGPersistentHandle handle) |
void |
Top.release(HGPersistentHandle handle) |
void |
SlotType.release(HGPersistentHandle handle) |
void |
AbstractTypeConstructor.release(HGPersistentHandle handle) |
static void |
TypeUtils.releaseValue(HyperGraph graph,
HGAtomType type,
HGPersistentHandle h) |
void |
PredefinedTypeDescriptor.setHandle(HGPersistentHandle handle) |
static void |
TypeUtils.setValueFor(HyperGraph graph,
HGPersistentHandle h,
Object value) |
Constructor and Description |
---|
PredefinedTypeDescriptor(HGPersistentHandle handle,
String implementationClassName) |
PredefinedTypeDescriptor(HGPersistentHandle handle,
String implementationClassName,
String[] supportedClasses) |
Modifier and Type | Field and Description |
---|---|
protected HGSortIndex<byte[],HGPersistentHandle> |
PrimitiveTypeBase.valueIndex |
Modifier and Type | Method and Description |
---|---|
HGPersistentHandle |
FloatPrimitiveArrayType.store(Object instance) |
HGPersistentHandle |
ShortPrimitiveArrayType.store(Object instance) |
HGPersistentHandle |
PrimitiveTypeBase.store(Object instance) |
HGPersistentHandle |
DoublePrimitiveArrayType.store(Object instance) |
HGPersistentHandle |
EnumType.store(Object instance) |
HGPersistentHandle |
CharPrimitiveArrayType.store(Object instance) |
HGPersistentHandle |
LongPrimitiveArrayType.store(Object instance) |
HGPersistentHandle |
BytePrimitiveArrayType.store(Object instance) |
HGPersistentHandle |
EnumTypeConstructor.store(Object instance) |
HGPersistentHandle |
BooleanPrimitiveArrayType.store(Object instance) |
HGPersistentHandle |
IntPrimitiveArrayType.store(Object instance) |
protected HGPersistentHandle |
PrimitiveTypeBase.storeImpl(byte[] data) |
Modifier and Type | Method and Description |
---|---|
HGSearchResult<HGPersistentHandle> |
PrimitiveTypeBase.find(JavaType key) |
HGSearchResult<HGPersistentHandle> |
PrimitiveTypeBase.findGT(JavaType key) |
HGSearchResult<HGPersistentHandle> |
PrimitiveTypeBase.findGTE(JavaType key) |
HGSearchResult<HGPersistentHandle> |
PrimitiveTypeBase.findLT(JavaType key) |
HGSearchResult<HGPersistentHandle> |
PrimitiveTypeBase.findLTE(JavaType key) |
protected HGSortIndex<byte[],HGPersistentHandle> |
PrimitiveTypeBase.getIndex() |
Modifier and Type | Method and Description |
---|---|
Object |
FloatPrimitiveArrayType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
ShortPrimitiveArrayType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
PrimitiveTypeBase.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
DoublePrimitiveArrayType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
EnumType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
CharPrimitiveArrayType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
LongPrimitiveArrayType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
BytePrimitiveArrayType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
EnumTypeConstructor.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
BooleanPrimitiveArrayType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
Object |
IntPrimitiveArrayType.make(HGPersistentHandle handle,
LazyRef<HGHandle[]> targetSet,
IncidenceSetRef incidenceSet) |
void |
PrimitiveTypeBase.release(HGPersistentHandle handle) |
void |
EnumType.release(HGPersistentHandle handle) |
void |
PrimitiveArrayType.release(HGPersistentHandle handle) |
void |
EnumTypeConstructor.release(HGPersistentHandle handle) |
Modifier and Type | Field and Description |
---|---|
static HGPersistentHandle[] |
HGUtils.EMPTY_HANDLE_ARRAY |
Modifier and Type | Method and Description |
---|---|
HGPersistentHandle |
PredefinedTypesConfig.getHandleOf(Class<? extends HGAtomType> typeImplementation) |
Modifier and Type | Method and Description |
---|---|
Collection<HGPersistentHandle> |
PredefinedTypesConfig.getHandles() |
Modifier and Type | Method and Description |
---|---|
List<Class<?>> |
PredefinedTypesConfig.getMappedClasses(HGPersistentHandle typeHandle) |
Class<? extends HGAtomType> |
PredefinedTypesConfig.getTypeImplementation(HGPersistentHandle typeHandle) |
Copyright © 2015. All rights reserved.