class RelStore extends RelStoreStatistics
An ABoxStore stores the abox of the loaded elements with respect to the MMT ontology.
Triples (subject, binary, object) are hashed three ways so that for any two components the set of third components can be retrieved efficiently.
Use TheoryGraph for theory graph-level querying
- Source
- ABox.scala
- Alphabetic
- By Inheritance
- RelStore
- RelStoreStatistics
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+=(d: RelationalElement): Unit
adds a RelationalElement
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clear: Unit
deletes all declarations
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
deleteSubject(subj: Path): Unit
deletes all RelationalElements with a given subject
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getDeps: Iterator[Relation]
retrieves all Relation declarations
-
def
getInds(tp: Unary): Iterator[Path]
retrieves all individual of a certain type
-
def
getInds: Iterator[Individual]
retrieves all Individual declarations
-
def
getType(p: Path): Option[Unary]
retrieves type of an individual
-
def
hasDep(from: Path, to: Path, bin: Binary): Boolean
tests if there is a relation holds between two individuals
-
def
hasType(p: Path, tp: Unary): Boolean
checks if an individual has a given type
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
log(msg: ⇒ String): Unit
- Attributes
- protected
-
def
makeStatistics(q: Path): Statistics
Make a statistic for the document or theory at the given path
Make a statistic for the document or theory at the given path
- Definition Classes
- RelStoreStatistics
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
query(start: Path, q: RelationExp)(implicit add: (Path) ⇒ Unit): Unit
Executes a relational query from a fixed start path.
Executes a relational query from a fixed start path. There is no result set; instead, a continuation is passed that can be used to build the result set; this permits, e.g., to keep track of the order in which results were found.
- start
the MMTURI to which the results are related
- q
the query to be executed; the way in which results are related to the start
- add
a continuation called on every element in the result set (in topological order, duplicate calls possible)
- def queryList(start: Path, q: RelationExp): List[Path]
- def querySet(start: Path, q: RelationExp): HashSet[Path]
-
def
statDescription: JSONArray
- Definition Classes
- RelStoreStatistics
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
theoryClosure(p: MPath): List[MPath]
Returns the set of theories a theory depends on
-
def
toString(): String
- Definition Classes
- RelStore → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()