Modifier and Type | Method and Description |
---|---|
static void |
OpenRDFUtil.verifyContextNotNull(Resource... contexts)
Verifies that the supplied contexts parameter is not null,
throwing an
IllegalArgumentException if it is. |
Modifier and Type | Method and Description |
---|---|
void |
SesameSession.addData(InputStream contents,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
SesameSession.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
RDFHandler handler,
Resource... contexts) |
void |
SesameSession.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
RDFHandler handler,
Resource... contexts) |
void |
SesameSession.removeData(InputStream contents,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
long |
SesameSession.size(Resource... contexts) |
protected void |
SesameSession.upload(org.apache.http.HttpEntity reqEntity,
String baseURI,
boolean overwrite,
boolean preserveNodeIds,
Protocol.Action action,
Resource... contexts) |
protected void |
SesameSession.upload(InputStream contents,
String baseURI,
RDFFormat dataFormat,
boolean overwrite,
boolean preserveNodeIds,
Protocol.Action action,
Resource... contexts) |
void |
SesameSession.upload(InputStream contents,
String baseURI,
RDFFormat dataFormat,
boolean overwrite,
boolean preserveNodeIds,
Resource... contexts) |
protected void |
SesameSession.upload(Reader contents,
String baseURI,
RDFFormat dataFormat,
boolean overwrite,
boolean preserveNodeIds,
Protocol.Action action,
Resource... contexts) |
void |
SesameSession.upload(Reader contents,
String baseURI,
RDFFormat dataFormat,
boolean overwrite,
boolean preserveNodeIds,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
static Resource |
Protocol.decodeContext(String encodedValue,
ValueFactory valueFactory)
Decode a previously encoded context Resource.
|
static Resource[] |
Protocol.decodeContexts(String[] encodedValues,
ValueFactory valueFactory)
Decode previously encoded contexts.
|
static Resource |
Protocol.decodeResource(String encodedValue,
ValueFactory valueFactory)
Decode a previously encoded Resource.
|
Modifier and Type | Method and Description |
---|---|
static String |
Protocol.encodeContext(Resource context)
Encodes a context resource for use in a URL.
|
static String[] |
Protocol.encodeContexts(Resource... contexts)
Encode context resources for use in a URL.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TransactionWriter.serialize(Resource[] contexts,
XMLWriter xmlWriter) |
protected void |
TransactionWriter.serialize(Resource resource,
XMLWriter xmlWriter) |
Modifier and Type | Field and Description |
---|---|
protected Resource[] |
ContextOperation.contexts |
Modifier and Type | Method and Description |
---|---|
Resource[] |
ContextOperation.getContexts() |
Resource |
StatementOperation.getSubject() |
Modifier and Type | Method and Description |
---|---|
void |
ContextOperation.setContexts(Resource... contexts) |
void |
StatementOperation.setSubject(Resource subject) |
Constructor and Description |
---|
AddStatementOperation(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Create an AddStatementOperation.
|
AddStatementOperation(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Create an AddStatementOperation.
|
ClearOperation(Resource... contexts) |
ContextOperation(Resource... contexts) |
RemoveStatementsOperation(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Creates a RemoveStatementsOperation.
|
RemoveStatementsOperation(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Creates a RemoveStatementsOperation.
|
StatementOperation(Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
static Resource[] |
ProtocolUtil.parseContextParam(javax.servlet.http.HttpServletRequest request,
String paramName,
ValueFactory vf) |
static Resource |
ProtocolUtil.parseResourceParam(javax.servlet.http.HttpServletRequest request,
String paramName,
ValueFactory vf) |
Modifier and Type | Interface and Description |
---|---|
interface |
BNode
A blank node (aka bnode, aka anonymous node).
|
interface |
IRI
An Internationalized Resource Identifier (IRI).
|
interface |
URI
Deprecated.
Since 4.0. Use
IRI instead. |
Modifier and Type | Method and Description |
---|---|
Resource |
Statement.getContext()
Gets the context of this statement.
|
Resource |
Statement.getSubject()
Gets the subject of this statement.
|
Modifier and Type | Method and Description |
---|---|
default Set<Resource> |
Model.contexts()
Returns a
Set view of the contexts contained in this model. |
default Optional<Resource> |
Model.objectResource()
Deprecated.
since 4.0. Instead, use
Models.objectResource(Model)
to retrieve an object Resource value, and/or use the size of
the set returned by Model.objects() to verify if the object
is unique. |
default Optional<Resource> |
Model.subjectResource()
Deprecated.
since 4.0. Instead, use
Models.subject(Model) to
retrieve a subject Resource, and/or use the size of the set
returned by Model.subjects() to verify if the subject is
unique. |
Set<Resource> |
Model.subjects()
Returns a
Set view of the subjects contained in this model. |
Modifier and Type | Method and Description |
---|---|
boolean |
Model.add(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Adds one or more statements to the model.
|
boolean |
Model.add(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Adds one or more statements to the model.
|
boolean |
Graph.add(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
Adds one or more statements to the graph.
|
boolean |
Graph.add(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
Adds one or more statements to the graph.
|
default boolean |
Model.add(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
since 4.0. Use
Model.add(Resource, IRI, Value, Resource...)
instead. |
default boolean |
Model.add(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
since 4.0. Use
Model.add(Resource, IRI, Value, Resource...)
instead. |
boolean |
Model.clear(Resource... context)
Removes statements with the specified context exist in this model.
|
boolean |
Model.contains(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Determines if statements with the specified subject, predicate, object and
(optionally) context exist in this model.
|
boolean |
Model.contains(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Determines if statements with the specified subject, predicate, object and
(optionally) context exist in this model.
|
default boolean |
Model.contains(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
since 4.0. Use
Model.contains(Resource, IRI, Value, Resource...) instead. |
default boolean |
Model.contains(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
since 4.0. Use
Model.contains(Resource, IRI, Value, Resource...) instead. |
Statement |
ValueFactory.createStatement(Resource subject,
IRI predicate,
Value object)
Creates a new statement with the supplied subject, predicate and object.
|
Statement |
ValueFactory.createStatement(Resource subject,
IRI predicate,
Value object,
Resource context)
Creates a new statement with the supplied subject, predicate and object
and associated context.
|
default Statement |
ValueFactory.createStatement(Resource subject,
URI predicate,
Value object)
Deprecated.
since 4.0. Use
ValueFactory.createStatement(Resource, IRI, Value)
instead. |
default Statement |
ValueFactory.createStatement(Resource subject,
URI predicate,
Value object,
Resource context)
Deprecated.
since 4.0. Use
ValueFactory.createStatement(Resource, IRI, Value, Resource)
instead. |
Model |
Model.filter(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Returns a view of the statements with the specified subject, predicate,
object and (optionally) context.
|
Model |
Model.filter(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Returns a view of the statements with the specified subject, predicate,
object and (optionally) context.
|
default Model |
Model.filter(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
|
default Model |
Model.filter(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
|
Iterator<Statement> |
Graph.match(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
The preferred alternative is
Model.filter(org.openrdf.model.Resource, org.openrdf.model.IRI, org.openrdf.model.Value, org.openrdf.model.Resource...) .iterator(). |
Iterator<Statement> |
Graph.match(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
The preferred alternative is
Model.filter(org.openrdf.model.Resource, org.openrdf.model.IRI, org.openrdf.model.Value, org.openrdf.model.Resource...) .iterator(). |
boolean |
Model.remove(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Removes statements with the specified subject, predicate, object and
(optionally) context exist in this model.
|
boolean |
Model.remove(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Removes statements with the specified subject, predicate, object and
(optionally) context exist in this model.
|
default boolean |
Model.remove(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
since 4.0. Use
Model.remove(Resource, IRI, Value, Resource...) instead. |
default boolean |
Model.remove(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
since 4.0. Use
Model.remove(Resource, IRI, Value, Resource...) instead. |
Modifier and Type | Class and Description |
---|---|
class |
BNodeImpl
Deprecated.
since 4.0. Use
SimpleBNode instead for extending, and
ValueFactory for instantiation. |
class |
SimpleBNode
An simple default implementation of the
BNode interface. |
class |
SimpleIRI
The default implementation of the
IRI interface. |
class |
URIImpl
Deprecated.
since 4.0. Use
SimpleIRI instead for extending, and
ValueFactory for instantiation. |
Modifier and Type | Field and Description |
---|---|
protected Resource[] |
FilteredModel.contexts |
protected Resource |
FilteredModel.subj |
Modifier and Type | Method and Description |
---|---|
Resource |
SimpleStatement.getContext() |
Resource |
ContextStatement.getContext() |
Resource |
SimpleStatement.getSubject() |
Modifier and Type | Method and Description |
---|---|
Set<Resource> |
AbstractModel.contexts() |
Set<Resource> |
AbstractModel.subjects() |
Modifier and Type | Method and Description |
---|---|
boolean |
TreeModel.add(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
TreeModel.add(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
LinkedHashModel.add(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
LinkedHashModel.add(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
GraphImpl.add(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
|
boolean |
GraphImpl.add(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
|
boolean |
FilteredModel.add(Resource s,
IRI p,
Value o,
Resource... c) |
boolean |
FilteredModel.add(Resource s,
IRI p,
Value o,
Resource... c) |
boolean |
EmptyModel.add(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
EmptyModel.add(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
AbstractModel.clear(Resource... contexts) |
boolean |
TreeModel.contains(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
TreeModel.contains(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
LinkedHashModel.contains(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
LinkedHashModel.contains(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
FilteredModel.contains(Resource s,
IRI p,
Value o,
Resource... c) |
boolean |
FilteredModel.contains(Resource s,
IRI p,
Value o,
Resource... c) |
boolean |
EmptyModel.contains(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
EmptyModel.contains(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Statement |
AbstractValueFactory.createStatement(Resource subject,
IRI predicate,
Value object) |
Statement |
AbstractValueFactory.createStatement(Resource subject,
IRI predicate,
Value object,
Resource context) |
Model |
TreeModel.filter(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Model |
TreeModel.filter(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Model |
LinkedHashModel.filter(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Model |
LinkedHashModel.filter(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Model |
FilteredModel.filter(Resource s,
IRI p,
Value o,
Resource... c) |
Model |
FilteredModel.filter(Resource s,
IRI p,
Value o,
Resource... c) |
Model |
EmptyModel.filter(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Model |
EmptyModel.filter(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Iterator<Statement> |
GraphImpl.match(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
|
Iterator<Statement> |
GraphImpl.match(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
|
Iterator<Statement> |
AbstractModel.match(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
|
Iterator<Statement> |
AbstractModel.match(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
|
boolean |
TreeModel.remove(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
TreeModel.remove(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
LinkedHashModel.remove(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
LinkedHashModel.remove(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
FilteredModel.remove(Resource s,
IRI p,
Value o,
Resource... c) |
boolean |
FilteredModel.remove(Resource s,
IRI p,
Value o,
Resource... c) |
boolean |
EmptyModel.remove(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
EmptyModel.remove(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected abstract void |
FilteredModel.removeFilteredTermIteration(Iterator<Statement> iter,
Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Called by aggregate sets when a term has been removed from a term
iterator.
|
protected abstract void |
FilteredModel.removeFilteredTermIteration(Iterator<Statement> iter,
Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Called by aggregate sets when a term has been removed from a term
iterator.
|
void |
TreeModel.removeTermIteration(Iterator<Statement> iterator,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
TreeModel.removeTermIteration(Iterator<Statement> iterator,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
FilteredModel.removeTermIteration(Iterator<Statement> iter,
Resource s,
IRI p,
Value o,
Resource... c) |
void |
FilteredModel.removeTermIteration(Iterator<Statement> iter,
Resource s,
IRI p,
Value o,
Resource... c) |
void |
EmptyModel.removeTermIteration(Iterator<Statement> iter,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
EmptyModel.removeTermIteration(Iterator<Statement> iter,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
abstract void |
AbstractModel.removeTermIteration(Iterator<Statement> iter,
Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Called by aggregate sets when a term has been removed from a term
iterator.
|
abstract void |
AbstractModel.removeTermIteration(Iterator<Statement> iter,
Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Called by aggregate sets when a term has been removed from a term
iterator.
|
void |
LinkedHashModel.removeTermIteration(Iterator iterator,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
LinkedHashModel.removeTermIteration(Iterator iterator,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Constructor and Description |
---|
ContextStatement(Resource subject,
IRI predicate,
Value object,
Resource context)
Creates a new Statement with the supplied subject, predicate and object
for the specified associated context.
|
ContextStatementImpl(Resource subject,
URI predicate,
Value object,
Resource context)
Deprecated.
since 4.0. Use
ValueFactory.createStatement(Resource, IRI, Value, Resource)
instead. |
FilteredModel(AbstractModel model,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
FilteredModel(AbstractModel model,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
SimpleStatement(Resource subject,
IRI predicate,
Value object)
Creates a new Statement with the supplied subject, predicate and object.
|
StatementImpl(Resource subject,
URI predicate,
Value object)
Deprecated.
since 4.0. Use
ValueFactory.createStatement(Resource, IRI, Value)
instead. |
Modifier and Type | Method and Description |
---|---|
static Iterator<Resource> |
GraphUtil.getSubjectIterator(Graph graph,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
since 2.8.0. Use
Model.filter(Resource, IRI, Value, Resource...) and
Model.subjects() instead. |
static Set<Resource> |
GraphUtil.getSubjects(Graph graph,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
since 2.8.0. Use
Model.filter(Resource, IRI, Value, Resource...) and
Model.subjects() instead. |
static Optional<Resource> |
Models.objectResource(Model m)
Retrieves an object
Resource value from the statements in the
given model. |
static Optional<Resource> |
Models.subject(Model m)
Retrieves a subject
Resource from the statements in the given
model. |
Modifier and Type | Method and Description |
---|---|
static Iterator<Value> |
GraphUtil.getObjectIterator(Graph graph,
Resource subj,
IRI pred,
Resource... contexts)
Deprecated.
since 2.8.0. Use
Model.filter(Resource, IRI, Value, Resource...) and
Model.objects() instead. |
static Iterator<Value> |
GraphUtil.getObjectIterator(Graph graph,
Resource subj,
IRI pred,
Resource... contexts)
Deprecated.
since 2.8.0. Use
Model.filter(Resource, IRI, Value, Resource...) and
Model.objects() instead. |
static Set<Value> |
GraphUtil.getObjects(Graph graph,
Resource subj,
IRI pred,
Resource... contexts)
Deprecated.
since 2.8.0. Use
Model.filter(Resource, IRI, Value, Resource...) and
Model.objects() instead. |
static Set<Value> |
GraphUtil.getObjects(Graph graph,
Resource subj,
IRI pred,
Resource... contexts)
Deprecated.
since 2.8.0. Use
Model.filter(Resource, IRI, Value, Resource...) and
Model.objects() instead. |
static Value |
GraphUtil.getOptionalObject(Graph graph,
Resource subj,
IRI pred,
Resource... contexts)
Deprecated.
since 2.8.0. Use
Model.filter(Resource, IRI, Value, Resource...) and
Model.objectValue() instead. |
static Value |
GraphUtil.getOptionalObject(Graph graph,
Resource subj,
IRI pred,
Resource... contexts)
Deprecated.
since 2.8.0. Use
Model.filter(Resource, IRI, Value, Resource...) and
Model.objectValue() instead. |
static Literal |
GraphUtil.getOptionalObjectLiteral(Graph graph,
Resource subj,
IRI pred)
Deprecated.
since 2.8.0. Use
Model.filter(Resource, IRI, Value, Resource...) and
Model.objectLiteral() instead. |
static Resource |
GraphUtil.getOptionalObjectResource(Graph graph,
Resource subj,
IRI pred)
Deprecated.
since 2.8.0. Use
Model.filter(Resource, IRI, Value, Resource...) and
Model.objectResource() instead. |
static IRI |
GraphUtil.getOptionalObjectURI(Graph graph,
Resource subj,
IRI pred)
Deprecated.
since 2.8.0. Use
Model.filter(Resource, IRI, Value, Resource...) and
Model.objectIRI() instead. |
static Resource |
GraphUtil.getOptionalSubject(Graph graph,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
since 2.8.0. Use
Model.filter(Resource, IRI, Value, Resource...) and
Model.subjectResource() instead. |
static IRI |
GraphUtil.getOptionalSubjectURI(Graph graph,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
since 2.8.0. Use
Model.filter(Resource, IRI, Value, Resource...) and
Model.subjectIRI() instead. |
static Iterator<Resource> |
GraphUtil.getSubjectIterator(Graph graph,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
since 2.8.0. Use
Model.filter(Resource, IRI, Value, Resource...) and
Model.subjects() instead. |
static Set<Resource> |
GraphUtil.getSubjects(Graph graph,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
since 2.8.0. Use
Model.filter(Resource, IRI, Value, Resource...) and
Model.subjects() instead. |
static Value |
GraphUtil.getUniqueObject(Graph graph,
Resource subj,
IRI pred,
Resource... contexts)
Deprecated.
since 2.8.0. Use
Model.filter(Resource, IRI, Value, Resource...) and
Model.objectValue() instead. |
static Value |
GraphUtil.getUniqueObject(Graph graph,
Resource subj,
IRI pred,
Resource... contexts)
Deprecated.
since 2.8.0. Use
Model.filter(Resource, IRI, Value, Resource...) and
Model.objectValue() instead. |
static Literal |
GraphUtil.getUniqueObjectLiteral(Graph graph,
Resource subj,
IRI pred)
Deprecated.
since 2.8.0. Use
Model.filter(Resource, IRI, Value, Resource...) and
Model.objectLiteral() instead. |
static Resource |
GraphUtil.getUniqueObjectResource(Graph graph,
Resource subj,
IRI pred)
Deprecated.
since 2.8.0. Use
Model.filter(Resource, IRI, Value, Resource...) and
Model.objectResource() instead. |
static IRI |
GraphUtil.getUniqueObjectURI(Graph graph,
Resource subj,
IRI pred)
Deprecated.
since 2.8.0. Use
Model.filter(Resource, IRI, Value, Resource...) and
Model.objectIRI() instead. |
static Resource |
GraphUtil.getUniqueSubject(Graph graph,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
since 2.8.0. Use
Model.filter(Resource, IRI, Value, Resource...) and
Model.subjectResource() instead. |
static IRI |
GraphUtil.getUniqueSubjectURI(Graph graph,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
since 2.8.0. Use
Model.filter(Resource, IRI, Value, Resource...) and
Model.subjectIRI() instead. |
static void |
GraphUtil.remove(Graph graph,
Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
since 2.8.0. Use
Model.remove(Resource, IRI, Value, Resource...)
instead. |
static void |
GraphUtil.remove(Graph graph,
Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
since 2.8.0. Use
Model.remove(Resource, IRI, Value, Resource...)
instead. |
static Model |
Models.setProperty(Model m,
Resource subject,
IRI property,
Value value,
Resource... contexts)
Sets the property value for the given subject to the given object value,
replacing any existing value(s) for the subject's property.
|
static Model |
Models.setProperty(Model m,
Resource subject,
IRI property,
Value value,
Resource... contexts)
Sets the property value for the given subject to the given object value,
replacing any existing value(s) for the subject's property.
|
static void |
GraphUtil.setUniqueObject(Graph graph,
Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
since 2.8.0. Use
Models.setProperty(Model, Resource, IRI, Value, Resource...)
instead. |
static void |
GraphUtil.setUniqueObject(Graph graph,
Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
since 2.8.0. Use
Models.setProperty(Model, Resource, IRI, Value, Resource...)
instead. |
Modifier and Type | Method and Description |
---|---|
CloseableIteration<? extends Statement,QueryEvaluationException> |
TripleSource.getStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Gets all statements that have a specific subject, predicate and/or object.
|
CloseableIteration<? extends Statement,QueryEvaluationException> |
TripleSource.getStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Gets all statements that have a specific subject, predicate and/or object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ComplexSPARQLQueryTest.loadTestData(String dataFile,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
protected void |
SPARQLResultsCSVWriter.writeResource(Resource res) |
Modifier and Type | Method and Description |
---|---|
protected void |
SPARQLResultsTSVWriter.writeResource(Resource res) |
Modifier and Type | Method and Description |
---|---|
static QueryBuilder<ParsedGraphQuery> |
QueryBuilderFactory.describe(Resource... theValues)
Create a QueryBuilder for creating a describe query
|
static QueryBuilder<ParsedGraphQuery> |
QueryBuilderFactory.describe(String[] theVars,
Resource... theValues)
Create a QueryBuilder for creating a describe query
|
Modifier and Type | Field and Description |
---|---|
protected Resource |
RepositoryTest.alexander |
protected Resource |
RepositoryConnectionTest.alexander |
protected Resource |
RepositoryTest.alice |
protected Resource |
RepositoryConnectionTest.alice |
protected Resource |
RepositoryTest.bob |
protected Resource |
RepositoryConnectionTest.bob |
Modifier and Type | Method and Description |
---|---|
RepositoryResult<Resource> |
RepositoryConnection.getContextIDs()
Gets all resources that are used as content identifiers.
|
Modifier and Type | Method and Description |
---|---|
void |
RepositoryConnection.add(File file,
String baseURI,
RDFFormat dataFormat,
Resource... contexts)
Adds RDF data from the specified file to a specific contexts in the
repository.
|
void |
RepositoryConnection.add(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts)
Adds RDF data from an InputStream to the repository, optionally to one or
more named contexts.
|
void |
RepositoryConnection.add(Iterable<? extends Statement> statements,
Resource... contexts)
Adds the supplied statements to this repository, optionally to one or more
named contexts.
|
<E extends Exception> |
RepositoryConnection.add(Iteration<? extends Statement,E> statements,
Resource... contexts)
Adds the supplied statements to this repository, optionally to one or more
named contexts.
|
void |
RepositoryConnection.add(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts)
Adds RDF data from a Reader to the repository, optionally to one or more
named contexts.
|
void |
RepositoryConnection.add(Resource subject,
IRI predicate,
Value object,
Resource... contexts)
Adds a statement with the specified subject, predicate and object to this
repository, optionally to one or more named contexts.
|
void |
RepositoryConnection.add(Resource subject,
IRI predicate,
Value object,
Resource... contexts)
Adds a statement with the specified subject, predicate and object to this
repository, optionally to one or more named contexts.
|
default void |
RepositoryConnection.add(Resource subject,
URI predicate,
Value object,
Resource... contexts)
Deprecated.
since 4.0. Use
RepositoryConnection.add(Resource, IRI, Value, Resource...)
instead. |
default void |
RepositoryConnection.add(Resource subject,
URI predicate,
Value object,
Resource... contexts)
Deprecated.
since 4.0. Use
RepositoryConnection.add(Resource, IRI, Value, Resource...)
instead. |
void |
RepositoryConnection.add(Statement st,
Resource... contexts)
Adds the supplied statement to this repository, optionally to one or more
named contexts.
|
void |
RepositoryConnection.add(URL url,
String baseURI,
RDFFormat dataFormat,
Resource... contexts)
Adds the RDF data that can be found at the specified URL to the
repository, optionally to one or more named contexts.
|
void |
RepositoryConnection.clear(Resource... contexts)
Removes all statements from a specific contexts in the repository.
|
void |
RepositoryConnection.export(RDFHandler handler,
Resource... contexts)
Exports all explicit statements in the specified contexts to the supplied
RDFHandler.
|
void |
RepositoryConnection.exportStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
RDFHandler handler,
Resource... contexts)
Exports all statements with a specific subject, predicate and/or object
from the repository, optionally from the specified contexts.
|
void |
RepositoryConnection.exportStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
RDFHandler handler,
Resource... contexts)
Exports all statements with a specific subject, predicate and/or object
from the repository, optionally from the specified contexts.
|
RepositoryResult<Statement> |
RepositoryConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Gets all statements with a specific subject, predicate and/or object from
the repository.
|
RepositoryResult<Statement> |
RepositoryConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Gets all statements with a specific subject, predicate and/or object from
the repository.
|
default RepositoryResult<Statement> |
RepositoryConnection.getStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Gets all statements with a specific subject, predicate and/or object from
the repository.
|
default RepositoryResult<Statement> |
RepositoryConnection.getStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Gets all statements with a specific subject, predicate and/or object from
the repository.
|
default RepositoryResult<Statement> |
RepositoryConnection.getStatements(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Deprecated.
since 4.0. Use
RepositoryConnection.getStatements(Resource, IRI, Value, boolean, Resource...)
instead. |
default RepositoryResult<Statement> |
RepositoryConnection.getStatements(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Deprecated.
since 4.0. Use
RepositoryConnection.getStatements(Resource, IRI, Value, boolean, Resource...)
instead. |
boolean |
RepositoryConnection.hasStatement(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Checks whether the repository contains statements with a specific subject,
predicate and/or object, optionally in the specified contexts.
|
boolean |
RepositoryConnection.hasStatement(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Checks whether the repository contains statements with a specific subject,
predicate and/or object, optionally in the specified contexts.
|
default boolean |
RepositoryConnection.hasStatement(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Deprecated.
since 4.0. Use
RepositoryConnection.hasStatement(Resource, IRI, Value, boolean, Resource...)
instead. |
default boolean |
RepositoryConnection.hasStatement(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Deprecated.
since 4.0. Use
RepositoryConnection.hasStatement(Resource, IRI, Value, boolean, Resource...)
instead. |
boolean |
RepositoryConnection.hasStatement(Statement st,
boolean includeInferred,
Resource... contexts)
Checks whether the repository contains the specified statement, optionally
in the specified contexts.
|
void |
RepositoryConnection.remove(Iterable<? extends Statement> statements,
Resource... contexts)
Removes the supplied statements from the specified contexts in this
repository.
|
<E extends Exception> |
RepositoryConnection.remove(Iteration<? extends Statement,E> statements,
Resource... contexts)
Removes the supplied statements from a specific context in this
repository, ignoring any context information carried by the statements
themselves.
|
void |
RepositoryConnection.remove(Resource subject,
IRI predicate,
Value object,
Resource... contexts)
Removes the statement(s) with the specified subject, predicate and object
from the repository, optionally restricted to the specified contexts.
|
void |
RepositoryConnection.remove(Resource subject,
IRI predicate,
Value object,
Resource... contexts)
Removes the statement(s) with the specified subject, predicate and object
from the repository, optionally restricted to the specified contexts.
|
default void |
RepositoryConnection.remove(Resource subject,
URI predicate,
Value object,
Resource... contexts)
Deprecated.
since 4.0. Use
RepositoryConnection.remove(Resource, IRI, Value, Resource...) instead. |
default void |
RepositoryConnection.remove(Resource subject,
URI predicate,
Value object,
Resource... contexts)
Deprecated.
since 4.0. Use
RepositoryConnection.remove(Resource, IRI, Value, Resource...) instead. |
void |
RepositoryConnection.remove(Statement st,
Resource... contexts)
Removes the supplied statement from the specified contexts in the
repository.
|
long |
RepositoryConnection.size(Resource... contexts)
Returns the number of (explicit) statements that are in the specified
contexts in this repository.
|
Modifier and Type | Method and Description |
---|---|
RepositoryResult<Resource> |
RepositoryConnectionWrapper.getContextIDs() |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryConnectionWrapper.add(File file,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
AbstractRepositoryConnection.add(File file,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionWrapper.add(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
AbstractRepositoryConnection.add(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionWrapper.add(Iterable<? extends Statement> statements,
Resource... contexts) |
void |
AbstractRepositoryConnection.add(Iterable<? extends Statement> statements,
Resource... contexts) |
<E extends Exception> |
RepositoryConnectionWrapper.add(Iteration<? extends Statement,E> statementIter,
Resource... contexts) |
<E extends Exception> |
AbstractRepositoryConnection.add(Iteration<? extends Statement,E> statements,
Resource... contexts) |
void |
RepositoryConnectionWrapper.add(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
AbstractRepositoryConnection.add(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionWrapper.add(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
RepositoryConnectionWrapper.add(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
AbstractRepositoryConnection.add(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
AbstractRepositoryConnection.add(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
RepositoryConnectionWrapper.add(Statement st,
Resource... contexts) |
void |
AbstractRepositoryConnection.add(Statement st,
Resource... contexts) |
void |
RepositoryConnectionWrapper.add(URL url,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
AbstractRepositoryConnection.add(URL url,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
protected void |
RepositoryConnectionWrapper.addWithoutCommit(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
protected void |
RepositoryConnectionWrapper.addWithoutCommit(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
protected abstract void |
AbstractRepositoryConnection.addWithoutCommit(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
protected abstract void |
AbstractRepositoryConnection.addWithoutCommit(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
protected void |
AbstractRepositoryConnection.addWithoutCommit(Statement st,
Resource... contexts) |
void |
RepositoryConnectionWrapper.clear(Resource... contexts) |
void |
AbstractRepositoryConnection.clear(Resource... contexts) |
void |
AbstractRepositoryConnection.export(RDFHandler handler,
Resource... contexts) |
void |
RepositoryConnectionWrapper.exportStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
RDFHandler handler,
Resource... contexts) |
void |
RepositoryConnectionWrapper.exportStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
RDFHandler handler,
Resource... contexts) |
RepositoryResult<Statement> |
RepositoryConnectionWrapper.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
RepositoryResult<Statement> |
RepositoryConnectionWrapper.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
boolean |
RepositoryConnectionWrapper.hasStatement(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
boolean |
RepositoryConnectionWrapper.hasStatement(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
boolean |
AbstractRepositoryConnection.hasStatement(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
boolean |
AbstractRepositoryConnection.hasStatement(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
boolean |
RepositoryConnectionWrapper.hasStatement(Statement st,
boolean includeInferred,
Resource... contexts) |
boolean |
AbstractRepositoryConnection.hasStatement(Statement st,
boolean includeInferred,
Resource... contexts) |
void |
RepositoryConnectionWrapper.remove(Iterable<? extends Statement> statements,
Resource... contexts) |
void |
AbstractRepositoryConnection.remove(Iterable<? extends Statement> statements,
Resource... contexts) |
<E extends Exception> |
RepositoryConnectionWrapper.remove(Iteration<? extends Statement,E> statementIter,
Resource... contexts) |
<E extends Exception> |
AbstractRepositoryConnection.remove(Iteration<? extends Statement,E> statements,
Resource... contexts) |
void |
RepositoryConnectionWrapper.remove(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
RepositoryConnectionWrapper.remove(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
AbstractRepositoryConnection.remove(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
AbstractRepositoryConnection.remove(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
RepositoryConnectionWrapper.remove(Statement st,
Resource... contexts) |
void |
AbstractRepositoryConnection.remove(Statement st,
Resource... contexts) |
protected void |
RepositoryConnectionWrapper.removeWithoutCommit(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
protected void |
RepositoryConnectionWrapper.removeWithoutCommit(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
protected abstract void |
AbstractRepositoryConnection.removeWithoutCommit(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
protected abstract void |
AbstractRepositoryConnection.removeWithoutCommit(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
protected void |
AbstractRepositoryConnection.removeWithoutCommit(Statement st,
Resource... contexts) |
long |
RepositoryConnectionWrapper.size(Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
Resource |
RepositoryImplConfig.export(Model model)
Export this
RepositoryImplConfig to its RDF representation |
Resource |
AbstractRepositoryImplConfig.export(Model model) |
Resource |
AbstractDelegatingRepositoryImplConfig.export(Model model) |
static Resource |
RepositoryConfigUtil.getContext(RepositoryConnection con,
String repositoryID) |
Modifier and Type | Method and Description |
---|---|
static RepositoryConfig |
RepositoryConfig.create(Model model,
Resource repositoryNode)
Creates a new
RepositoryConfig object and initializes it by
supplying the model and repositoryNode to its
parse method. |
static RepositoryImplConfig |
AbstractRepositoryImplConfig.create(Model model,
Resource resource)
Utility method to create a new
RepositoryImplConfig by reading
data from the supplied Model . |
void |
RepositoryImplConfig.parse(Model model,
Resource resource)
Reads the properties of this
RepositoryImplConfig from the
supplied Model and sets them accordingly. |
void |
RepositoryConfig.parse(Model model,
Resource repositoryNode) |
void |
AbstractRepositoryImplConfig.parse(Model model,
Resource resource) |
void |
AbstractDelegatingRepositoryImplConfig.parse(Model model,
Resource resource) |
Modifier and Type | Method and Description |
---|---|
void |
ContextAwareConnection.add(File file,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(File file,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(InputStream in,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(Iterable<? extends Statement> statements,
Resource... contexts) |
<E extends Exception> |
ContextAwareConnection.add(Iteration<? extends Statement,E> statementIter,
Resource... contexts) |
void |
ContextAwareConnection.add(Reader reader,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
ContextAwareConnection.add(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
ContextAwareConnection.add(Statement st,
Resource... contexts) |
void |
ContextAwareConnection.add(URL url,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(URL url,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.clear(Resource... contexts) |
void |
ContextAwareConnection.export(RDFHandler handler,
Resource... contexts) |
void |
ContextAwareConnection.exportStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
RDFHandler handler,
Resource... contexts) |
void |
ContextAwareConnection.exportStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
RDFHandler handler,
Resource... contexts) |
void |
ContextAwareConnection.exportStatements(Resource subj,
IRI pred,
Value obj,
RDFHandler handler,
Resource... contexts)
Exports all statements with a specific subject, predicate and/or object
from the repository, optionally from the specified contexts.
|
void |
ContextAwareConnection.exportStatements(Resource subj,
IRI pred,
Value obj,
RDFHandler handler,
Resource... contexts)
Exports all statements with a specific subject, predicate and/or object
from the repository, optionally from the specified contexts.
|
RepositoryResult<Statement> |
ContextAwareConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
RepositoryResult<Statement> |
ContextAwareConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
RepositoryResult<Statement> |
ContextAwareConnection.getStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Gets all statements with a specific subject, predicate and/or object from
the repository.
|
RepositoryResult<Statement> |
ContextAwareConnection.getStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Gets all statements with a specific subject, predicate and/or object from
the repository.
|
boolean |
ContextAwareConnection.hasStatement(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
boolean |
ContextAwareConnection.hasStatement(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
boolean |
ContextAwareConnection.hasStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Checks whether the repository contains statements with a specific subject,
predicate and/or object, optionally in the specified contexts.
|
boolean |
ContextAwareConnection.hasStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Checks whether the repository contains statements with a specific subject,
predicate and/or object, optionally in the specified contexts.
|
boolean |
ContextAwareConnection.hasStatement(Statement st,
boolean includeInferred,
Resource... contexts) |
boolean |
ContextAwareConnection.hasStatement(Statement st,
Resource... contexts)
Checks whether the repository contains the specified statement, optionally
in the specified contexts.
|
void |
ContextAwareConnection.remove(Iterable<? extends Statement> statements,
Resource... contexts) |
<E extends Exception> |
ContextAwareConnection.remove(Iteration<? extends Statement,E> statementIter,
Resource... contexts)
Removes the supplied statements from a specific context in this
repository, ignoring any context information carried by the statements
themselves.
|
void |
ContextAwareConnection.remove(Resource subject,
IRI predicate,
Value object,
Resource... contexts)
Removes the statement with the specified subject, predicate and object
from the repository, optionally restricted to the specified contexts.
|
void |
ContextAwareConnection.remove(Resource subject,
IRI predicate,
Value object,
Resource... contexts)
Removes the statement with the specified subject, predicate and object
from the repository, optionally restricted to the specified contexts.
|
void |
ContextAwareConnection.remove(Statement st,
Resource... contexts)
Removes the supplied statement from the specified contexts in the
repository.
|
protected void |
ContextAwareConnection.removeWithoutCommit(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
protected void |
ContextAwareConnection.removeWithoutCommit(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
long |
ContextAwareConnection.size(Resource... contexts)
Returns the number of (explicit) statements that are in the specified
contexts in this repository.
|
Modifier and Type | Method and Description |
---|---|
Resource |
ContextAwareConfig.export(Model model) |
Modifier and Type | Method and Description |
---|---|
void |
ContextAwareConfig.parse(Model model,
Resource resource) |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryConnectionListener.add(RepositoryConnection conn,
Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
RepositoryConnectionListener.add(RepositoryConnection conn,
Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
boolean |
RepositoryConnectionInterceptor.add(RepositoryConnection conn,
Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
boolean |
RepositoryConnectionInterceptor.add(RepositoryConnection conn,
Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
RepositoryConnectionListener.clear(RepositoryConnection conn,
Resource... contexts) |
boolean |
RepositoryConnectionInterceptor.clear(RepositoryConnection conn,
Resource... contexts) |
void |
RepositoryConnectionListener.remove(RepositoryConnection conn,
Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
RepositoryConnectionListener.remove(RepositoryConnection conn,
Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
boolean |
RepositoryConnectionInterceptor.remove(RepositoryConnection conn,
Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
boolean |
RepositoryConnectionInterceptor.remove(RepositoryConnection conn,
Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryConnectionListenerAdapter.add(RepositoryConnection conn,
Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
RepositoryConnectionListenerAdapter.add(RepositoryConnection conn,
Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
boolean |
RepositoryConnectionInterceptorAdapter.add(RepositoryConnection conn,
Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
boolean |
RepositoryConnectionInterceptorAdapter.add(RepositoryConnection conn,
Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
NotifyingRepositoryConnectionWrapper.addWithoutCommit(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
NotifyingRepositoryConnectionWrapper.addWithoutCommit(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
InterceptingRepositoryConnectionWrapper.addWithoutCommit(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
InterceptingRepositoryConnectionWrapper.addWithoutCommit(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
RepositoryConnectionListenerAdapter.clear(RepositoryConnection conn,
Resource... contexts) |
boolean |
RepositoryConnectionInterceptorAdapter.clear(RepositoryConnection conn,
Resource... contexts) |
void |
NotifyingRepositoryConnectionWrapper.clear(Resource... contexts) |
void |
InterceptingRepositoryConnectionWrapper.clear(Resource... contexts) |
void |
RepositoryConnectionListenerAdapter.remove(RepositoryConnection conn,
Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
RepositoryConnectionListenerAdapter.remove(RepositoryConnection conn,
Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
boolean |
RepositoryConnectionInterceptorAdapter.remove(RepositoryConnection conn,
Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
boolean |
RepositoryConnectionInterceptorAdapter.remove(RepositoryConnection conn,
Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
NotifyingRepositoryConnectionWrapper.removeWithoutCommit(Resource subj,
IRI pred,
Value obj,
Resource... ctx) |
void |
NotifyingRepositoryConnectionWrapper.removeWithoutCommit(Resource subj,
IRI pred,
Value obj,
Resource... ctx) |
void |
InterceptingRepositoryConnectionWrapper.removeWithoutCommit(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
InterceptingRepositoryConnectionWrapper.removeWithoutCommit(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
void |
DebugRepositoryConnectionListener.add(RepositoryConnection conn,
Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
DebugRepositoryConnectionListener.add(RepositoryConnection conn,
Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
DebugRepositoryConnectionListener.clear(RepositoryConnection conn,
Resource... contexts) |
void |
DebugRepositoryConnectionListener.remove(RepositoryConnection conn,
Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
DebugRepositoryConnectionListener.remove(RepositoryConnection conn,
Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
Resource |
HTTPRepositoryConfig.export(Model graph) |
Modifier and Type | Method and Description |
---|---|
void |
HTTPRepositoryConfig.parse(Model model,
Resource implNode) |
Modifier and Type | Method and Description |
---|---|
protected long |
SailIsolationLevelTest.count(RepositoryConnection con,
Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
protected long |
SailIsolationLevelTest.count(RepositoryConnection con,
Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
RepositoryResult<Resource> |
SailRepositoryConnection.getContextIDs() |
Modifier and Type | Method and Description |
---|---|
protected void |
SailRepositoryConnection.addWithoutCommit(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
protected void |
SailRepositoryConnection.addWithoutCommit(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
SailRepositoryConnection.clear(Resource... contexts) |
void |
SailRepositoryConnection.exportStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
RDFHandler handler,
Resource... contexts) |
void |
SailRepositoryConnection.exportStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
RDFHandler handler,
Resource... contexts) |
RepositoryResult<Statement> |
SailRepositoryConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
RepositoryResult<Statement> |
SailRepositoryConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
boolean |
SailRepositoryConnection.hasStatement(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
boolean |
SailRepositoryConnection.hasStatement(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
protected void |
SailRepositoryConnection.removeWithoutCommit(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
protected void |
SailRepositoryConnection.removeWithoutCommit(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
long |
SailRepositoryConnection.size(Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
Resource |
SailRepositoryConfig.export(Model model) |
Resource |
ProxyRepositoryConfig.export(Model model) |
Modifier and Type | Method and Description |
---|---|
void |
SailRepositoryConfig.parse(Model model,
Resource repImplNode) |
void |
ProxyRepositoryConfig.parse(Model model,
Resource implNode) |
Modifier and Type | Method and Description |
---|---|
Resource[] |
RDFSailInserter.getContexts()
Gets the contexts that this RDFInserter enforces upon all statements that
are reported to it (in case enforcesContext() returns
true).
|
protected Resource |
SPARQLUpdateDataBlockParser.parseImplicitBlank() |
Modifier and Type | Method and Description |
---|---|
void |
RDFSailInserter.enforceContext(Resource... contexts)
Enforces the supplied contexts upon all statements that are reported to
this RDFInserter.
|
Modifier and Type | Method and Description |
---|---|
RepositoryResult<Resource> |
SPARQLConnection.getContextIDs() |
Modifier and Type | Method and Description |
---|---|
void |
SPARQLConnection.add(File file,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
SPARQLConnection.add(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
SPARQLConnection.add(Iterable<? extends Statement> statements,
Resource... contexts) |
void |
SPARQLConnection.add(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
SPARQLConnection.add(Statement st,
Resource... contexts) |
void |
SPARQLConnection.add(URL url,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
protected void |
SPARQLConnection.addWithoutCommit(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
protected void |
SPARQLConnection.addWithoutCommit(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
SPARQLConnection.clear(Resource... contexts) |
void |
SPARQLConnection.exportStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
RDFHandler handler,
Resource... contexts) |
void |
SPARQLConnection.exportStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
RDFHandler handler,
Resource... contexts) |
RepositoryResult<Statement> |
SPARQLConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
RepositoryResult<Statement> |
SPARQLConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
boolean |
SPARQLConnection.hasStatement(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
boolean |
SPARQLConnection.hasStatement(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
void |
SPARQLConnection.remove(Iterable<? extends Statement> statements,
Resource... contexts) |
void |
SPARQLConnection.remove(Statement st,
Resource... contexts) |
protected void |
SPARQLConnection.removeWithoutCommit(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
protected void |
SPARQLConnection.removeWithoutCommit(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
long |
SPARQLConnection.size(Resource... contexts) |
protected Iteration<Statement,QueryEvaluationException> |
SPARQLConnection.toStatementIteration(TupleQueryResult iter,
Resource subj,
IRI pred,
Value obj)
Converts a
TupleQueryResult resulting from the
SPARQLConnection.EVERYTHING_WITH_GRAPH to a statement by using the respective
values from the BindingSet or (if provided) the ones from the
arguments. |
Modifier and Type | Method and Description |
---|---|
Resource |
SPARQLRepositoryConfig.export(Model m) |
Modifier and Type | Method and Description |
---|---|
void |
SPARQLRepositoryConfig.parse(Model m,
Resource implNode) |
Modifier and Type | Field and Description |
---|---|
protected Resource[] |
AbstractRDFInserter.contexts
The contexts to add the statements to.
|
Modifier and Type | Method and Description |
---|---|
Resource |
RDFRemover.getContext()
Gets the context identifier that this RDFRemover enforces upon all
statements that are reported to it (in case enforcesContext()
returns true).
|
Resource[] |
AbstractRDFInserter.getContexts()
Gets the contexts that this RDFInserter enforces upon all statements that
are reported to it (in case enforcesContext() returns
true).
|
Modifier and Type | Method and Description |
---|---|
protected void |
RDFInserter.addStatement(Resource subj,
IRI pred,
Value obj,
Resource ctxt) |
protected abstract void |
AbstractRDFInserter.addStatement(Resource subj,
IRI pred,
Value obj,
Resource ctxt) |
void |
AbstractRDFInserter.enforceContext(Resource... contexts)
Enforces the supplied contexts upon all statements that are reported to
this RDFInserter.
|
void |
RDFRemover.enforceContext(Resource context)
Enforces the supplied context upon all statements that are reported to
this RDFRemover.
|
Modifier and Type | Field and Description |
---|---|
protected Resource |
EarlReport.asserterNode |
protected Resource |
EarlReport.projectNode |
Modifier and Type | Method and Description |
---|---|
static Model |
Rio.parse(InputStream in,
String baseURI,
RDFFormat dataFormat,
ParserConfig settings,
ValueFactory valueFactory,
ParseErrorListener errors,
Resource... contexts)
Adds RDF data from an
InputStream to a Model , optionally
to one or more named contexts. |
static Model |
Rio.parse(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts)
Adds RDF data from an
InputStream to a Model , optionally
to one or more named contexts. |
static Model |
Rio.parse(Reader reader,
String baseURI,
RDFFormat dataFormat,
ParserConfig settings,
ValueFactory valueFactory,
ParseErrorListener errors,
Resource... contexts)
|
static Model |
Rio.parse(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts)
|
Modifier and Type | Method and Description |
---|---|
protected Statement |
AbstractRDFParser.createStatement(Resource subj,
IRI pred,
Value obj)
Creates a new
Statement object with the supplied components. |
protected Statement |
AbstractRDFParser.createStatement(Resource subj,
IRI pred,
Value obj,
Resource context)
Creates a new
Statement object with the supplied components. |
Constructor and Description |
---|
ContextStatementCollector(Collection<Statement> statements,
Map<String,String> namespaces,
ValueFactory vf,
Resource... contexts)
Creates a new StatementCollector that stores reported statements and
namespaces in the supplied containers.
|
ContextStatementCollector(Collection<Statement> statements,
ValueFactory vf,
Resource... contexts)
Creates a new StatementCollector that stores reported statements in the
supplied collection and that uses a new LinkedHashMap to store the
reported namespaces.
|
ContextStatementCollector(ValueFactory vf,
Resource... contexts)
Creates a new StatementCollector that uses a new ArrayList to store the
reported statements and a new LinkedHashMap to store the reported
namespaces.
|
Modifier and Type | Field and Description |
---|---|
protected Resource |
NQuadsParser.context |
Modifier and Type | Field and Description |
---|---|
protected Resource |
NTriplesParser.subject |
Modifier and Type | Method and Description |
---|---|
static Resource |
NTriplesUtil.parseResource(String nTriplesResource,
ValueFactory valueFactory)
Parses an N-Triples resource, creates an object for it using the supplied
ValueFactory and returns this object.
|
Modifier and Type | Method and Description |
---|---|
static void |
NTriplesUtil.append(Resource resource,
Appendable appendable) |
static String |
NTriplesUtil.toNTriplesString(Resource resource)
Creates an N-Triples string for the supplied resource.
|
Modifier and Type | Method and Description |
---|---|
static String |
RDFJSONWriter.resourceToString(Resource uriOrBnode)
Returns the correct syntax for a Resource, depending on whether it is a
URI or a Blank Node (ie, BNode)
|
Modifier and Type | Method and Description |
---|---|
static void |
RDFJSONWriter.writeObject(Value object,
Set<Resource> contexts,
com.fasterxml.jackson.core.JsonGenerator jg)
Helper method to reduce complexity of the JSON serialisation algorithm Any
null contexts will only be serialised to JSON if there are also non-null
contexts in the contexts array
|
Modifier and Type | Field and Description |
---|---|
protected Resource |
RDFXMLWriter.lastWrittenSubject |
Modifier and Type | Method and Description |
---|---|
protected Resource |
TriGParser.getContext() |
Modifier and Type | Method and Description |
---|---|
protected void |
TriGParser.reportStatement(Resource subj,
IRI pred,
Value obj) |
protected void |
TriGParser.setContext(Resource context) |
Modifier and Type | Field and Description |
---|---|
protected Resource |
TurtleWriter.lastWrittenSubject |
protected Resource |
TurtleParser.subject |
Modifier and Type | Method and Description |
---|---|
protected Resource |
TurtleParser.parseCollection()
Parses a collection, e.g.
|
protected Resource |
TurtleParser.parseImplicitBlank()
Parses an implicit blank node.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TurtleParser.reportStatement(Resource subj,
IRI pred,
Value obj) |
protected void |
TurtleWriter.writeResource(Resource res) |
Modifier and Type | Method and Description |
---|---|
CloseableIteration<? extends Resource,SailException> |
SailConnection.getContextIDs()
Returns the set of all unique context identifiers that are used to store
statements.
|
Modifier and Type | Method and Description |
---|---|
void |
SailConnection.addStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Adds a statement to the store.
|
void |
SailConnection.addStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Adds a statement to the store.
|
void |
SailConnection.addStatement(UpdateContext op,
Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Adds a statement to the store.
|
void |
SailConnection.addStatement(UpdateContext op,
Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Adds a statement to the store.
|
void |
SailConnection.clear(Resource... contexts)
Removes all statements from the specified/all contexts.
|
protected long |
SailIsolationLevelTest.count(SailConnection con,
Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
protected long |
SailIsolationLevelTest.count(SailConnection con,
Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
CloseableIteration<? extends Statement,SailException> |
SailConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Gets all statements from the specified contexts that have a specific
subject, predicate and/or object.
|
CloseableIteration<? extends Statement,SailException> |
SailConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Gets all statements from the specified contexts that have a specific
subject, predicate and/or object.
|
default boolean |
SailConnection.hasStatement(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Determines if the store contains any statements from the specified
contexts that have a specific subject, predicate and/or object.
|
default boolean |
SailConnection.hasStatement(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Determines if the store contains any statements from the specified
contexts that have a specific subject, predicate and/or object.
|
void |
SailConnection.removeStatement(UpdateContext op,
Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Removes all statements matching the specified subject, predicate and
object from the repository.
|
void |
SailConnection.removeStatement(UpdateContext op,
Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Removes all statements matching the specified subject, predicate and
object from the repository.
|
void |
SailConnection.removeStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Removes all statements matching the specified subject, predicate and
object from the repository.
|
void |
SailConnection.removeStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Removes all statements matching the specified subject, predicate and
object from the repository.
|
long |
SailConnection.size(Resource... contexts)
Returns the number of (explicit) statements in the store, or in specific
contexts.
|
Modifier and Type | Method and Description |
---|---|
CloseableIteration<? extends Resource,SailException> |
SailDataset.getContextIDs()
Returns the set of all unique context identifiers that are used to store
statements.
|
protected CloseableIteration<? extends Resource,SailException> |
SailSourceConnection.getContextIDsInternal() |
Modifier and Type | Method and Description |
---|---|
boolean |
SailSourceConnection.addInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
SailSourceConnection.addInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
SailSourceConnection.addStatement(UpdateContext op,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
SailSourceConnection.addStatement(UpdateContext op,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
SailSink.approve(Resource subj,
IRI pred,
Value obj,
Resource ctx)
Adds a statement to the store.
|
void |
SailSink.clear(Resource... contexts)
Removes all statements from the specified/all contexts.
|
void |
SailSourceConnection.clearInferred(Resource... contexts) |
protected void |
SailSourceConnection.clearInternal(Resource... contexts) |
void |
SailSink.deprecate(Resource subj,
IRI pred,
Value obj,
Resource ctx)
Removes a statement with the specified subject, predicate, object, and
context.
|
CloseableIteration<? extends Statement,SailException> |
SailDataset.getStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Gets all statements that have a specific subject, predicate and/or object.
|
CloseableIteration<? extends Statement,SailException> |
SailDataset.getStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Gets all statements that have a specific subject, predicate and/or object.
|
protected CloseableIteration<? extends Statement,SailException> |
SailSourceConnection.getStatementsInternal(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
protected CloseableIteration<? extends Statement,SailException> |
SailSourceConnection.getStatementsInternal(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
void |
SailSink.observe(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Called to indicate matching statements have been observed and must not
change their state until after this
SailSink is committed, iff this
was opened in an isolation level compatible with
IsolationLevels.SERIALIZABLE . |
void |
SailSink.observe(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Called to indicate matching statements have been observed and must not
change their state until after this
SailSink is committed, iff this
was opened in an isolation level compatible with
IsolationLevels.SERIALIZABLE . |
boolean |
SailSourceConnection.removeInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
SailSourceConnection.removeInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
SailSourceConnection.removeStatement(UpdateContext op,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
SailSourceConnection.removeStatement(UpdateContext op,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected long |
SailSourceConnection.sizeInternal(Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
Resource |
SailImplConfig.export(Model graph) |
Resource |
AbstractSailImplConfig.export(Model m) |
Resource |
AbstractDelegatingSailImplConfig.export(Model m) |
Modifier and Type | Method and Description |
---|---|
void |
SailImplConfig.parse(Model graph,
Resource implNode) |
void |
AbstractSailImplConfig.parse(Model m,
Resource implNode) |
void |
AbstractDelegatingSailImplConfig.parse(Model m,
Resource implNode) |
static SailImplConfig |
SailConfigUtil.parseRepositoryImpl(Model m,
Resource implNode) |
Modifier and Type | Method and Description |
---|---|
void |
ElasticsearchIndex.clearContexts(Resource... contexts) |
SearchDocument |
ElasticsearchIndex.getDocument(Resource subject,
Resource context)
Returns a Document representing the specified Resource & Context
combination, or null when no such Document exists yet.
|
Iterable<? extends SearchDocument> |
ElasticsearchIndex.getDocuments(Resource subject)
Returns a list of Documents representing the specified Resource (empty
when no such Document exists yet).
|
Iterable<? extends DocumentScore> |
ElasticsearchQuery.query(Resource resource)
Deprecated.
|
protected Iterable<? extends DocumentScore> |
ElasticsearchIndex.query(Resource subject,
String query,
URI propertyURI,
boolean highlight)
Parse the passed query.
|
org.elasticsearch.search.SearchHits |
ElasticsearchIndex.search(Resource resource,
org.elasticsearch.action.search.SearchRequestBuilder request,
org.elasticsearch.index.query.QueryBuilder query)
Evaluates the given query only for the given resource.
|
Modifier and Type | Method and Description |
---|---|
Resource |
FederationConfig.export(Model model) |
Modifier and Type | Method and Description |
---|---|
void |
FederationConfig.parse(Model graph,
Resource implNode) |
Modifier and Type | Method and Description |
---|---|
CloseableIteration<? extends Statement,QueryEvaluationException> |
RepositoryTripleSource.getStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
CloseableIteration<? extends Statement,QueryEvaluationException> |
RepositoryTripleSource.getStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
CloseableIteration<? extends Resource,SailException> |
SailConnectionWrapper.getContextIDs() |
CloseableIteration<? extends Resource,SailException> |
AbstractSailConnection.getContextIDs() |
protected abstract CloseableIteration<? extends Resource,SailException> |
AbstractSailConnection.getContextIDsInternal() |
Modifier and Type | Method and Description |
---|---|
void |
SailConnectionWrapper.addStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
SailConnectionWrapper.addStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
AbstractSailConnection.addStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
AbstractSailConnection.addStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
SailConnectionWrapper.addStatement(UpdateContext modify,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
SailConnectionWrapper.addStatement(UpdateContext modify,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
AbstractSailConnection.addStatement(UpdateContext op,
Resource subj,
IRI pred,
Value obj,
Resource... contexts)
The default implementation buffers added statements until the update
operation is complete.
|
void |
AbstractSailConnection.addStatement(UpdateContext op,
Resource subj,
IRI pred,
Value obj,
Resource... contexts)
The default implementation buffers added statements until the update
operation is complete.
|
protected abstract void |
AbstractSailConnection.addStatementInternal(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected abstract void |
AbstractSailConnection.addStatementInternal(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
SailConnectionWrapper.clear(Resource... contexts) |
void |
AbstractSailConnection.clear(Resource... contexts) |
protected abstract void |
AbstractSailConnection.clearInternal(Resource... contexts) |
CloseableIteration<? extends Statement,SailException> |
SailConnectionWrapper.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
CloseableIteration<? extends Statement,SailException> |
SailConnectionWrapper.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
CloseableIteration<? extends Statement,SailException> |
AbstractSailConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
CloseableIteration<? extends Statement,SailException> |
AbstractSailConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
protected abstract CloseableIteration<? extends Statement,SailException> |
AbstractSailConnection.getStatementsInternal(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
protected abstract CloseableIteration<? extends Statement,SailException> |
AbstractSailConnection.getStatementsInternal(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
void |
SailConnectionWrapper.removeStatement(UpdateContext modify,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
SailConnectionWrapper.removeStatement(UpdateContext modify,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
AbstractSailConnection.removeStatement(UpdateContext op,
Resource subj,
IRI pred,
Value obj,
Resource... contexts)
The default implementation buffers removed statements until the update
operation is complete.
|
void |
AbstractSailConnection.removeStatement(UpdateContext op,
Resource subj,
IRI pred,
Value obj,
Resource... contexts)
The default implementation buffers removed statements until the update
operation is complete.
|
void |
SailConnectionWrapper.removeStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
SailConnectionWrapper.removeStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
AbstractSailConnection.removeStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
AbstractSailConnection.removeStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected abstract void |
AbstractSailConnection.removeStatementsInternal(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected abstract void |
AbstractSailConnection.removeStatementsInternal(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
long |
SailConnectionWrapper.size(Resource... contexts) |
long |
AbstractSailConnection.size(Resource... contexts) |
long |
SailConnectionWrapper.size(Resource context) |
protected abstract long |
AbstractSailConnection.sizeInternal(Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
CloseableIteration<? extends Resource,SailException> |
InferencerConnectionWrapper.getContextIDs()
Calls
InferencerConnectionWrapper.flushUpdates() before forwarding the call to the wrapped
connection. |
Modifier and Type | Method and Description |
---|---|
boolean |
InferencerConnectionWrapper.addInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
InferencerConnectionWrapper.addInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
InferencerConnection.addInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Adds an inferred statement to a specific context.
|
boolean |
InferencerConnection.addInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Adds an inferred statement to a specific context.
|
void |
InferencerConnectionWrapper.clearInferred(Resource... contexts) |
void |
InferencerConnection.clearInferred(Resource... contexts)
Removes all inferred statements from the specified/all contexts.
|
CloseableIteration<? extends Statement,SailException> |
InferencerConnectionWrapper.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Calls
InferencerConnectionWrapper.flushUpdates() before forwarding the call to the wrapped
connection. |
CloseableIteration<? extends Statement,SailException> |
InferencerConnectionWrapper.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Calls
InferencerConnectionWrapper.flushUpdates() before forwarding the call to the wrapped
connection. |
boolean |
InferencerConnectionWrapper.removeInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
InferencerConnectionWrapper.removeInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
InferencerConnection.removeInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Removes an inferred statement from a specific context.
|
boolean |
InferencerConnection.removeInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Removes an inferred statement from a specific context.
|
long |
InferencerConnectionWrapper.size(Resource... contexts)
Calls
InferencerConnectionWrapper.flushUpdates() before forwarding the call to the wrapped
connection. |
Modifier and Type | Method and Description |
---|---|
Resource |
CustomGraphQueryInferencerConfig.export(Model m) |
Modifier and Type | Method and Description |
---|---|
void |
CustomGraphQueryInferencerConfig.parse(Model m,
Resource implNode) |
Modifier and Type | Method and Description |
---|---|
static Resource |
SearchFields.createContext(String idString) |
static Resource |
SearchFields.createResource(String idString)
Parses an id-string (a serialized resource) back to a resource Inverse
method of
getResourceID |
Resource[] |
LuceneSailBuffer.ClearContextOperation.getContexts() |
protected Resource |
AbstractSearchIndex.getResource(SearchDocument document)
Returns the Resource corresponding with the specified Document.
|
Resource |
QuerySpec.getSubject() |
Modifier and Type | Method and Description |
---|---|
void |
SearchIndex.addDocuments(Resource subject,
List<Statement> statements)
Add a complete Lucene Document based on these statements.
|
void |
AbstractSearchIndex.addDocuments(Resource subject,
List<Statement> statements)
Add a complete Lucene Document based on these statements.
|
void |
LuceneSailConnection.addStatement(Resource arg0,
IRI arg1,
Value arg2,
Resource... arg3) |
void |
LuceneSailConnection.addStatement(Resource arg0,
IRI arg1,
Value arg2,
Resource... arg3) |
protected void |
AbstractLuceneSailTest.assertQueryResult(String literal,
IRI predicate,
Resource resultUri) |
void |
LuceneSailConnection.clear(Resource... arg0) |
void |
LuceneSailBuffer.clear(Resource[] contexts) |
void |
SearchIndex.clearContexts(Resource... contexts)
This should be called from within a begin-commit-rollback block.
|
void |
LuceneIndex.clearContexts(Resource... contexts) |
static String |
SearchFields.getContextID(Resource resource)
Get the ID for a context.
|
org.apache.lucene.document.Document |
LuceneIndex.getDocument(Resource subject,
Resource context)
Returns a Document representing the specified Resource & Context
combination, or null when no such Document exists yet.
|
List<org.apache.lucene.document.Document> |
LuceneIndex.getDocuments(Resource subject)
Returns a list of Documents representing the specified Resource (empty
when no such Document exists yet).
|
static String |
SearchFields.getResourceID(Resource resource)
Returns the String ID corresponding with the specified Resource.
|
Iterable<? extends DocumentScore> |
SearchQuery.query(Resource subject)
Deprecated.
Queries for the given subject or all subjects if null.
|
Iterable<? extends DocumentScore> |
LuceneQuery.query(Resource resource)
Deprecated.
|
protected abstract Iterable<? extends DocumentScore> |
AbstractSearchIndex.query(Resource subject,
String q,
URI property,
boolean highlight) |
protected Iterable<? extends DocumentScore> |
LuceneIndex.query(Resource subject,
String query,
URI propertyURI,
boolean highlight)
Parse the passed query.
|
void |
LuceneSailConnection.removeStatements(Resource arg0,
IRI arg1,
Value arg2,
Resource... arg3) |
void |
LuceneSailConnection.removeStatements(Resource arg0,
IRI arg1,
Value arg2,
Resource... arg3) |
org.apache.lucene.search.TopDocs |
LuceneIndex.search(Resource resource,
org.apache.lucene.search.Query query)
Evaluates the given query only for the given resource.
|
Constructor and Description |
---|
ClearContextOperation(Resource[] contexts) |
QuerySpec(StatementPattern matchesPattern,
StatementPattern queryPattern,
StatementPattern propertyPattern,
StatementPattern scorePattern,
StatementPattern snippetPattern,
StatementPattern typePattern,
Resource subject,
String queryString,
IRI propertyURI) |
Modifier and Type | Method and Description |
---|---|
Resource |
AbstractLuceneSailConfig.export(Model m) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractLuceneSailConfig.parse(Model graph,
Resource implNode) |
Modifier and Type | Method and Description |
---|---|
void |
LuceneIndex.clearContexts(Resource... contexts) |
org.apache.lucene.document.Document |
LuceneIndex.getDocument(Resource subject,
Resource context)
Returns a Document representing the specified Resource & Context
combination, or null when no such Document exists yet.
|
List<org.apache.lucene.document.Document> |
LuceneIndex.getDocuments(Resource subject)
Returns a list of Documents representing the specified Resource (empty
when no such Document exists yet).
|
Iterable<? extends DocumentScore> |
LuceneQuery.query(Resource resource)
Deprecated.
|
protected Iterable<? extends DocumentScore> |
LuceneIndex.query(Resource subject,
String query,
URI propertyURI,
boolean highlight)
Parse the passed query.
|
org.apache.lucene.search.TopDocs |
LuceneIndex.search(Resource resource,
org.apache.lucene.search.Query query)
Evaluates the given query only for the given resource.
|
Modifier and Type | Method and Description |
---|---|
void |
LuceneIndex.clearContexts(Resource... contexts) |
org.apache.lucene.document.Document |
LuceneIndex.getDocument(Resource subject,
Resource context)
Returns a Document representing the specified Resource & Context
combination, or null when no such Document exists yet.
|
List<org.apache.lucene.document.Document> |
LuceneIndex.getDocuments(Resource subject)
Returns a list of Documents representing the specified Resource (empty
when no such Document exists yet).
|
Iterable<? extends DocumentScore> |
LuceneQuery.query(Resource resource)
Deprecated.
|
protected Iterable<? extends DocumentScore> |
LuceneIndex.query(Resource subject,
String query,
URI propertyURI,
boolean highlight)
Parse the passed query.
|
org.apache.lucene.search.TopDocs |
LuceneIndex.search(Resource resource,
org.apache.lucene.search.Query query)
Evaluates the given query only for the given resource.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MemoryStoreConnection.addInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
MemoryStoreConnection.addInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected void |
MemoryStoreConnection.addStatementInternal(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected void |
MemoryStoreConnection.addStatementInternal(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
MemoryStoreConnection.clearInferred(Resource... contexts) |
protected void |
MemoryStoreConnection.clearInternal(Resource... contexts) |
boolean |
MemoryStoreConnection.removeInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
MemoryStoreConnection.removeInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected void |
MemoryStoreConnection.removeStatementsInternal(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected void |
MemoryStoreConnection.removeStatementsInternal(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
Resource |
MemoryStoreConfig.export(Model graph) |
Modifier and Type | Method and Description |
---|---|
void |
MemoryStoreConfig.parse(Model graph,
Resource implNode) |
Modifier and Type | Interface and Description |
---|---|
interface |
MemResource
A MemoryStore-specific extension of Resource giving it subject statements.
|
Modifier and Type | Class and Description |
---|---|
class |
MemBNode
A MemoryStore-specific extension of BNodeImpl giving it node properties.
|
class |
MemIRI
A MemoryStore-specific implementation of URI that stores separated namespace
and local name information to enable reuse of namespace String objects
(reducing memory usage) and that gives it node properties.
|
Modifier and Type | Method and Description |
---|---|
MemResource |
MemValueFactory.getMemResource(Resource resource)
See getMemValue() for description.
|
MemResource |
MemValueFactory.getOrCreateMemResource(Resource resource)
See
MemValueFactory.getOrCreateMemValue(Value) for description. |
Modifier and Type | Method and Description |
---|---|
boolean |
SailModel.add(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
SailModel.add(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
SailModel.clear(Resource... contexts) |
boolean |
SailModel.contains(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
SailModel.contains(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Model |
SailModel.filter(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Model |
SailModel.filter(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
SailModel.remove(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
SailModel.remove(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
SailModel.removeTermIteration(Iterator<Statement> iter,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
SailModel.removeTermIteration(Iterator<Statement> iter,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
boolean |
NativeStoreConnection.addInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
NativeStoreConnection.addInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected void |
NativeStoreConnection.addStatementInternal(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected void |
NativeStoreConnection.addStatementInternal(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
NativeStoreConnection.clearInferred(Resource... contexts) |
protected void |
NativeStoreConnection.clearInternal(Resource... contexts) |
NativeResource |
ValueStore.getNativeResource(Resource resource) |
boolean |
NativeStoreConnection.removeInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
NativeStoreConnection.removeInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected void |
NativeStoreConnection.removeStatementsInternal(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected void |
NativeStoreConnection.removeStatementsInternal(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
Resource |
NativeStoreConfig.export(Model m) |
Modifier and Type | Method and Description |
---|---|
void |
NativeStoreConfig.parse(Model m,
Resource implNode) |
Modifier and Type | Interface and Description |
---|---|
interface |
NativeResource |
Modifier and Type | Class and Description |
---|---|
class |
NativeBNode |
class |
NativeIRI |
Modifier and Type | Method and Description |
---|---|
void |
SolrIndex.clearContexts(Resource... contexts) |
SearchDocument |
SolrIndex.getDocument(Resource subject,
Resource context)
Returns a Document representing the specified Resource & Context
combination, or null when no such Document exists yet.
|
Iterable<? extends SearchDocument> |
SolrIndex.getDocuments(Resource subject)
Returns a list of Documents representing the specified Resource (empty
when no such Document exists yet).
|
Iterable<? extends DocumentScore> |
SolrSearchQuery.query(Resource resource)
Deprecated.
|
protected Iterable<? extends DocumentScore> |
SolrIndex.query(Resource subject,
String query,
URI propertyURI,
boolean highlight)
Parse the passed query.
|
org.apache.solr.client.solrj.response.QueryResponse |
SolrIndex.search(Resource resource,
org.apache.solr.client.solrj.SolrQuery query)
Evaluates the given query only for the given resource.
|
Modifier and Type | Method and Description |
---|---|
Resource |
WorkbenchRequest.getResource(String name)
Returns a
Resource corresponding to the value of
the given parameter name. |
Copyright © 2001-2016 Aduna. All Rights Reserved.