|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TConnection
Connection to data source to support tripleset data model.
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. |
int |
deassociateTripleset(Resource subj,
URI pred,
Value obj,
URI namedGraph,
URI... ts)
Deassociates one or multiple statements. |
CloseableIterator<? extends BindingSet> |
evaluate(TupleExpr tupleExpr,
BindingSet bindings,
boolean includeInferred)
Deprecated. |
CloseableIterator<? extends BindingSet> |
evaluate(TupleExpr tupleExpr,
BindingSet bindings,
Dataset dataset,
boolean includeInferred,
URI tripleset)
|
CloseableIterator<? extends Value> |
getValuesOfType(URI uri)
Gets iterator to specific type of values. |
List<Listener> |
listListeners()
Lists all associated connection listeners. |
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 interface com.ontotext.ordi.Connection |
---|
close, commit, getDataSource, getTransactionIsolationLevel, isAutoCommit, isOpen, isReadOnly, rollback, setAutoCommit, setTransactionIsolationLevel |
Methods inherited from interface com.ontotext.ordi.Wrapper |
---|
isWrapperFor, unwrap |
Methods inherited from interface com.ontotext.ordi.WarningAware |
---|
clearWarnings, getWarning |
Method Detail |
---|
TStatement addStatement(Resource subj, URI pred, Value obj, URI namedGraph) throws ORDIException
ORDIException
TStatement addStatement(Resource subj, URI pred, Value obj, URI namedGraph, URI... ts) throws ORDIException
ORDIException
int removeStatement(Resource subj, URI pred, Value obj, URI namedGraph) throws ORDIException
ORDIException
int associateTripleset(Resource subj, URI pred, Value obj, URI namedGraph, URI... ts)
int deassociateTripleset(Resource subj, URI pred, Value obj, URI namedGraph, URI... ts)
CloseableIterator<? extends TStatement> search(Resource subj, URI pred, Value obj, URI namedgraph, URI ts) throws ORDIException
ORDIException
CloseableIterator<? extends Value> getValuesOfType(URI uri) throws ORDIException
uri
- of the value types
ORDIException
void addListener(Listener listener)
listener
- void removeListener(Listener listener)
listener
- List<Listener> listListeners()
@Deprecated CloseableIterator<? extends BindingSet> evaluate(TupleExpr tupleExpr, BindingSet bindings, boolean includeInferred) throws ORDIException
tupleExpr
- abstract query expressionbindings
- the keys reference variables to be bound to result valuesincludeInferred
- to include inferred statements in the result
ORDIException
CloseableIterator<? extends BindingSet> evaluate(TupleExpr tupleExpr, BindingSet bindings, Dataset dataset, boolean includeInferred, URI tripleset) throws ORDIException
ORDIException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |