Uses of Class
org.hypergraphdb.HyperGraph

Packages that use HyperGraph
org.hypergraphdb Welcome to HyperGraphDB 
org.hypergraphdb.algorithms   
org.hypergraphdb.atom   
org.hypergraphdb.cache   
org.hypergraphdb.event   
org.hypergraphdb.indexing   
org.hypergraphdb.maintenance   
org.hypergraphdb.peer   
org.hypergraphdb.peer.log   
org.hypergraphdb.peer.replication   
org.hypergraphdb.peer.serializer   
org.hypergraphdb.peer.workflow   
org.hypergraphdb.query   
org.hypergraphdb.query.cond2qry   
org.hypergraphdb.query.impl   
org.hypergraphdb.transaction   
org.hypergraphdb.type   
org.hypergraphdb.type.javaprimitive   
org.hypergraphdb.util   
 

Uses of HyperGraph in org.hypergraphdb
 

Methods in org.hypergraphdb that return HyperGraph
static HyperGraph HGEnvironment.get(java.lang.String location)
           Retrieve an already opened or open a HyperGraph instance.
static HyperGraph HGEnvironment.get(java.lang.String location, HGConfiguration config)
          Retrieve the HyperGraphDB instance at the specified location and open it (if not already opened) with the given configuration.
static HyperGraph HGEnvironment.getExistingOnly(java.lang.String location)
           Same as get, but will return null if there is no database at that location.
 HyperGraph HGQuery.getHyperGraph()
           
 HyperGraph HGTypeSystem.getHyperGraph()
          Return the HyperGraph on which this type system operates.
 

Methods in org.hypergraphdb with parameters of type HyperGraph
static HGHandle HGQuery.hg.addUnique(HyperGraph graph, java.lang.Object instance, java.lang.Class javaClass, HGQueryCondition condition)
           
static HGHandle HGQuery.hg.addUnique(HyperGraph graph, java.lang.Object instance, HGHandle typeHandle, HGQueryCondition condition)
           
static HGHandle HGQuery.hg.addUnique(HyperGraph graph, java.lang.Object instance, HGQueryCondition condition)
           
static long HGQuery.hg.count(HyperGraph graph, HGQueryCondition cond)
           Count the number of atoms that match the query condition parameter.
static Mapping<HGHandle,java.lang.Object> HGQuery.hg.deref(HyperGraph graph)
           
static
<T> java.util.List<T>
HGQuery.hg.findAll(HyperGraph graph, HGQueryCondition condition)
           Run a query based on the specified condition and put all HGHandles from the result set into a java.util.List.
static
<T> T
HGQuery.hg.findOne(HyperGraph graph, HGQueryCondition condition)
           Run a query based on the passed in condition.
static
<T> java.util.List<T>
HGQuery.hg.getAll(HyperGraph graph, HGQueryCondition condition)
           Run a query based on the specified condition and put all atom instances from the result set into a java.util.List.
static
<T> T
HGQuery.hg.getOne(HyperGraph graph, HGQueryCondition condition)
           Run a query based on the passed in condition.
static
<SearchResult>
HGQuery<SearchResult>
HGQuery.make(HyperGraph hg, HGQueryCondition condition)
           
 void HGGraphHolder.setHyperGraph(HyperGraph graph)
          During load time, set the HyperGraph instance to which this atom belongs.
 void HGQuery.setHyperGraph(HyperGraph graph)
           
 void HGAtomCache.setHyperGraph(HyperGraph hg)
           Set the HyperGraph within which this cache is operating.
static Mapping<HGHandle,HGHandle> HGQuery.hg.targetAt(HyperGraph graph, int targetPosition)
           
 

Constructors in org.hypergraphdb with parameters of type HyperGraph
HGIndexManager(HyperGraph graph)
           
HGTypeSystem(HyperGraph hg)
          Construct the HGtypeSystem associated with a hypergraph.
IncidenceSetRef(HGHandle atomHandle, HyperGraph graph)
           
 

Uses of HyperGraph in org.hypergraphdb.algorithms
 

Methods in org.hypergraphdb.algorithms that return HyperGraph
 HyperGraph DefaultALGenerator.getGraph()
           
 

Methods in org.hypergraphdb.algorithms with parameters of type HyperGraph
 void DefaultALGenerator.setGraph(HyperGraph graph)
           
 

Constructors in org.hypergraphdb.algorithms with parameters of type HyperGraph
DefaultALGenerator(HyperGraph graph)
           Construct with default values: no link or sibling predicate, returning all siblings in their normal storage order.
DefaultALGenerator(HyperGraph hg, HGAtomPredicate linkPredicate, HGAtomPredicate siblingPredicate)
           Construct a default adjency list generator where links are considered unordered.
DefaultALGenerator(HyperGraph hg, HGAtomPredicate linkPredicate, HGAtomPredicate siblingPredicate, boolean returnPreceeding, boolean returnSucceeding, boolean reverseOrder)
           Construct a default adjency list generator where links are considered ordered.
DefaultALGenerator(HyperGraph graph, HGAtomPredicate linkPredicate, HGAtomPredicate siblingPredicate, boolean returnPreceeding, boolean returnSucceeding, boolean reverseOrder, boolean returnSource)
           Construct a default adjency list generator where links are considered ordered.
SimpleALGenerator(HyperGraph hg)
          Construct a SimpleALGenerator for the given HyperGraph instance.
 

Uses of HyperGraph in org.hypergraphdb.atom
 

Methods in org.hypergraphdb.atom with parameters of type HyperGraph
 void AtomStackType.setHyperGraph(HyperGraph hg)
           
 void AtomSetType.setHyperGraph(HyperGraph hg)
           
 void AtomQueueType.setHyperGraph(HyperGraph hg)
           
 

Uses of HyperGraph in org.hypergraphdb.cache
 

Methods in org.hypergraphdb.cache with parameters of type HyperGraph
 void WeakRefAtomCache.setHyperGraph(HyperGraph hg)
           
 void DefaultAtomCache.setHyperGraph(HyperGraph hg)
           
 

Uses of HyperGraph in org.hypergraphdb.event
 

Methods in org.hypergraphdb.event with parameters of type HyperGraph
 HGListener.Result HGEventManager.dispatch(HyperGraph hg, HGEvent event)
           
 HGListener.Result HGListener.handle(HyperGraph graph, HGEvent event)
           
 

Uses of HyperGraph in org.hypergraphdb.indexing
 

Methods in org.hypergraphdb.indexing with parameters of type HyperGraph
 java.util.Comparator<?> TargetToTargetIndexer.getComparator(HyperGraph graph)
           
 java.util.Comparator<?> LinkIndexer.getComparator(HyperGraph graph)
           
abstract  java.util.Comparator<?> HGIndexer.getComparator(HyperGraph graph)
           Return a comparator used to compare key values return by this indexer.
 java.util.Comparator<?> CompositeIndexer.getComparator(HyperGraph graph)
           
 java.util.Comparator<?> ByTargetIndexer.getComparator(HyperGraph graph)
           
 java.util.Comparator<?> ByPartIndexer.getComparator(HyperGraph graph)
           
 ByteArrayConverter<?> TargetToTargetIndexer.getConverter(HyperGraph graph)
           
 ByteArrayConverter<?> LinkIndexer.getConverter(HyperGraph graph)
           
abstract  ByteArrayConverter<?> HGIndexer.getConverter(HyperGraph graph)
          Return a ByteArrayConverter capable of translating keys returned by this indexer to/from a byte[].
 ByteArrayConverter<?> CompositeIndexer.getConverter(HyperGraph graph)
           
 ByteArrayConverter<HGPersistentHandle> ByTargetIndexer.getConverter(HyperGraph graph)
           
 ByteArrayConverter<?> ByPartIndexer.getConverter(HyperGraph graph)
           
 java.lang.Object TargetToTargetIndexer.getKey(HyperGraph graph, java.lang.Object atom)
           
 java.lang.Object LinkIndexer.getKey(HyperGraph graph, java.lang.Object atom)
           
abstract  java.lang.Object HGIndexer.getKey(HyperGraph graph, java.lang.Object atom)
           Returns an index key for the given atom.
 java.lang.Object CompositeIndexer.getKey(HyperGraph graph, java.lang.Object atom)
           
 java.lang.Object ByTargetIndexer.getKey(HyperGraph graph, java.lang.Object atom)
           
 java.lang.Object ByPartIndexer.getKey(HyperGraph graph, java.lang.Object atom)
           
 java.lang.Object TargetToTargetIndexer.getValue(HyperGraph graph, java.lang.Object atom)
           
abstract  java.lang.Object HGValueIndexer.getValue(HyperGraph graph, java.lang.Object atom)
           Return the value of an index entry based on the passed in atom.
 ByteArrayConverter<HGHandle> TargetToTargetIndexer.getValueConverter(HyperGraph graph)
           
abstract  ByteArrayConverter<?> HGValueIndexer.getValueConverter(HyperGraph graph)
           Return a ByteArrayConverter capable of converting index entry values to/from byte arrays.
 

Uses of HyperGraph in org.hypergraphdb.maintenance
 

Methods in org.hypergraphdb.maintenance with parameters of type HyperGraph
 void MaintenanceOperation.execute(HyperGraph graph)
           Execute a maintenance operation.
 void ApplyNewIndexer.execute(HyperGraph graph)
           
 

Uses of HyperGraph in org.hypergraphdb.peer
 

Methods in org.hypergraphdb.peer that return HyperGraph
 HyperGraph HyperGraphPeer.getGraph()
           
 HyperGraph InterestEvaluator.getHg()
           
 HyperGraph HyperGraphPeer.getTempDb()
           
 

Methods in org.hypergraphdb.peer with parameters of type HyperGraph
static java.lang.Object SubgraphManager.get(Subgraph subgraph, HyperGraph graph)
           
 void InterestEvaluator.setHg(HyperGraph hg)
           
 

Constructors in org.hypergraphdb.peer with parameters of type HyperGraph
HyperGraphPeer(java.io.File configFile, HyperGraph graph)
          Creates a peer from a file containing the JSON object and a given local database.
HyperGraphPeer(java.util.Map<java.lang.String,java.lang.Object> configuration, HyperGraph graph)
          Creates a peer from a JSON object and a given local database.
InterestEvaluator(PeerInterface peerInterface, HyperGraph hg)
           
Subgraph(HyperGraph graph, HGPersistentHandle handle)
           
 

Uses of HyperGraph in org.hypergraphdb.peer.log
 

Constructors in org.hypergraphdb.peer.log with parameters of type HyperGraph
Log(HyperGraph logDb, PeerInterface peerInterface)
           
LogEntry(HGHandle handle, HyperGraph logDb, Timestamp timestamp)
           
LogEntry(java.lang.Object value, HyperGraph logDb, HGPersistentHandle handle, StorageService.Operation operation)
           
LogEntry(java.lang.Object value, HyperGraph logDb, StorageService.Operation operation)
           
 

Uses of HyperGraph in org.hypergraphdb.peer.replication
 

Constructors in org.hypergraphdb.peer.replication with parameters of type HyperGraph
RememberTaskClient(HyperGraphPeer thisPeer, java.lang.Object value, Log log, HyperGraph hg, HGPersistentHandle handle, StorageService.Operation operation)
           
 

Uses of HyperGraph in org.hypergraphdb.peer.serializer
 

Methods in org.hypergraphdb.peer.serializer that return HyperGraph
static HyperGraph GenericSerializer.getTempDB()
           
 

Methods in org.hypergraphdb.peer.serializer with parameters of type HyperGraph
static void GenericSerializer.setTempDB(HyperGraph tempDB)
           
 

Uses of HyperGraph in org.hypergraphdb.peer.workflow
 

Constructors in org.hypergraphdb.peer.workflow with parameters of type HyperGraph
QueryTaskClient(HyperGraphPeer thisPeer, HyperGraph tempGraph)
           
QueryTaskClient(HyperGraphPeer thisPeer, HyperGraph tempGraph, java.util.Iterator<java.lang.Object> targets, HGHandle handle)
           
QueryTaskClient(HyperGraphPeer thisPeer, HyperGraph tempGraph, java.util.Iterator<java.lang.Object> targets, HGQueryCondition cond, boolean getObject)
           
QueryTaskClient(HyperGraphPeer thisPeer, HyperGraph tempGraph, PeerFilterEvaluator evaluator, HGHandle handle)
           
QueryTaskClient(HyperGraphPeer thisPeer, HyperGraph tempGraph, PeerFilterEvaluator evaluator, HGQueryCondition cond, boolean getObject)
           
 

Uses of HyperGraph in org.hypergraphdb.query
 

Methods in org.hypergraphdb.query with parameters of type HyperGraph
 java.util.List<HGHandle> TypePlusCondition.getSubTypes(HyperGraph graph)
           
abstract  HGTraversal TraversalCondition.getTraversal(HyperGraph graph)
           
 HGTraversal DFSCondition.getTraversal(HyperGraph graph)
           
 HGTraversal BFSCondition.getTraversal(HyperGraph graph)
           
 HGALGenerator TraversalCondition.makeGenerator(HyperGraph graph)
           
 boolean TypePlusCondition.satisfies(HyperGraph graph, HGHandle handle)
           
 boolean TypedValueCondition.satisfies(HyperGraph hg, HGHandle handle)
           
 boolean TargetCondition.satisfies(HyperGraph graph, HGHandle handle)
           
 boolean SubsumesCondition.satisfies(HyperGraph hg, HGHandle general)
           
 boolean SubsumedCondition.satisfies(HyperGraph hg, HGHandle specific)
           
 boolean OrderedLinkCondition.satisfies(HyperGraph hg, HGHandle handle)
           
 boolean Or.satisfies(HyperGraph hg, HGHandle value)
           
 boolean Not.satisfies(HyperGraph hg, HGHandle value)
           
 boolean MapCondition.satisfies(HyperGraph hg, HGHandle handle)
           
 boolean LinkCondition.satisfies(HyperGraph hg, HGHandle handle)
          Return true if handle points to a link whose target set is a superset of this condition's targetSet.
 boolean IncidentCondition.satisfies(HyperGraph hg, HGHandle handle)
           
 boolean HGAtomPredicate.satisfies(HyperGraph graph, HGHandle handle)
          Check whether a given Object satisfies this query condition.
 boolean AtomValueCondition.satisfies(HyperGraph hg, HGHandle handle)
           
 boolean AtomTypeCondition.satisfies(HyperGraph hg, HGHandle value)
           
 boolean AtomProjectionCondition.satisfies(HyperGraph graph, HGHandle handle)
           
 boolean AtomPartCondition.satisfies(HyperGraph hg, HGHandle handle)
           
 boolean ArityCondition.satisfies(HyperGraph hg, HGHandle handle)
          Return true if handle to a HyperGraph link and false if it refers to a HyperGraph node.
 boolean AnyAtomCondition.satisfies(HyperGraph hg, HGHandle handle)
           
 boolean And.satisfies(HyperGraph hg, HGHandle value)
           
 

Uses of HyperGraph in org.hypergraphdb.query.cond2qry
 

Methods in org.hypergraphdb.query.cond2qry with parameters of type HyperGraph
 org.hypergraphdb.query.cond2qry.QueryMetaData LinkToQuery.getMetaData(HyperGraph graph, HGQueryCondition c)
           
 org.hypergraphdb.query.cond2qry.QueryMetaData IncidentToQuery.getMetaData(HyperGraph graph, HGQueryCondition c)
           
 org.hypergraphdb.query.cond2qry.QueryMetaData ConditionToQuery.getMetaData(HyperGraph graph, HGQueryCondition condition)
           
 org.hypergraphdb.query.cond2qry.QueryMetaData AndToQuery.getMetaData(HyperGraph graph, HGQueryCondition condition)
           
 HGQuery<?> LinkToQuery.getQuery(HyperGraph graph, HGQueryCondition c)
           
 HGQuery<?> IncidentToQuery.getQuery(HyperGraph graph, HGQueryCondition c)
           
 HGQuery<?> ConditionToQuery.getQuery(HyperGraph graph, HGQueryCondition condition)
           
 HGQuery<?> AndToQuery.getQuery(HyperGraph graph, HGQueryCondition condition)
           
 

Constructors in org.hypergraphdb.query.cond2qry with parameters of type HyperGraph
ExpressionBasedQuery(HyperGraph graph, HGQueryCondition condition)
           
 

Uses of HyperGraph in org.hypergraphdb.query.impl
 

Methods in org.hypergraphdb.query.impl that return HyperGraph
 HyperGraph DerefMapping.getGraph()
           
 

Methods in org.hypergraphdb.query.impl with parameters of type HyperGraph
 boolean RABasedPredicate.satisfies(HyperGraph hg, HGHandle handle)
          Return true if handle is a member of the HGRandomAccessResult set on which this predicate is based.
 boolean DelayedSetLoadPredicate.satisfies(HyperGraph hg, HGHandle handle)
           
 

Constructors in org.hypergraphdb.query.impl with parameters of type HyperGraph
DefaultKeyBasedQuery(HyperGraph graph, HGQueryCondition cond, ValueSetter setter)
           
DerefMapping(HyperGraph graph)
           
FilteredResultSet(HyperGraph hg, HGSearchResult<T> searchResult, HGAtomPredicate predicate, int lookahead)
           The constructor assumes the underlying set is already positioned to the first matching entity.
PredicateBasedFilter(HyperGraph hg, HGQuery query, HGAtomPredicate predicate)
          Construct a PredicateBasedFilter, filtering the result set of a given query based on a HGQueryCondition.
ProjectionAtomResultSet(HyperGraph graph, HGSearchResult searchResult, java.lang.String[] dimensionPath, HGHandle baseType)
           The constructor assumes the underlying set is already positioned to the first matching entity.
 

Uses of HyperGraph in org.hypergraphdb.transaction
 

Methods in org.hypergraphdb.transaction that return HyperGraph
 HyperGraph BDBTxLock.getGraph()
           
 

Constructors in org.hypergraphdb.transaction with parameters of type HyperGraph
BDBTxLock(HyperGraph graph, byte[] objectId)
           
BDBTxLock(HyperGraph graph, com.sleepycat.db.DatabaseEntry objectId)
           
 

Uses of HyperGraph in org.hypergraphdb.type
 

Methods in org.hypergraphdb.type that return HyperGraph
 HyperGraph HGAtomTypeBase.getHyperGraph()
           
 

Methods in org.hypergraphdb.type with parameters of type HyperGraph
static boolean TypeUtils.deleteInstances(HyperGraph graph, HGHandle type)
           
static boolean TypeUtils.deleteType(HyperGraph graph, java.lang.Class<?> type, boolean recursive)
           
static boolean TypeUtils.deleteType(HyperGraph graph, HGHandle type)
           
static boolean TypeUtils.deleteType(HyperGraph graph, HGHandle th, boolean recursive)
           
static HGPersistentHandle TypeUtils.getNewHandleFor(HyperGraph hg, java.lang.Object value)
           
static HGProjection TypeUtils.getProjection(HyperGraph hg, HGAtomType type, java.lang.String[] dimPath)
           
static java.util.Map<HGPersistentHandle,java.lang.Object> TypeUtils.getThreadHandleRefMap(HyperGraph graph)
           
static java.util.Set<HGPersistentHandle> TypeUtils.getTransactionHandleSet(HyperGraph hg)
           
static java.util.Map<java.lang.Object,HGPersistentHandle> TypeUtils.getTransactionObjectRefMap(HyperGraph hg)
           
static boolean TypeUtils.isValueReleased(HyperGraph graph, HGPersistentHandle h)
           
static java.lang.Object TypeUtils.makeValue(HyperGraph graph, HGPersistentHandle h, HGAtomType type)
           
static HGTypedValue TypeUtils.project(HyperGraph hg, HGHandle type, java.lang.Object value, java.lang.String[] dimPath, boolean throwExceptionOnNotFound)
           
static void TypeUtils.releaseValue(HyperGraph graph, HGPersistentHandle h)
           
 void Top.setHyperGraph(HyperGraph hg)
           
 void SubsumesType.setHyperGraph(HyperGraph hg)
           
 void SlotType.setHyperGraph(HyperGraph hg)
           
 void SerializableType.setHyperGraph(HyperGraph hg)
           
 void RecordType.setHyperGraph(HyperGraph hg)
           
 void PlainLinkType.setHyperGraph(HyperGraph hg)
           
 void NullType.setHyperGraph(HyperGraph hg)
           
 void MapTypeConstructor.setHyperGraph(HyperGraph hg)
           
 void MapType.setHyperGraph(HyperGraph hg)
           
 void LinkType.setHyperGraph(HyperGraph hg)
           
 void JavaTypeFactory.setHyperGraph(HyperGraph graph)
           
 void JavaObjectMapper.setHyperGraph(HyperGraph graph)
           
 void JavaAbstractBinding.setHyperGraph(HyperGraph hg)
           
 void HGAtomTypeBase.setHyperGraph(HyperGraph hg)
           
 void HGAbstractType.setHyperGraph(HyperGraph hg)
           
 void DefaultJavaTypeMapper.setHyperGraph(HyperGraph graph)
           
 void CollectionTypeConstructor.setHyperGraph(HyperGraph hg)
           
 void CollectionType.setHyperGraph(HyperGraph hg)
           
 void AtomRefType.setHyperGraph(HyperGraph hg)
           
 void ArrayTypeConstructor.setHyperGraph(HyperGraph hg)
           
 void ArrayType.setHyperGraph(HyperGraph hg)
           
 void AbstractTypeConstructor.setHyperGraph(HyperGraph hg)
           
static void TypeUtils.setValueFor(HyperGraph graph, HGPersistentHandle h, java.lang.Object value)
           
static HGPersistentHandle TypeUtils.storeValue(HyperGraph graph, java.lang.Object value, HGAtomType type)
           
static java.util.List<HGHandle> TypeUtils.subsumesClosure(HyperGraph graph, HGHandle baseType)
           
 

Uses of HyperGraph in org.hypergraphdb.type.javaprimitive
 

Methods in org.hypergraphdb.type.javaprimitive with parameters of type HyperGraph
 void PrimitiveTypeBase.setHyperGraph(HyperGraph hg)
           
 void PrimitiveArrayType.setHyperGraph(HyperGraph hg)
           
 

Uses of HyperGraph in org.hypergraphdb.util
 

Constructors in org.hypergraphdb.util with parameters of type HyperGraph
HGLock(HyperGraph graph, byte[] objectId)