public class SailModel extends org.eclipse.rdf4j.model.impl.AbstractModel
SailConnection. All
SailExceptions are wrapped in a ModelException.
Not thread-safe.| Constructor and Description |
|---|
SailModel(SailConnection conn,
boolean includeInferred)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
|
boolean |
clear(Resource... contexts)
Deprecated.
|
protected void |
closeIterator(Iterator<?> iter)
Deprecated.
|
boolean |
contains(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
|
Model |
filter(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
|
Optional<Namespace> |
getNamespace(String prefix)
Deprecated.
|
Set<Namespace> |
getNamespaces()
Deprecated.
|
Iterator<Statement> |
iterator()
Deprecated.
The returned Iterator implements Closeable.
|
boolean |
remove(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
|
Optional<Namespace> |
removeNamespace(String prefix)
Deprecated.
|
void |
removeTermIteration(Iterator<Statement> iter,
Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
|
void |
setConnection(SailConnection conn)
Deprecated.
|
void |
setNamespace(Namespace namespace)
Deprecated.
|
Namespace |
setNamespace(String prefix,
String name)
Deprecated.
|
int |
size()
Deprecated.
|
add, addAll, clear, contains, containsAll, contexts, isEmpty, objects, predicates, remove, removeAll, retainAll, subjects, toArray, toArray, unmodifiableequals, hashCodetoStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, contains, filter, getStatements, removeequals, hashCode, spliteratorparallelStream, removeIf, streampublic SailModel(SailConnection conn, boolean includeInferred)
public void setConnection(SailConnection conn)
public void setNamespace(Namespace namespace)
public boolean contains(Resource subj, IRI pred, Value obj, Resource... contexts)
public boolean clear(Resource... contexts)
clear in interface Modelclear in class org.eclipse.rdf4j.model.impl.AbstractModelpublic void removeTermIteration(Iterator<Statement> iter, Resource subj, IRI pred, Value obj, Resource... contexts)
removeTermIteration in class org.eclipse.rdf4j.model.impl.AbstractModelpublic Iterator<Statement> iterator()
protected void closeIterator(Iterator<?> iter)
closeIterator in class org.eclipse.rdf4j.model.impl.AbstractModelpublic int size()
size in interface Collection<Statement>size in interface Set<Statement>size in class AbstractCollection<Statement>Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.