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 |
---|---|
static Resource |
Util.getContext(Repository repository,
String ctxID)
Get context IRI from string representation
|
static Resource[] |
Util.getContexts(String[] tokens,
int pos,
Repository repository)
Get context IRIs from a series of tokens, starting from (zero-based) position within the series.
|
Modifier and Type | Method and Description |
---|---|
void |
RDF4JProtocolSession.addData(InputStream contents,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RDF4JProtocolSession.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
RDFHandler handler,
Resource... contexts) |
void |
RDF4JProtocolSession.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
RDFHandler handler,
Resource... contexts) |
void |
RDF4JProtocolSession.removeData(InputStream contents,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
long |
RDF4JProtocolSession.size(Resource... contexts) |
protected void |
RDF4JProtocolSession.upload(org.apache.http.HttpEntity reqEntity,
String baseURI,
boolean overwrite,
boolean preserveNodeIds,
Protocol.Action action,
Resource... contexts) |
protected void |
RDF4JProtocolSession.upload(InputStream contents,
String baseURI,
RDFFormat dataFormat,
boolean overwrite,
boolean preserveNodeIds,
Protocol.Action action,
Resource... contexts) |
void |
RDF4JProtocolSession.upload(InputStream contents,
String baseURI,
RDFFormat dataFormat,
boolean overwrite,
boolean preserveNodeIds,
Resource... contexts) |
protected void |
RDF4JProtocolSession.upload(Reader contents,
String baseURI,
RDFFormat dataFormat,
boolean overwrite,
boolean preserveNodeIds,
Protocol.Action action,
Resource... contexts) |
void |
RDF4JProtocolSession.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 | Method and Description |
---|---|
void |
LuceneSpinSailConnection.addStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
|
void |
LuceneSpinSailConnection.addStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
|
void |
LuceneSpinSailConnection.clear(Resource... resources)
Deprecated.
|
void |
LuceneSpinSailConnection.removeStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
Removes all statements matching the specified subject, predicate and object from the repository.
|
void |
LuceneSpinSailConnection.removeStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
Removes all statements matching the specified subject, predicate and object from the repository.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BNode
An RDF-1.1 blank node (aka bnode, aka anonymous node).
|
interface |
IRI
An Internationalized Resource Identifier (IRI).
|
interface |
URI
Deprecated.
since 2.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. |
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.
|
default boolean |
Model.add(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
since 2.0. Use
Model.add(Resource, IRI, Value, Resource...) instead. |
default boolean |
Model.add(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
since 2.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 2.0. Use
Model.contains(Resource, IRI, Value, Resource...) instead. |
default boolean |
Model.contains(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
since 2.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.
Use
ValueFactory.createStatement(Resource, IRI, Value) instead. |
default Statement |
ValueFactory.createStatement(Resource subject,
URI predicate,
Value object,
Resource context)
Deprecated.
|
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.
|
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 2.0. Use
Model.remove(Resource, IRI, Value, Resource...) instead. |
default boolean |
Model.remove(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
since 2.0. Use
Model.remove(Resource, IRI, Value, Resource...) instead. |
Modifier and Type | Class and Description |
---|---|
class |
BNodeImpl
Deprecated.
since 2.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 2.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 |
ContextStatement.getContext() |
Resource |
SimpleStatement.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 |
FilteredModel.add(Resource s,
IRI p,
Value o,
Resource... c) |
boolean |
FilteredModel.add(Resource s,
IRI p,
Value o,
Resource... c) |
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 |
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 |
FilteredModel.contains(Resource s,
IRI p,
Value o,
Resource... c) |
boolean |
FilteredModel.contains(Resource s,
IRI p,
Value o,
Resource... c) |
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 |
EmptyModel.contains(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
EmptyModel.contains(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Statement |
ValidatingValueFactory.createStatement(Resource subject,
IRI predicate,
Value object) |
Statement |
AbstractValueFactory.createStatement(Resource subject,
IRI predicate,
Value object) |
Statement |
ValidatingValueFactory.createStatement(Resource subject,
IRI predicate,
Value object,
Resource context) |
Statement |
AbstractValueFactory.createStatement(Resource subject,
IRI predicate,
Value object,
Resource context) |
Statement |
ValidatingValueFactory.createStatement(Resource subject,
URI predicate,
Value object) |
Statement |
ValidatingValueFactory.createStatement(Resource subject,
URI predicate,
Value object,
Resource context) |
Model |
FilteredModel.filter(Resource s,
IRI p,
Value o,
Resource... c) |
Model |
FilteredModel.filter(Resource s,
IRI p,
Value o,
Resource... c) |
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 |
EmptyModel.filter(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Model |
EmptyModel.filter(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 |
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 |
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 |
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 |
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) |
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 |
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) |
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 2.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 2.0. Use
ValueFactory.createStatement(Resource, IRI, Value) instead. |
Modifier and Type | Method and Description |
---|---|
static Optional<Resource> |
Models.getPropertyResource(Model m,
Resource subject,
IRI property,
Resource... contexts)
Retrieve a property value as an IRI for the supplied subject from the given model.
|
static Set<Resource> |
Models.getPropertyResources(Model m,
Resource subject,
IRI property,
Resource... contexts)
Retrieve all property Resource values for the supplied subject and property from the given model.
|
static Optional<Resource> |
Models.objectResource(Model m)
Retrieves an object
Resource value from the statements in the given model. |
static Set<Resource> |
Models.objectResources(Model m)
Retrieves all object
Resource values 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 |
---|---|
ModelBuilder |
ModelBuilder.add(Resource subject,
IRI predicate,
Object object)
Add an RDF statement with the given subject, predicate and object to the model, using the current graph (either
named or default).
|
static <C extends Collection<Statement>> |
RDFCollections.asRDF(Iterable<?> values,
Resource head,
C sink,
Resource... contexts)
Converts the supplied
Iterable to an RDF
Collection, using the supplied head resource as the starting resource of the RDF Collection. |
static <C extends Collection<Statement>> |
RDFCollections.asRDF(Iterable<?> values,
Resource head,
C sink,
Resource... contexts)
Converts the supplied
Iterable to an RDF
Collection, using the supplied head resource as the starting resource of the RDF Collection. |
static <C extends Collection<Statement>> |
RDFCollections.asRDF(Iterable<?> values,
Resource head,
C sink,
ValueFactory valueFactory,
Resource... contexts)
Converts the supplied
Iterable to an RDF
Collection, using the supplied head resource as the starting resource of the RDF Collection. |
static <C extends Collection<Statement>> |
RDFCollections.asRDF(Iterable<?> values,
Resource head,
C sink,
ValueFactory valueFactory,
Resource... contexts)
Converts the supplied
Iterable to an RDF
Collection, using the supplied head resource as the starting resource of the RDF Collection. |
static <C extends Collection<Value>> |
RDFCollections.asValues(Model m,
Resource head,
C collection,
Resource... contexts)
Converts an RDF Collection to a Java
Collection of Value objects. |
static <C extends Collection<Value>> |
RDFCollections.asValues(Model m,
Resource head,
C collection,
Resource... contexts)
Converts an RDF Collection to a Java
Collection of Value objects. |
static void |
Statements.consume(ValueFactory vf,
Resource subject,
IRI predicate,
Value object,
java.util.function.Consumer<Statement> consumer,
Resource... contexts)
|
static void |
Statements.consume(ValueFactory vf,
Resource subject,
IRI predicate,
Value object,
java.util.function.Consumer<Statement> consumer,
Resource... contexts)
|
static void |
RDFCollections.consumeCollection(Iterable<?> values,
Resource head,
java.util.function.Consumer<Statement> consumer,
Resource... contexts)
Converts the supplied
Iterable to an RDF
Collection, using the supplied head resource as the starting resource of the RDF Collection. |
static void |
RDFCollections.consumeCollection(Iterable<?> values,
Resource head,
java.util.function.Consumer<Statement> consumer,
Resource... contexts)
Converts the supplied
Iterable to an RDF
Collection, using the supplied head resource as the starting resource of the RDF Collection. |
static void |
RDFCollections.consumeCollection(Iterable<?> values,
Resource head,
java.util.function.Consumer<Statement> consumer,
ValueFactory vf,
Resource... contexts)
Converts the supplied
Iterable to an RDF
Collection, using the supplied head resource as the starting resource of the RDF Collection. |
static void |
RDFCollections.consumeCollection(Iterable<?> values,
Resource head,
java.util.function.Consumer<Statement> consumer,
ValueFactory vf,
Resource... contexts)
Converts the supplied
Iterable to an RDF
Collection, using the supplied head resource as the starting resource of the RDF Collection. |
static void |
RDFCollections.consumeValues(Model m,
Resource head,
java.util.function.Consumer<Value> consumer,
Resource... contexts)
|
static void |
RDFCollections.consumeValues(Model m,
Resource head,
java.util.function.Consumer<Value> consumer,
Resource... contexts)
|
static <C extends Collection<Statement>> |
Statements.create(ValueFactory vf,
Resource subject,
IRI predicate,
Value object,
C collection,
Resource... contexts)
Creates one or more
Statement objects with the given subject, predicate and object, one for each given
context. |
static <C extends Collection<Statement>> |
Statements.create(ValueFactory vf,
Resource subject,
IRI predicate,
Value object,
C collection,
Resource... contexts)
Creates one or more
Statement objects with the given subject, predicate and object, one for each given
context. |
static <E extends RDF4JException> |
RDFCollections.extract(GetStatementOptional statementSupplier,
Resource head,
java.util.function.Consumer<Statement> collectionConsumer,
java.util.function.Function<String,java.util.function.Supplier<E>> exceptionSupplier,
Resource... contexts)
Extracts an RDF Collection starting with the supplied list head from the statement supplier and sends all
statements that make up the collection to the supplied
Consumer function. |
static <E extends RDF4JException> |
RDFCollections.extract(GetStatementOptional statementSupplier,
Resource head,
java.util.function.Consumer<Statement> collectionConsumer,
java.util.function.Function<String,java.util.function.Supplier<E>> exceptionSupplier,
Resource... contexts)
Extracts an RDF Collection starting with the supplied list head from the statement supplier and sends all
statements that make up the collection to the supplied
Consumer function. |
static void |
RDFCollections.extract(Model sourceModel,
Resource head,
java.util.function.Consumer<Statement> consumer,
Resource... contexts)
Extracts the RDF Collection starting with
supplied
head resource from the supplied source Model and sends the statements that make up the
collection to the supplied Consumer . |
static void |
RDFCollections.extract(Model sourceModel,
Resource head,
java.util.function.Consumer<Statement> consumer,
Resource... contexts)
Extracts the RDF Collection starting with
supplied
head resource from the supplied source Model and sends the statements that make up the
collection to the supplied Consumer . |
Optional<Statement> |
GetStatementOptional.get(Resource subject,
IRI predicate,
Value object,
Resource... contexts)
Either supplies a statement matching the given pattern, or
Optional.empty() otherwise. |
Optional<Statement> |
GetStatementOptional.get(Resource subject,
IRI predicate,
Value object,
Resource... contexts)
Either supplies a statement matching the given pattern, or
Optional.empty() otherwise. |
static <C extends Collection<Statement>> |
RDFCollections.getCollection(Model sourceModel,
Resource head,
C sink,
Resource... contexts)
Extracts the RDF Collection starting with the
supplied
head resource from the supplied source Model . |
static <C extends Collection<Statement>> |
RDFCollections.getCollection(Model sourceModel,
Resource head,
C sink,
Resource... contexts)
Extracts the RDF Collection starting with the
supplied
head resource from the supplied source Model . |
static Set<Value> |
Models.getProperties(Model m,
Resource subject,
IRI property,
Resource... contexts)
Retrieve all property values for the supplied subject and property from the given model.
|
static Set<Value> |
Models.getProperties(Model m,
Resource subject,
IRI property,
Resource... contexts)
Retrieve all property values for the supplied subject and property from the given model.
|
static Optional<Value> |
Models.getProperty(Model m,
Resource subject,
IRI property,
Resource... contexts)
Retrieve a property value for the supplied subject from the given model.
|
static Optional<Value> |
Models.getProperty(Model m,
Resource subject,
IRI property,
Resource... contexts)
Retrieve a property value for the supplied subject from the given model.
|
static Optional<IRI> |
Models.getPropertyIRI(Model m,
Resource subject,
IRI property,
Resource... contexts)
Retrieve a property value as an IRI for the supplied subject from the given model.
|
static Optional<IRI> |
Models.getPropertyIRI(Model m,
Resource subject,
IRI property,
Resource... contexts)
Retrieve a property value as an IRI for the supplied subject from the given model.
|
static Set<IRI> |
Models.getPropertyIRIs(Model m,
Resource subject,
IRI property,
Resource... contexts)
Retrieve all property IRI values for the supplied subject and property from the given model.
|
static Set<IRI> |
Models.getPropertyIRIs(Model m,
Resource subject,
IRI property,
Resource... contexts)
Retrieve all property IRI values for the supplied subject and property from the given model.
|
static Optional<Literal> |
Models.getPropertyLiteral(Model m,
Resource subject,
IRI property,
Resource... contexts)
Retrieve a property value as a
Literal for the supplied subject from the given model. |
static Optional<Literal> |
Models.getPropertyLiteral(Model m,
Resource subject,
IRI property,
Resource... contexts)
Retrieve a property value as a
Literal for the supplied subject from the given model. |
static Set<Literal> |
Models.getPropertyLiterals(Model m,
Resource subject,
IRI property,
Resource... contexts)
Retrieve all property Literal values for the supplied subject and property from the given model.
|
static Set<Literal> |
Models.getPropertyLiterals(Model m,
Resource subject,
IRI property,
Resource... contexts)
Retrieve all property Literal values for the supplied subject and property from the given model.
|
static Optional<Resource> |
Models.getPropertyResource(Model m,
Resource subject,
IRI property,
Resource... contexts)
Retrieve a property value as an IRI for the supplied subject from the given model.
|
static Optional<Resource> |
Models.getPropertyResource(Model m,
Resource subject,
IRI property,
Resource... contexts)
Retrieve a property value as an IRI for the supplied subject from the given model.
|
static Set<Resource> |
Models.getPropertyResources(Model m,
Resource subject,
IRI property,
Resource... contexts)
Retrieve all property Resource values for the supplied subject and property from the given model.
|
static Set<Resource> |
Models.getPropertyResources(Model m,
Resource subject,
IRI property,
Resource... contexts)
Retrieve all property Resource values for the supplied subject and property from the given model.
|
static Optional<String> |
Models.getPropertyString(Model m,
Resource subject,
IRI property,
Resource... contexts)
Retrieve a property value as a String for the supplied subject from the given model.
|
static Optional<String> |
Models.getPropertyString(Model m,
Resource subject,
IRI property,
Resource... contexts)
Retrieve a property value as a String for the supplied subject from the given model.
|
static Set<String> |
Models.getPropertyStrings(Model m,
Resource subject,
IRI property,
Resource... contexts)
Retrieve all property values as Strings for the supplied subject and property from the given model.
|
static Set<String> |
Models.getPropertyStrings(Model m,
Resource subject,
IRI property,
Resource... contexts)
Retrieve all property values as Strings for the supplied subject and property from the given model.
|
ModelBuilder |
ModelBuilder.namedGraph(Resource namedGraph)
Set the current graph in which to add new statements to the supplied named graph.
|
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.
|
ModelBuilder |
ModelBuilder.subject(Resource subject)
Set the subject resource about which statements are to be added to the model.
|
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 |
---|---|
static CloseableIteration<Resource,QueryEvaluationException> |
TripleSources.getObjectResources(Resource subject,
IRI predicate,
TripleSource store) |
static Iteration<Resource,QueryEvaluationException> |
TripleSources.listResources(Resource subj,
TripleSource store) |
Modifier and Type | Method and Description |
---|---|
static boolean |
TripleSources.booleanValue(Resource subj,
IRI pred,
TripleSource store) |
static CloseableIteration<Literal,QueryEvaluationException> |
TripleSources.getObjectLiterals(Resource subject,
IRI predicate,
TripleSource store) |
static CloseableIteration<Resource,QueryEvaluationException> |
TripleSources.getObjectResources(Resource subject,
IRI predicate,
TripleSource store) |
static CloseableIteration<IRI,QueryEvaluationException> |
TripleSources.getObjectURIs(Resource subject,
IRI predicate,
TripleSource store) |
static Iteration<Value,QueryEvaluationException> |
TripleSources.list(Resource subj,
TripleSource store) |
static Iteration<Resource,QueryEvaluationException> |
TripleSources.listResources(Resource subj,
TripleSource store) |
static Statement |
TripleSources.single(Resource subj,
IRI pred,
Value obj,
TripleSource store)
Returns the single statement with the given subject, predicate and object or null if none exists.
|
static Value |
TripleSources.singleValue(Resource subj,
IRI pred,
TripleSource store) |
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)
Deprecated.
Create a QueryBuilder for creating a describe query
|
static QueryBuilder<ParsedGraphQuery> |
QueryBuilderFactory.describe(String[] theVars,
Resource... theValues)
Deprecated.
Create a QueryBuilder for creating a describe query
|
Modifier and Type | Field and Description |
---|---|
protected Resource |
RepositoryConnectionTest.alexander |
protected Resource |
RepositoryTest.alexander |
protected Resource |
RepositoryConnectionTest.alice |
protected Resource |
RepositoryTest.alice |
protected Resource |
RepositoryConnectionTest.bob |
protected Resource |
RepositoryTest.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 2.0. Use
RepositoryConnection.add(Resource, IRI, Value, Resource...) instead. |
default void |
RepositoryConnection.add(Resource subject,
URI predicate,
Value object,
Resource... contexts)
Deprecated.
since 2.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 2.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 2.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 2.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 2.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 2.0. Use
RepositoryConnection.remove(Resource, IRI, Value, Resource...) instead. |
default void |
RepositoryConnection.remove(Resource subject,
URI predicate,
Value object,
Resource... contexts)
Deprecated.
since 2.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 |
AbstractDelegatingRepositoryImplConfig.export(Model model) |
Resource |
AbstractRepositoryImplConfig.export(Model model) |
static Resource |
RepositoryConfigUtil.getContext(RepositoryConnection con,
String repositoryID)
Deprecated.
|
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 |
RepositoryConfig.export(Model model,
Resource repositoryNode)
Exports the configuration into RDF using the given repositoryNode
|
void |
RepositoryConfig.parse(Model model,
Resource repositoryNode) |
void |
RepositoryImplConfig.parse(Model model,
Resource resource)
Reads the properties of this
RepositoryImplConfig from the supplied Model and sets them accordingly. |
void |
AbstractDelegatingRepositoryImplConfig.parse(Model model,
Resource resource) |
void |
AbstractRepositoryImplConfig.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 |
---|---|
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 |
---|---|
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.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.clear(RepositoryConnection conn,
Resource... contexts) |
void |
RepositoryConnectionListener.clear(RepositoryConnection conn,
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) |
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) |
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 |
---|---|
boolean |
AccurateRepositoryBloomFilter.mayHaveStatement(RepositoryConnection conn,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
AccurateRepositoryBloomFilter.mayHaveStatement(RepositoryConnection conn,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
InaccurateRepositoryBloomFilter.mayHaveStatement(RepositoryConnection conn,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
InaccurateRepositoryBloomFilter.mayHaveStatement(RepositoryConnection conn,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
RepositoryBloomFilter.mayHaveStatement(RepositoryConnection conn,
Resource subj,
IRI pred,
Value obj,
Resource... ctxs)
Returns true if the repository may have such a statement or false if it definitely does not.
|
boolean |
RepositoryBloomFilter.mayHaveStatement(RepositoryConnection conn,
Resource subj,
IRI pred,
Value obj,
Resource... ctxs)
Returns true if the repository may have such a statement or false if it definitely does not.
|
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 |
---|---|
protected Resource |
SPARQLUpdateDataBlockParser.parseImplicitBlank() |
protected Resource |
SPARQLUpdateDataBlockParser.parseNodeID() |
Modifier and Type | Method and Description |
---|---|
protected void |
RDFSailInserter.addStatement(Resource subj,
IRI pred,
Value obj,
Resource ctxt) |
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) |
static void |
Connections.consumeRDFCollection(RepositoryConnection conn,
Resource head,
java.util.function.Consumer<Statement> collectionConsumer,
Resource... contexts)
|
static void |
Connections.consumeRDFCollection(RepositoryConnection conn,
Resource head,
java.util.function.Consumer<Statement> collectionConsumer,
Resource... contexts)
|
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.
|
static <C extends Collection<Statement>> |
Connections.getRDFCollection(RepositoryConnection conn,
Resource head,
C statementCollection,
Resource... contexts)
Retrieve all
Statement s that together form the RDF Collection starting with the supplied starting
resource. |
static <C extends Collection<Statement>> |
Connections.getRDFCollection(RepositoryConnection conn,
Resource head,
C statementCollection,
Resource... contexts)
Retrieve all
Statement s that together form the RDF Collection starting with the supplied starting
resource. |
static Optional<Statement> |
Connections.getStatement(RepositoryConnection conn,
Resource subject,
IRI predicate,
Value object,
Resource... contexts)
Retrieve a single
Statement matching with the supplied subject, predicate, object and context(s) from the
given RepositoryConnection . |
static Optional<Statement> |
Connections.getStatement(RepositoryConnection conn,
Resource subject,
IRI predicate,
Value object,
Resource... contexts)
Retrieve a single
Statement matching with the supplied subject, predicate, object and context(s) from the
given RepositoryConnection . |
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 Resource |
AbstractRDFParser.createNode()
|
protected Resource |
AbstractRDFParser.createNode(String nodeID)
|
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 |
RDFXMLParser.createNode(String nodeID) |
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.
|
protected Resource |
TurtleParser.parseNodeID()
Parses a blank node ID, e.g.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TurtleParser.reportStatement(Resource subj,
IRI pred,
Value obj) |
protected void |
TurtleWriter.writeResource(Resource res)
Deprecated.
Use
TurtleWriter.writeResource(Resource, boolean) instead. |
protected void |
TurtleWriter.writeResource(Resource res,
boolean canShorten)
|
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.
|
default void |
SailConnection.addStatement(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
since 4.0. Use
SailConnection.addStatement(Resource, IRI, Value, Resource...) instead. |
default void |
SailConnection.addStatement(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
since 4.0. Use
SailConnection.addStatement(Resource, IRI, Value, Resource...) instead. |
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.
|
default void |
SailConnection.addStatement(UpdateContext op,
Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
since 4.0. Use
SailConnection.addStatement(UpdateContext, Resource, IRI, Value, Resource...) instead. |
default void |
SailConnection.addStatement(UpdateContext op,
Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
since 4.0. Use
SailConnection.addStatement(UpdateContext, Resource, IRI, Value, Resource...) instead. |
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 CloseableIteration<? extends Statement,SailException> |
SailConnection.getStatements(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Deprecated.
since 4.0. Use
SailConnection.getStatements(Resource, IRI, Value, boolean, Resource...) instead. |
default CloseableIteration<? extends Statement,SailException> |
SailConnection.getStatements(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Deprecated.
since 4.0. Use
SailConnection.getStatements(Resource, IRI, Value, boolean, Resource...) instead. |
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.
|
default void |
SailConnection.removeStatement(UpdateContext op,
Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
since 4.0. USe
SailConnection.removeStatement(UpdateContext, Resource, IRI, Value, Resource...) instead. |
default void |
SailConnection.removeStatement(UpdateContext op,
Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
since 4.0. USe
SailConnection.removeStatement(UpdateContext, Resource, IRI, Value, Resource...) instead. |
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.
|
default void |
SailConnection.removeStatements(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
since 4.0. Use
SailConnection.removeStatements(Resource, IRI, Value, Resource...) instead. |
default void |
SailConnection.removeStatements(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
since 4.0. Use
SailConnection.removeStatements(Resource, IRI, Value, Resource...) instead. |
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 |
BaseSailConfig.export(Model graph) |
Modifier and Type | Method and Description |
---|---|
void |
BaseSailConfig.parse(Model graph,
Resource implNode) |
Modifier and Type | Method and Description |
---|---|
Resource |
AbstractSailImplConfig.export(Model m) |
Resource |
AbstractDelegatingSailImplConfig.export(Model m) |
Resource |
SailImplConfig.export(Model graph) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractSailImplConfig.parse(Model m,
Resource implNode) |
void |
AbstractDelegatingSailImplConfig.parse(Model m,
Resource implNode) |
void |
SailImplConfig.parse(Model graph,
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,
IRI 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 |
---|---|
CloseableIteration<? extends Statement,QueryEvaluationException> |
SailTripleSource.getStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
CloseableIteration<? extends Statement,QueryEvaluationException> |
SailTripleSource.getStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
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 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 |
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.
|
boolean |
InferencerConnectionWrapper.addInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
InferencerConnectionWrapper.addInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
InferencerConnection.clearInferred(Resource... contexts)
Removes all inferred statements from the specified/all contexts.
|
void |
InferencerConnectionWrapper.clearInferred(Resource... 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 |
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.
|
boolean |
InferencerConnectionWrapper.removeInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
InferencerConnectionWrapper.removeInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
long |
InferencerConnectionWrapper.size(Resource... contexts)
Calls
InferencerConnectionWrapper.flushUpdates() before forwarding the call to the wrapped connection. |
Modifier and Type | Method and Description |
---|---|
boolean |
DedupingInferencerConnection.addInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
DedupingInferencerConnection.addInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
SchemaCachingRDFSInferencerConnection.addInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
SchemaCachingRDFSInferencerConnection.addInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
SchemaCachingRDFSInferencerConnection.addStatement(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
SchemaCachingRDFSInferencerConnection.addStatement(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
SchemaCachingRDFSInferencerConnection.addStatement(UpdateContext modify,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
SchemaCachingRDFSInferencerConnection.addStatement(UpdateContext modify,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
DedupingInferencerConnection.clearInferred(Resource... contexts) |
void |
SchemaCachingRDFSInferencerConnection.clearInferred(Resource... contexts) |
boolean |
DedupingInferencerConnection.removeInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
DedupingInferencerConnection.removeInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
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 |
---|---|
protected void |
RDFInferencerInserter.addStatement(Resource subj,
IRI pred,
Value obj,
Resource ctxt) |
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 |
AbstractSearchIndex.addDocuments(Resource subject,
List<Statement> statements)
Add a complete Lucene Document based on these statements.
|
void |
SearchIndex.addDocuments(Resource subject,
List<Statement> statements)
Add a complete Lucene Document based on these statements.
|
void |
LuceneSailConnection.addStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
LuceneSailConnection.addStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected void |
AbstractLuceneSailTest.assertQueryResult(String literal,
IRI predicate,
Resource resultUri) |
void |
LuceneSailConnection.clear(Resource... contexts) |
void |
LuceneSailBuffer.clear(Resource[] contexts)
Deprecated.
|
void |
LuceneIndex.clearContexts(Resource... contexts) |
void |
SearchIndex.clearContexts(Resource... contexts)
This should be called from within a begin-commit-rollback block.
|
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> |
LuceneQuery.query(Resource resource)
Deprecated.
|
Iterable<? extends DocumentScore> |
SearchQuery.query(Resource subject)
Deprecated.
Queries for the given subject or all subjects if null.
|
protected Iterable<? extends DocumentScore> |
LuceneIndex.query(Resource subject,
String query,
IRI propertyURI,
boolean highlight)
Parse the passed query.
|
protected abstract Iterable<? extends DocumentScore> |
AbstractSearchIndex.query(Resource subject,
String q,
IRI property,
boolean highlight) |
void |
LuceneSailConnection.removeStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
LuceneSailConnection.removeStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
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) |
QuerySpec(String matchesVarName,
String propertyVarName,
String scoreVarName,
String snippetVarName,
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 |
---|---|
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)
Deprecated.
|
boolean |
SailModel.add(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
|
boolean |
SailModel.clear(Resource... contexts)
Deprecated.
|
boolean |
SailModel.contains(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
|
boolean |
SailModel.contains(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
|
Model |
SailModel.filter(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
|
Model |
SailModel.filter(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
|
boolean |
SailModel.remove(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
|
boolean |
SailModel.remove(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
|
void |
SailModel.removeTermIteration(Iterator<Statement> iter,
Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
|
void |
SailModel.removeTermIteration(Iterator<Statement> iter,
Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
|
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)
Deprecated.
|
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 |
---|---|
Set<Resource> |
RdfsSubClassOfReasoner.backwardsChain(Resource type)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
ShaclSailConnection.addStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
ShaclSailConnection.addStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
ShaclSailConnection.addStatement(UpdateContext modify,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
ShaclSailConnection.addStatement(UpdateContext modify,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Set<Resource> |
RdfsSubClassOfReasoner.backwardsChain(Resource type)
Deprecated.
|
void |
ShaclSailConnection.clear(Resource... contexts) |
CloseableIteration<? extends Statement,SailException> |
ShaclSailConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
CloseableIteration<? extends Statement,SailException> |
ShaclSailConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
boolean |
ShaclSailConnection.hasStatement(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
boolean |
ShaclSailConnection.hasStatement(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
void |
ShaclSailConnection.removeStatement(UpdateContext modify,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
ShaclSailConnection.removeStatement(UpdateContext modify,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
ShaclSailConnection.removeStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
ShaclSailConnection.removeStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
Resource |
ShaclSailConfig.export(Model m) |
Modifier and Type | Method and Description |
---|---|
void |
ShaclSailConfig.parse(Model m,
Resource implNode) |
Constructor and Description |
---|
DatatypeFilter(PlanNode parent,
Resource datatype) |
UnorderedSelect(SailConnection connection,
Resource subject,
IRI predicate,
Value object,
UnorderedSelect.OutputPattern outputPattern) |
Constructor and Description |
---|
ExternalTypeFilterNode(SailConnection connection,
Set<Resource> filterOnType,
PlanNode parent,
int index,
boolean returnMatching) |
Modifier and Type | Method and Description |
---|---|
Resource |
ValidationResult.getId() |
Resource |
ValidationReport.getId() |
Resource |
ModelInterface.getId() |
Resource |
ValidationResult.getSourceShapeResource() |
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,
IRI 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 |
---|---|
static ConstraintViolation |
SpinInferencing.checkConstraint(Resource subj,
Resource constraint,
QueryPreparer queryPreparer,
SpinParser parser) |
static int |
SpinInferencing.executeRule(Resource subj,
Resource rule,
QueryPreparer queryPreparer,
SpinParser parser,
InferencerConnection conn) |
Modifier and Type | Method and Description |
---|---|
void |
SpinSailConfig.parse(Model m,
Resource implNode) |
Modifier and Type | Method and Description |
---|---|
static TriplePattern |
GraphPatterns.tp(Resource subject,
IRI predicate,
RdfObject... objects)
Create a triple pattern with the given subject, predicate, and object(s)
|
static TriplePattern |
GraphPatterns.tp(Resource subject,
IRI predicate,
Value... objects) |
static TriplePattern |
GraphPatterns.tp(Resource subject,
RdfPredicate predicate,
RdfObject... objects)
Create a triple pattern with the given subject, predicate, and object(s)
|
static TriplePattern |
GraphPatterns.tp(Resource subject,
RdfPredicate predicate,
Value... objects) |
Modifier and Type | Method and Description |
---|---|
boolean |
SpinParser.isThisUnbound(Resource subj,
TripleSource store) |
protected ParsedOperation |
SpinParser.parse(Resource queryResource,
IRI queryClass,
TripleSource store) |
ParsedOperation |
SpinParser.parse(Resource queryResource,
TripleSource store) |
ParsedBooleanQuery |
SpinParser.parseAskQuery(Resource queryResource,
TripleSource store) |
ConstraintViolation |
SpinParser.parseConstraintViolation(Resource subj,
TripleSource store) |
ParsedGraphQuery |
SpinParser.parseConstructQuery(Resource queryResource,
TripleSource store) |
ParsedDescribeQuery |
SpinParser.parseDescribeQuery(Resource queryResource,
TripleSource store) |
ParsedQuery |
SpinParser.parseQuery(Resource queryResource,
TripleSource store) |
ParsedTupleQuery |
SpinParser.parseSelectQuery(Resource queryResource,
TripleSource store) |
ParsedUpdate |
SpinParser.parseUpdate(Resource queryResource,
TripleSource store) |
Modifier and Type | Method and Description |
---|---|
Resource |
WorkbenchRequest.getResource(String name)
Returns a
Resource corresponding to the value of the given parameter name. |
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.