|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Inspired by http://www.w3.org/2001/12/rubyrdf/basicrdf.rb An interface for Graph objects
| Method Summary | |
java.util.Vector |
ask(java.lang.Object s,
java.lang.Object p,
java.lang.Object o)
Return a Graph matching the query triple specified. |
Graph |
ask(Query query)
Return a Graph matching the query triple specified. |
java.sql.ResultSet |
askSquish(java.lang.String query)
Ask a squish query of any type of Graph returnign a rectangular ResultSet. |
boolean |
delete(Statement s)
Delete a single statement (or all instances of a given Statement). |
java.lang.String |
getBase()
Sets the base uri for the GraphInterface. |
java.util.Vector |
getStatements()
Returns a Vector of all Statements in the GraphInterface |
boolean |
removeAll()
Remove all statements. |
void |
setBase(java.lang.String base)
Returns the base uri for the GraphInterface. |
void |
tell(Statement statement)
Insert a single Statement into the GraphInterface |
void |
tellAll(java.util.Vector statements)
Inserts all the Statements into a Vector into the GraphInterface |
| Method Detail |
public java.util.Vector getStatements()
public void tellAll(java.util.Vector statements)
public void tell(Statement statement)
public Graph ask(Query query)
public java.util.Vector ask(java.lang.Object s,
java.lang.Object p,
java.lang.Object o)
public java.lang.String getBase()
public void setBase(java.lang.String base)
public java.sql.ResultSet askSquish(java.lang.String query)
public boolean delete(Statement s)
public boolean removeAll()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||