| Package | Description | 
|---|---|
| org.hypergraphdb | 
 Welcome to HyperGraphDB 
 | 
| org.hypergraphdb.algorithms | |
| org.hypergraphdb.query | |
| org.hypergraphdb.query.cond2qry | |
| org.hypergraphdb.query.impl | |
| org.hypergraphdb.util | 
| Modifier and Type | Method and Description | 
|---|---|
static <T> Ref<T> | 
HGQuery.hg.constant(T value)
Create a new constant reference. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static ArityCondition | 
HGQuery.hg.arity(Ref<Integer> i)
Return a condition constraining the query result set to being links with the specified arity (number
 of targets). 
 | 
static BFSCondition | 
HGQuery.hg.bfs(Ref<HGHandle> start)
 Return a condition whose result set is the breadth first traversal of the graph
 starting a given atom. 
 | 
static BFSCondition | 
HGQuery.hg.bfs(Ref<HGHandle> start,
   HGAtomPredicate lp,
   HGAtomPredicate sp)
 Return a condition whose result set is the breadth first traversal of the graph
 starting a given atom. 
 | 
static BFSCondition | 
HGQuery.hg.bfs(Ref<HGHandle> start,
   HGAtomPredicate lp,
   HGAtomPredicate sp,
   boolean returnPreceding,
   boolean returnSucceeding)
 Return a condition whose result set is the breadth first traversal of the graph
 starting a given atom. 
 | 
static DFSCondition | 
HGQuery.hg.dfs(Ref<HGHandle> start)
 Return a condition whose result set is the depth first traversal of the graph
 starting with a given atom. 
 | 
static DFSCondition | 
HGQuery.hg.dfs(Ref<HGHandle> start,
   HGAtomPredicate linkPredicate,
   HGAtomPredicate siblingPredicate)
 Return a condition whose result set is the depth first traversal of the graph
 starting with a given atom. 
 | 
static DFSCondition | 
HGQuery.hg.dfs(Ref<HGHandle> start,
   HGAtomPredicate linkPredicate,
   HGAtomPredicate siblingPredicate,
   boolean returnPreceeding,
   boolean returnSucceeding)
 Return a condition whose result set is the depth first traversal of the graph
 starting a given atom. 
 | 
static AtomValueCondition | 
HGQuery.hg.eq(Ref<Object> x)
Return a condition constraining resulting atoms to atoms whose value is equal to 
 the passed in  
x Ref parameter. | 
static AtomPartCondition | 
HGQuery.hg.eq(String path,
  Ref<Object> x)
 | 
static AtomValueCondition | 
HGQuery.hg.gt(Ref<Object> x)
Return a condition constraining resulting atoms to atoms whose value is greater than 
 the passed in  
x Ref parameter. | 
static AtomPartCondition | 
HGQuery.hg.gt(String path,
  Ref<Object> x)
 | 
static AtomValueCondition | 
HGQuery.hg.gte(Ref<Object> x)
Return a condition constraining resulting atoms to atoms whose value is greater than equal to 
 the passed in  
x Ref parameter. | 
static AtomPartCondition | 
HGQuery.hg.gte(String path,
   Ref<Object> x)
 | 
static IncidentCondition | 
HGQuery.hg.incident(Ref<?> atomHandle)  | 
static PositionedIncidentCondition | 
HGQuery.hg.incidentAt(Ref<HGHandle> target,
          int position)  | 
static PositionedIncidentCondition | 
HGQuery.hg.incidentAt(Ref<HGHandle> target,
          Ref<Integer> lowerBound,
          Ref<Integer> upperBound)
 Return a condition constraining the query result set to links pointing to a target atom
 positioned within a predetermined range in the link tuple. 
 | 
static PositionedIncidentCondition | 
HGQuery.hg.incidentAt(Ref<HGHandle> target,
          Ref<Integer> lowerBound,
          Ref<Integer> upperBound)
 Return a condition constraining the query result set to links pointing to a target atom
 positioned within a predetermined range in the link tuple. 
 | 
static PositionedIncidentCondition | 
HGQuery.hg.incidentAt(Ref<HGHandle> target,
          Ref<Integer> lowerBound,
          Ref<Integer> upperBound)
 Return a condition constraining the query result set to links pointing to a target atom
 positioned within a predetermined range in the link tuple. 
 | 
static PositionedIncidentCondition | 
HGQuery.hg.incidentNotAt(Ref<HGHandle> target,
             int position)  | 
static PositionedIncidentCondition | 
HGQuery.hg.incidentNotAt(Ref<HGHandle> target,
             Ref<Integer> lowerBound,
             Ref<Integer> upperBound)
Same as {@link hg#incidentAt(Ref, Ref, Ref) except uses the complement of the specified range. 
 | 
static PositionedIncidentCondition | 
HGQuery.hg.incidentNotAt(Ref<HGHandle> target,
             Ref<Integer> lowerBound,
             Ref<Integer> upperBound)
Same as {@link hg#incidentAt(Ref, Ref, Ref) except uses the complement of the specified range. 
 | 
static PositionedIncidentCondition | 
HGQuery.hg.incidentNotAt(Ref<HGHandle> target,
             Ref<Integer> lowerBound,
             Ref<Integer> upperBound)
Same as {@link hg#incidentAt(Ref, Ref, Ref) except uses the complement of the specified range. 
 | 
static <T> boolean | 
HGQuery.hg.isVar(Ref<T> ref)
 | 
static LinkCondition | 
HGQuery.hg.link(Ref<HGHandle>... h)
 | 
static Mapping<HGLink,HGHandle> | 
HGQuery.hg.linkProjection(Ref<Integer> targetPosition)
 Return a  
Mapping that takes a link atom and returns a target at the given position. | 
static AtomValueCondition | 
HGQuery.hg.lt(Ref<Object> x)
Return a condition constraining resulting atoms to atoms whose value is less than 
 the passed in  
x Ref parameter. | 
static AtomPartCondition | 
HGQuery.hg.lt(String path,
  Ref<Object> x)
 | 
static AtomValueCondition | 
HGQuery.hg.lte(Ref<Object> x)
Return a condition constraining resulting atoms to atoms whose value is less than or equal to 
 the passed in  
x Ref parameter. | 
static AtomPartCondition | 
HGQuery.hg.lte(String path,
   Ref<Object> x)
 | 
static OrderedLinkCondition | 
HGQuery.hg.orderedLink(Ref<HGHandle>... h)
Return a condition constraining the query result set to being ordered links of a certain
 form. 
 | 
static AtomPartCondition | 
HGQuery.hg.part(String path,
    Ref<Object> value,
    ComparisonOperator op)
 | 
static SubsumedCondition | 
HGQuery.hg.subsumed(Ref<HGHandle> general)
Return a condition constraining the result set to atoms more specific than the passed in
  
general reference parameter. | 
static TargetCondition | 
HGQuery.hg.target(Ref<HGHandle> linkHandle)
 | 
static AtomTypeCondition | 
HGQuery.hg.type(Ref<?> type)
 | 
static AtomValueCondition | 
HGQuery.hg.value(Ref<Object> value,
     ComparisonOperator op)
 Return a condition that constraints resulting atoms by a specific value 
  
Ref and ComparisonOperator. | 
| Modifier and Type | Method and Description | 
|---|---|
Ref<HGHandle> | 
HGDepthFirstTraversal.getStartAtomReference()  | 
Ref<HGHandle> | 
HGBreadthFirstTraversal.getStartAtomReference()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
HGDepthFirstTraversal.setStartAtomReference(Ref<HGHandle> startAtom)  | 
void | 
HGBreadthFirstTraversal.setStartAtomReference(Ref<HGHandle> startAtom)  | 
| Constructor and Description | 
|---|
HGBreadthFirstTraversal(Ref<HGHandle> startAtom,
                       HGALGenerator adjListGenerator)  | 
HGBreadthFirstTraversal(Ref<HGHandle> startAtom,
                       HGALGenerator adjListGenerator,
                       int maxDistance)  | 
HGDepthFirstTraversal(Ref<HGHandle> startAtom,
                     HGALGenerator adjListGenerator)  | 
| Modifier and Type | Field and Description | 
|---|---|
protected Ref<Object> | 
SimpleValueCondition.value  | 
| Modifier and Type | Method and Description | 
|---|---|
Ref<Integer> | 
ArityCondition.getArityReference()  | 
Ref<HGHandle> | 
IsCondition.getAtomHandleReference()  | 
Ref<Boolean> | 
PositionedIncidentCondition.getComplementRef()  | 
Ref<HGHandle> | 
SubsumedCondition.getGeneralHandleReference()  | 
Ref<Key> | 
IndexCondition.getKeyReference()  | 
Ref<HGHandle> | 
TargetCondition.getLinkReference()  | 
Ref<Integer> | 
PositionedIncidentCondition.getLowerBoundRef()  | 
Ref<Object> | 
IndexedPartCondition.getPartValueReference()  | 
Ref<HGHandle> | 
SubsumesCondition.getSpecificHandleReference()  | 
Ref<HGHandle> | 
TraversalCondition.getStartAtomReference()  | 
Ref<HGHandle> | 
PositionedIncidentCondition.getTargetRef()  | 
Ref<HGHandle> | 
IncidentCondition.getTargetRef()  | 
Ref<HGHandle>[] | 
OrderedLinkCondition.getTargets()  | 
Ref<?> | 
AtomTypeCondition.getTypeReference()  | 
Ref<?> | 
TypeCondition.getTypeReference()  | 
Ref<?> | 
TypedValueCondition.getTypeReference()  | 
Ref<Integer> | 
PositionedIncidentCondition.getUpperBoundRef()  | 
Ref<Object> | 
SimpleValueCondition.getValueReference()  | 
Ref<HGHandle>[] | 
OrderedLinkCondition.targets()  | 
| Modifier and Type | Method and Description | 
|---|---|
Set<Ref<HGHandle>> | 
LinkCondition.getTargetSet()  | 
Set<Ref<HGHandle>> | 
LinkCondition.targets()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ArityCondition.setArityReference(Ref<Integer> arity)  | 
void | 
IsCondition.setAtomHandleReference(Ref<HGHandle> atomHandle)  | 
void | 
PositionedIncidentCondition.setComplementRef(Ref<Boolean> complementRef)  | 
void | 
SubsumedCondition.setGeneralHandleReference(Ref<HGHandle> general)  | 
void | 
IndexCondition.setKeyReference(Ref<Key> key)  | 
void | 
TargetCondition.setLinkReference(Ref<HGHandle> link)  | 
void | 
PositionedIncidentCondition.setLowerBoundRef(Ref<Integer> lowerBoundRef)  | 
void | 
IndexedPartCondition.setPartValueReference(Ref<Object> partValue)  | 
void | 
SubsumesCondition.setSpecificHandleReference(Ref<HGHandle> specific)  | 
void | 
TraversalCondition.setStartAtomReference(Ref<HGHandle> startAtom)  | 
void | 
PositionedIncidentCondition.setTargetRef(Ref<HGHandle> targetRef)  | 
void | 
OrderedLinkCondition.setTargets(Ref<HGHandle>[] targetSet)  | 
void | 
AtomTypeCondition.setTypeReference(Ref<?> type)  | 
void | 
TypedValueCondition.setTypeReference(Ref<?> type)  | 
void | 
PositionedIncidentCondition.setUpperBoundRef(Ref<Integer> upperBoundRef)  | 
void | 
SimpleValueCondition.setValueReference(Ref<Object> value)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
LinkCondition.setTargetSet(Set<Ref<HGHandle>> targetSet)  | 
| Constructor and Description | 
|---|
ValueAsPredicateOnly(Ref<Object> value,
                    ComparisonOperator operator)  | 
| Modifier and Type | Field and Description | 
|---|---|
protected Ref<Key> | 
SearchableBasedQuery.key  | 
| Modifier and Type | Method and Description | 
|---|---|
Ref<Key> | 
SearchableBasedQuery.getKeyReference()  | 
Ref<Integer> | 
LinkProjectionMapping.getTargetPositionReference()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
SearchableBasedQuery.setKeyReference(Ref<Key> key)  | 
void | 
LinkProjectionMapping.setTargetPositionReference(Ref<Integer> tp)  | 
| Constructor and Description | 
|---|
IndexBasedQuery(HGIndex<Object,Object> index,
               Ref<Object> key,
               ComparisonOperator operator)  | 
LinkProjectionMapping(Ref<Integer> targetPosition)  | 
SearchableBasedQuery(HGSearchable<Key,Value> searchable,
                    Ref<Key> key,
                    ComparisonOperator operator)  | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
Var<T>  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
CallContextRef<T>  | 
class  | 
Constant<T>  | 
| Modifier and Type | Method and Description | 
|---|---|
static boolean | 
HGUtils.eq(Ref<?>[] left,
  Ref<?>[] right)  | 
static boolean | 
HGUtils.eq(Ref<?>[] left,
  Ref<?>[] right)  | 
static boolean | 
HGUtils.eq(Ref<?> r1,
  Ref<?> r2)  | 
static boolean | 
HGUtils.eq(Ref<?> r1,
  Ref<?> r2)  | 
Copyright © 2015. All rights reserved.