|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.trippi.impl.oracle.OracleSession
public class OracleSession
A TriplestoreSession that wraps a OracleRepository.
| Field Summary | |
|---|---|
static java.lang.String |
SPO
Description of the Field |
static java.lang.String[] |
TRIPLE_LANGUAGES
spo |
static java.lang.String[] |
TUPLE_LANGUAGES
tuple queries aren't supported yet |
| Constructor Summary | |
|---|---|
OracleSession(java.sql.Connection repository,
AliasManager aliasManager,
java.lang.String RDFSchemaName)
Construct an Oracle session. |
|
| Method Summary | |
|---|---|
void |
add(java.util.Set triples)
Description of the Method |
void |
close()
Description of the Method |
void |
delete(java.util.Set triples)
Description of the Method |
void |
finalize()
Ensure close() gets called at garbage collection time. |
TripleIterator |
findTriples(java.lang.String lang,
java.lang.String queryText)
Description of the Method |
TripleIterator |
findTriples(org.jrdf.graph.SubjectNode subject,
org.jrdf.graph.PredicateNode predicate,
org.jrdf.graph.ObjectNode object)
Description of the Method |
org.jrdf.graph.GraphElementFactory |
getElementFactory()
Gets the elementFactory attribute of the OracleSession object |
java.lang.String[] |
listTripleLanguages()
Description of the Method |
java.lang.String[] |
listTupleLanguages()
Description of the Method |
TupleIterator |
query(java.lang.String queryText,
java.lang.String language)
Description of the Method |
void |
run()
Main processing method for the OracleSession object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SPO
public static final java.lang.String[] TUPLE_LANGUAGES
public static final java.lang.String[] TRIPLE_LANGUAGES
| Constructor Detail |
|---|
public OracleSession(java.sql.Connection repository,
AliasManager aliasManager,
java.lang.String RDFSchemaName)
repository - Description of the ParameteraliasManager - Description of the ParameterRDFSchemaName - Description of the Parameter| Method Detail |
|---|
public java.lang.String[] listTupleLanguages()
listTupleLanguages in interface TriplestoreSessionpublic java.lang.String[] listTripleLanguages()
listTripleLanguages in interface TriplestoreSessionpublic org.jrdf.graph.GraphElementFactory getElementFactory()
public void add(java.util.Set triples)
throws TrippiException
add in interface TriplestoreSessiontriples - Description of the Parameter
TrippiException - Description of the Exception
public void delete(java.util.Set triples)
throws TrippiException
delete in interface TriplestoreSessiontriples - Description of the Parameter
TrippiException - Description of the Exceptionpublic void run()
run in interface java.lang.Runnable
public TripleIterator findTriples(org.jrdf.graph.SubjectNode subject,
org.jrdf.graph.PredicateNode predicate,
org.jrdf.graph.ObjectNode object)
throws TrippiException
findTriples in interface TriplestoreSessionsubject - Description of the Parameterpredicate - Description of the Parameterobject - Description of the Parameter
TrippiException - Description of the Exception
public TripleIterator findTriples(java.lang.String lang,
java.lang.String queryText)
throws TrippiException
findTriples in interface TriplestoreSessionlang - Description of the ParameterqueryText - Description of the Parameter
TrippiException - Description of the Exception
public TupleIterator query(java.lang.String queryText,
java.lang.String language)
throws TrippiException
query in interface TriplestoreSessionqueryText - Description of the Parameterlanguage - Description of the Parameter
TrippiException - Description of the Exception
public void close()
throws TrippiException
close in interface TriplestoreSessionTrippiException - Description of the Exception
public void finalize()
throws TrippiException
finalize in class java.lang.ObjectTrippiException - Description of the Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||