| java.lang.Object com.hp.hpl.jena.db.impl.DBProp
All known Subclasses: com.hp.hpl.jena.db.impl.DBPropLSet, com.hp.hpl.jena.db.impl.DBPropPrefix, com.hp.hpl.jena.db.impl.DBPropPSet, com.hp.hpl.jena.db.impl.DBPropGraph, com.hp.hpl.jena.db.impl.DBPropDatabase,
DBProp | abstract public class DBProp (Code) | | A base class for DB property information in a persistent store.
This is written in the style of enhanced nodes - no state is
stored in the DBStoreDesc, instead all state is in the
underlying graph and this is just provided as a convenience.
(We don't use enhanced nodes because, since we control everything
in the persistent store system description, we can avoid any
need to handle polymorhphism).
author: csayers version: $Revision: 1.20 $ |
Method Summary | |
protected static Node | findProperty(Graph graph, Node_URI predicate) | public static Node | generateNodeURI() | public static String | generateUniqueID() | public Node | getNode() | protected Node | getPropNode(Node subject, Node predicate) Answer the single node n such that (subject, predicate, n) is in the
graph, or null if there's no such n. | protected Node | getPropNode(Node predicate) Answer the single node n such that (self, predicate, n) is in the
graph, or null if there's no such n. | protected String | getPropString(Node predicate) Answer the single string s such that (self, predicate, literal(s)) is in the
graph, or null if there's no such s. | public static ExtendedIterator | listTriples(SpecializedGraph g, Node self) | protected static SpecializedGraph.CompletionFlag | newComplete() | protected void | putPropNode(Node_URI predicate, Node node) Add (self, predicate, node) to the graph. | protected void | putPropString(Node_URI predicate, String value) Add (self, predicate, literal(value)) to the graph. | protected void | remove() | void | showGraph() |
generateNodeURI | public static Node generateNodeURI()(Code) | | |
generateUniqueID | public static String generateUniqueID()(Code) | | |
getPropNode | protected Node getPropNode(Node subject, Node predicate)(Code) | | Answer the single node n such that (subject, predicate, n) is in the
graph, or null if there's no such n.
|
getPropNode | protected Node getPropNode(Node predicate)(Code) | | Answer the single node n such that (self, predicate, n) is in the
graph, or null if there's no such n.
|
getPropString | protected String getPropString(Node predicate)(Code) | | Answer the single string s such that (self, predicate, literal(s)) is in the
graph, or null if there's no such s.
|
newComplete | protected static SpecializedGraph.CompletionFlag newComplete()(Code) | | Utility method for creating a CompletionFlag; its value lies in having a short name!
a new SpecializedGraph.CompletionFlag() set to false . |
putPropNode | protected void putPropNode(Node_URI predicate, Node node)(Code) | | Add (self, predicate, node) to the graph.
|
putPropString | protected void putPropString(Node_URI predicate, String value)(Code) | | Add (self, predicate, literal(value)) to the graph.
|
remove | protected void remove()(Code) | | |
showGraph | void showGraph()(Code) | | |
|
|