|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 ParameterMethod Detail |
---|
public java.lang.String[] listTupleLanguages()
listTupleLanguages
in interface TriplestoreSession
public java.lang.String[] listTripleLanguages()
listTripleLanguages
in interface TriplestoreSession
public org.jrdf.graph.GraphElementFactory getElementFactory()
public void add(java.util.Set triples) throws TrippiException
add
in interface TriplestoreSession
triples
- Description of the Parameter
TrippiException
- Description of the Exceptionpublic void delete(java.util.Set triples) throws TrippiException
delete
in interface TriplestoreSession
triples
- 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 TriplestoreSession
subject
- Description of the Parameterpredicate
- Description of the Parameterobject
- Description of the Parameter
TrippiException
- Description of the Exceptionpublic TripleIterator findTriples(java.lang.String lang, java.lang.String queryText) throws TrippiException
findTriples
in interface TriplestoreSession
lang
- Description of the ParameterqueryText
- Description of the Parameter
TrippiException
- Description of the Exceptionpublic TupleIterator query(java.lang.String queryText, java.lang.String language) throws TrippiException
query
in interface TriplestoreSession
queryText
- Description of the Parameterlanguage
- Description of the Parameter
TrippiException
- Description of the Exceptionpublic void close() throws TrippiException
close
in interface TriplestoreSession
TrippiException
- Description of the Exceptionpublic void finalize() throws TrippiException
finalize
in class java.lang.Object
TrippiException
- Description of the Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |