|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static int |
ADD
|
static int |
DELETE
|
static int |
ORDERED
|
static int |
SIZE
|
Method Summary | |
void |
add(Triple t)
Add the triple t (if possible) to the set belonging to this graph |
int |
capabilities()
Returns the bitwise or of ADD, DELETE, SIZE and ORDERED, to show the capabilities of this implementation of Graph. |
void |
close()
Free all resources, any further use of this Graph is an error. |
boolean |
contains(Node s,
Node p,
Node o)
Answer true iff the graph contains a triple matching (s, p, o). |
boolean |
contains(Triple t)
Answer true iff the graph contains a triple that t matches; t may be fluid. |
void |
delete(Triple t)
Remove the triple t (if possible) from the set belonging to this graph |
boolean |
dependsOn(Graph other)
true if this graph's content depends on the other graph. |
ExtendedIterator |
find(Node s,
Node p,
Node o)
Returns an iterator over Triple. |
ExtendedIterator |
find(TripleMatch m)
Returns an iterator over all the Triples that match the triple pattern. |
BulkUpdateHandler |
getBulkUpdateHandler()
returns this Graph's bulk-update handler |
Capabilities |
getCapabilities()
returns this Graph's capabilities |
GraphEventManager |
getEventManager()
Answer this Graph's event manager. |
com.hp.hpl.jena.shared.PrefixMapping |
getPrefixMapping()
returns this Graph's prefix mapping. |
Reifier |
getReifier()
returns this Graph's reifier. |
TransactionHandler |
getTransactionHandler()
returns this Graph's transaction handler |
boolean |
isIsomorphicWith(Graph g)
Compare this graph with another using the method described in http://www.w3.org/TR/rdf-concepts#section-Graph-syntax |
QueryHandler |
queryHandler()
returns this Graph's query handler |
int |
size()
|
Field Detail |
public static final int ADD
public static final int DELETE
public static final int SIZE
public static final int ORDERED
Method Detail |
public boolean dependsOn(Graph other)
other
- the graph this graph may depend on
public QueryHandler queryHandler()
public TransactionHandler getTransactionHandler()
public BulkUpdateHandler getBulkUpdateHandler()
public Capabilities getCapabilities()
public GraphEventManager getEventManager()
public Reifier getReifier()
public com.hp.hpl.jena.shared.PrefixMapping getPrefixMapping()
public void add(Triple t) throws com.hp.hpl.jena.shared.JenaAddDeniedException
t
- the triple to add to the graph
com.hp.hpl.jena.shared.JenaAddDeniedException
- if the triple cannot be addedpublic void delete(Triple t) throws com.hp.hpl.jena.shared.JenaDeleteDeniedException
t
- the triple to add to the graph
com.hp.hpl.jena.shared.JenaDeleteDeniedException
- if the triple cannot be removedpublic ExtendedIterator find(TripleMatch m)
m
- a Triple[Match] encoding the pattern to look for
public ExtendedIterator find(Node s, Node p, Node o)
public boolean isIsomorphicWith(Graph g)
g
- Compare against this.
public boolean contains(Node s, Node p, Node o)
public boolean contains(Triple t)
public void close()
public int size() throws java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException
public int capabilities()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |