Package | Description |
---|---|
org.hypergraphdb |
Welcome to HyperGraphDB
|
org.hypergraphdb.algorithms | |
org.hypergraphdb.query | |
org.hypergraphdb.query.cond2qry | |
org.hypergraphdb.query.impl |
Modifier and Type | Method and Description |
---|---|
static BFSCondition |
HGQuery.hg.bfs(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(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 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(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(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 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 Not |
HGQuery.hg.not(HGAtomPredicate predicate)
Return the negation of an
HGAtomPredicate . |
Modifier and Type | Method and Description |
---|---|
HGAtomPredicate |
DefaultALGenerator.getLinkPredicate() |
HGAtomPredicate |
HyperTraversal.getLinkPredicate() |
HGAtomPredicate |
DefaultALGenerator.getSiblingPredicate() |
Modifier and Type | Method and Description |
---|---|
DefaultALGenerator |
DefaultALGenerator.setLinkPredicate(HGAtomPredicate linkPredicate) |
void |
HyperTraversal.setLinkPredicate(HGAtomPredicate linkPredicate) |
DefaultALGenerator |
DefaultALGenerator.setSiblingPredicate(HGAtomPredicate siblingPredicate) |
Constructor and Description |
---|
DefaultALGenerator(HyperGraph hg,
HGAtomPredicate linkPredicate,
HGAtomPredicate siblingPredicate)
Construct a default adjacency list generator where links are considered unordered.
|
DefaultALGenerator(HyperGraph hg,
HGAtomPredicate linkPredicate,
HGAtomPredicate siblingPredicate,
boolean returnPreceeding,
boolean returnSucceeding,
boolean reverseOrder)
Construct a default adjacency 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 adjacency list generator where links are considered ordered.
|
HyperTraversal(HyperGraph graph,
HGTraversal flatTraversal,
HGAtomPredicate linkPredicate) |
Modifier and Type | Class and Description |
---|---|
class |
And
Represents the conjunction operator of a query condition.
|
class |
AnyAtomCondition
This condition is satisfied by any and all atoms in the HyperGraph database.
|
class |
ArityCondition
The
ArityCondition is a simply predicate condition that checks the arity
(i.e. |
class |
AtomPartCondition
A condition that constraints the value of a component of a composite typed atom.
|
class |
AtomPartRegExPredicate
A predicate that constrains the value of a component of a composite typed atom using a
regular expression.
|
class |
AtomProjectionCondition
An
AtomProjectionCondition will yield all atoms that are
projections along a certain dimension of a given base atom set. |
class |
AtomRegExPredicate
Base class for matching string values using a regular expression.
|
class |
AtomTypeCondition
An
AtomTypeCondition examines the type of a given atom
and evaluates to true or false depending on
whether the type of the atom matches exactly (i.e. |
class |
AtomValueCondition
The
AtomValueCondition represents a query condition on
the atom value. |
class |
AtomValueRegExPredicate
A predicate that constrains the value of an atom using a regular expression.
|
class |
DisconnectedPredicate
A predicate that returns
true if the incidence set of a given atom
is empty and false otherwise. |
class |
IncidentCondition
The
IncidentCondition specifies that a search result atom
should be a member of the incidence set of a given atom. |
class |
IsCondition
An "identity" condition that evaluates to true for a specific handle.
|
class |
LinkCondition
A
LinkCondition constraints the query result set to links
pointing to a target set of atoms. |
class |
Not
A generic negating
HGQueryCondition . |
class |
Or
Represents the disjunction operator of a query condition.
|
class |
OrderedLinkCondition
A
OrderedLinkCondition constraints the query result set to ordered links
pointing to a target set of atoms. |
class |
PositionedIncidentCondition
A
PositionedLinkCondition constraints the query result set to
links pointing to a target atom positioned within a predetermined range in
the link tuple. |
class |
SimpleValueCondition
Basic class for conditions examining individual primitive values.
|
class |
SubgraphContainsCondition |
class |
SubgraphMemberCondition |
class |
SubsumedCondition
The
SubsumedCondition examines a given atom and is satisfied
if that atom is subsumed by the atom specified in the condition. |
class |
SubsumesCondition
The
SubsumesCondition examines a given atom and is satisfied
if that atom subsumes the atom specified in the condition. |
class |
TargetCondition
A query condition that constraints the result set to atoms that are targets to
a specific link.
|
class |
TypedValueCondition
This is a
HGQueryCondition that constrains the value of an
atom as well as its type. |
class |
TypePlusCondition |
Modifier and Type | Method and Description |
---|---|
HGAtomPredicate |
TraversalCondition.getLinkPredicate() |
HGAtomPredicate |
Not.getPredicate() |
HGAtomPredicate |
TraversalCondition.getSiblingPredicate() |
Modifier and Type | Method and Description |
---|---|
void |
TraversalCondition.setLinkPredicate(HGAtomPredicate linkPredicate) |
void |
Not.setPredicate(HGAtomPredicate predicate) |
void |
TraversalCondition.setSiblingPredicate(HGAtomPredicate siblingPredicate) |
Constructor and Description |
---|
Not(HGAtomPredicate negated) |
Modifier and Type | Class and Description |
---|---|
class |
ValueAsPredicateOnly |
Modifier and Type | Field and Description |
---|---|
HGAtomPredicate |
QueryMetaData.pred |
Modifier and Type | Method and Description |
---|---|
QueryMetaData |
QueryMetaData.clone(HGAtomPredicate predicate) |
Modifier and Type | Class and Description |
---|---|
class |
DelayedSetLoadPredicate
A predicate that check whether a handle is the member of a set
of handles.
|
class |
RABasedPredicate
Make a random access result set as a predicate.
|
Constructor and Description |
---|
PredicateBasedFilter(HyperGraph graph,
HGQuery<T> query,
HGAtomPredicate atomPredicate)
Construct a
PredicateBasedFilter , filtering the result
set of a given query based on a HGQueryCondition . |
PredicateBasedRAFilter(HyperGraph graph,
HGQuery<T> query,
HGAtomPredicate atomPredicate)
Construct a
PredicateBasedFilter , filtering the result
set of a given query based on a HGQueryCondition . |
Copyright © 2015. All rights reserved.