|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ontotext.ordi.tripleset.WarningAwareImpl
com.ontotext.ordi.tripleset.ConnectionImpl
com.ontotext.ordi.tripleset.impl.TConnectionImpl
com.ontotext.ordi.tripleset.impl.TQueryConnectionImpl
com.ontotext.ordi.trree.TRREEConnection
public class TRREEConnection
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.ontotext.ordi.tripleset.impl.TQueryConnectionImpl |
---|
TQueryConnectionImpl.ORDITripleSource |
Field Summary |
---|
Fields inherited from class com.ontotext.ordi.tripleset.impl.TQueryConnectionImpl |
---|
tsource |
Fields inherited from class com.ontotext.ordi.tripleset.impl.TConnectionImpl |
---|
listeners |
Fields inherited from class com.ontotext.ordi.tripleset.ConnectionImpl |
---|
isAutoCommit, isolationLevel, source |
Fields inherited from class com.ontotext.ordi.tripleset.WarningAwareImpl |
---|
warning |
Constructor Summary | |
---|---|
TRREEConnection(TRREEAdapter source,
com.ontotext.trree.owlim_ext.AbstractRepository repository,
com.ontotext.trree.owlim_ext.EntityPool pool,
com.ontotext.trree.owlim_ext.AbstractInferencer inferencer)
|
Method Summary | |
---|---|
void |
addListener(Listener listener)
Adds a new connection listener. |
TStatement |
addStatement(Resource subj,
URI pred,
Value obj,
URI namedGraph)
Adds a new statement. |
TStatement |
addStatement(Resource subj,
URI pred,
Value obj,
URI namedGraph,
URI... ts)
Adds a new statement and associated it with a collection of tripleses. |
int |
associateTripleset(Resource subj,
URI pred,
Value obj,
URI namedGraph,
URI... ts)
Associates one or multiple statements. |
void |
close()
Releases all resources hold by this instance. |
int |
deassociateTripleset(Resource subj,
URI pred,
Value obj,
URI namedGraph,
URI... ts)
Deassociates one or multiple statements. |
CloseableIterator<? extends Value> |
getValuesOfType(URI uri)
Gets iterator to specific type of values. |
boolean |
isOpen()
Checks if this session is opened. |
boolean |
isReadOnly()
Checks if the current session to data provider is read-only. |
void |
removeListener(Listener listener)
Removes previously associated connection listener. |
int |
removeStatement(Resource subj,
URI pred,
Value obj,
URI namedGraph)
Removes one or multiple statements. |
CloseableIterator<? extends TStatement> |
search(Resource subj,
URI pred,
Value obj,
URI namedGraph,
URI ts)
Gets all statements based on a pattern match. |
Methods inherited from class com.ontotext.ordi.tripleset.impl.TQueryConnectionImpl |
---|
evaluate, evaluate |
Methods inherited from class com.ontotext.ordi.tripleset.impl.TConnectionImpl |
---|
commit, listListeners, rollback |
Methods inherited from class com.ontotext.ordi.tripleset.ConnectionImpl |
---|
getDataSource, getTransactionIsolationLevel, isAutoCommit, isWrapperFor, setAutoCommit, setTransactionIsolationLevel, unwrap |
Methods inherited from class com.ontotext.ordi.tripleset.WarningAwareImpl |
---|
clearWarnings, getWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ontotext.ordi.Connection |
---|
getDataSource, getTransactionIsolationLevel, isAutoCommit, setAutoCommit, setTransactionIsolationLevel |
Methods inherited from interface com.ontotext.ordi.Wrapper |
---|
isWrapperFor, unwrap |
Methods inherited from interface com.ontotext.ordi.WarningAware |
---|
clearWarnings, getWarning |
Constructor Detail |
---|
public TRREEConnection(TRREEAdapter source, com.ontotext.trree.owlim_ext.AbstractRepository repository, com.ontotext.trree.owlim_ext.EntityPool pool, com.ontotext.trree.owlim_ext.AbstractInferencer inferencer)
Method Detail |
---|
public TStatement addStatement(Resource subj, URI pred, Value obj, URI namedGraph) throws ORDIException
TConnection
ORDIException
public TStatement addStatement(Resource subj, URI pred, Value obj, URI namedGraph, URI... ts) throws ORDIException
TConnection
ORDIException
public int associateTripleset(Resource subj, URI pred, Value obj, URI namedGraph, URI... ts)
TConnection
public int deassociateTripleset(Resource subj, URI pred, Value obj, URI namedGraph, URI... ts)
TConnection
public CloseableIterator<? extends Value> getValuesOfType(URI uri) throws ORDIException
TConnection
uri
- of the value types
ORDIException
public int removeStatement(Resource subj, URI pred, Value obj, URI namedGraph) throws ORDIException
TConnection
ORDIException
public CloseableIterator<? extends TStatement> search(Resource subj, URI pred, Value obj, URI namedGraph, URI ts) throws ORDIException
TConnection
ORDIException
public void close() throws ORDIException
Connection
close
in interface Connection
close
in class TConnectionImpl
ORDIException
public boolean isOpen()
Connection
public boolean isReadOnly()
Connection
public void addListener(Listener listener)
TConnection
addListener
in interface TConnection
addListener
in class TConnectionImpl
public void removeListener(Listener listener)
TConnection
removeListener
in interface TConnection
removeListener
in class TConnectionImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |