public class AtomicQuery extends Query
| Constructor and Description |
|---|
AtomicQuery(Atomic at) |
AtomicQuery(AtomicQuery q) |
AtomicQuery(MatchQuery query,
MindmapsGraph graph) |
AtomicQuery(String rhs,
MindmapsGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
void |
establishRelation(AtomicQuery aq)
establishes parent-child (if there is one) relation between this and aq query
the relation expresses the relative level of specificity between queries with the parent being more specific
|
Atomic |
getAtom() |
Set<AtomicQuery> |
getChildren() |
AtomicQuery |
getParent() |
QueryAnswers |
materialise() |
QueryAnswers |
materialise(Set<Substitution> subs)
Add explicit substitutions and materialise
|
Set<Atomic> |
selectAtoms()
atom selection function
|
void |
unify(Map<String,String> unifiers)
change each variable occurrence according to provided mappings (apply unifiers {[from, to]_i})
|
addAtom, addAtomConstraints, containsAtom, DBlookup, getAnswers, getAtoms, getGraph, getMatchQuery, getPattern, getSelectedNames, getSubstitution, getSubstitutions, getTypeConstraints, getTypes, getTypes, getValuePredicate, getValuePredicates, getVarSet, getVarTypeMap, hashCode, isEquivalent, isRuleResolvable, memoryLookup, print, propagateAnswers, removeAtom, stream, toString, unifyclone, finalize, getClass, notify, notifyAll, wait, wait, waitaggregate, ask, colorKeyword, colorType, delete, delete, distinct, get, insert, isReadOnly, limit, offset, orderBy, resultsString, select, stream, withGraphadmindelete, execute, insert, orderBy, selectiterator, parallelStreamforEach, spliteratorpublic AtomicQuery(String rhs, MindmapsGraph graph)
public AtomicQuery(MatchQuery query, MindmapsGraph graph)
public AtomicQuery(AtomicQuery q)
public AtomicQuery(Atomic at)
public AtomicQuery getParent()
public void establishRelation(AtomicQuery aq)
aq - query to comparepublic Atomic getAtom()
public Set<AtomicQuery> getChildren()
public QueryAnswers materialise()
public QueryAnswers materialise(Set<Substitution> subs)
public void unify(Map<String,String> unifiers)
Querypublic Set<Atomic> selectAtoms()
QueryselectAtoms in class QueryCopyright © 2016. All rights reserved.