Difference between revisions of "Interface summary"

From Developer Documents
Jump to navigation Jump to search
(Created page with "== Interface summary == === General === ==== org.simantics.Simantics ==== This static class can be used to obtain the active Session. ==== org.simantics.db.Session ==== The ...")
 
 
Line 24: Line 24:
  
 
The interface Write represents a modification into the semantic database. Main implementation is WriteRequest.
 
The interface Write represents a modification into the semantic database. Main implementation is WriteRequest.
 +
 +
[[Category: Database Development]]

Latest revision as of 22:16, 3 September 2011

Interface summary

General

org.simantics.Simantics

This static class can be used to obtain the active Session.

org.simantics.db.Session

The Session interface represents the connection into the semantic database. Implements e.g. RequestProcessor and serves various special interfaces via the getService-method.

Reading and writing

org.simantics.db.RequestProcessor

RequestProcessor is a synchronous interface for making read queries and writes to the semantic database. Main implementations are Session, ReadGraph and WriteGraph

org.simantics.db.Read

The interface Read represents a query, which produces a single result. Main implementations are ResourceRead* and *naryRead.

org.simantics.db.Write

The interface Write represents a modification into the semantic database. Main implementation is WriteRequest.