| Package | Description |
|---|---|
| org.eclipse.rdf4j.model |
RDF Model API
|
| org.eclipse.rdf4j.model.impl |
Default implementations of the RDF model interfaces.
|
| org.eclipse.rdf4j.model.util |
| Modifier and Type | Method and Description |
|---|---|
Model |
ModelFactory.createEmptyModel() |
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,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
|
Model |
Model.unmodifiable()
Returns an unmodifiable view of this model.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractModel
Provides basic operations that are common to all Models.
|
class |
EmptyModel
Blocks access to the statements of the model, allowing only changes to the model's namespaces.
|
class |
FilteredModel
Applies a basic graph pattern filter to what triples can be see.
|
class |
LinkedHashModel
Hash table based implementation of the
Model interface. |
class |
TreeModel
A Red-Black tree based
Model implementation. |
| Modifier and Type | Method and Description |
|---|---|
Model |
EmptyModel.filter(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Model |
LinkedHashModel.filter(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Model |
TreeModel.filter(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Model |
FilteredModel.filter(Resource s,
IRI p,
Value o,
Resource... c) |
Model |
AbstractModel.filter(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
|
Model |
AbstractModel.unmodifiable() |
| Constructor and Description |
|---|
EmptyModel(Model model) |
LinkedHashModel(Model model) |
TreeModel(Model model) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
static Value |
Models.anyObject(Model m)
Deprecated.
since 4.0. Use
Models.object(Model) instead. |
static Literal |
Models.anyObjectLiteral(Model m)
Deprecated.
since 4.0. Use
Models.objectLiteral(Model) instead. |
static Resource |
Models.anyObjectResource(Model m)
Deprecated.
since 4.0. Use
Models.objectResource(Model) instead. |
static URI |
Models.anyObjectURI(Model m)
Deprecated.
since 4.0. Use
Models.objectIRI(Model) instead. |
static URI |
Models.anyPredicate(Model m)
Deprecated.
since 4.0. Use
Models.predicate(Model) instead. |
static Resource |
Models.anySubject(Model m)
Deprecated.
since 4.0. Use
Models.subject(Model) instead. |
static BNode |
Models.anySubjectBNode(Model m)
Deprecated.
since 4.0. Use
Models.subjectBNode(Model) instead. |
static URI |
Models.anySubjectURI(Model m)
Deprecated.
since 4.0. Use
Models.subjectIRI(Model) instead. |
static Value |
Models.object(Model m)
Retrieves an object
Value from the statements in the given model. |
static IRI |
Models.objectIRI(Model m)
Retrieves an object
IRI value from the statements in the given model. |
static Literal |
Models.objectLiteral(Model m)
Retrieves an object
Literal value from the statements in the given model. |
static Resource |
Models.objectResource(Model m)
Retrieves an object
Resource value from the statements in the given model. |
static String |
Models.objectString(Model m)
Retrieves an object value as a String from the statements in the given model.
|
static IRI |
Models.predicate(Model m)
Retrieves a predicate from the statements in the given model.
|
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 Resource |
Models.subject(Model m)
Retrieves a subject
Resource from the statements in the given model. |
static BNode |
Models.subjectBNode(Model m)
Retrieves a subject
BNode from the statements in the given model. |
static IRI |
Models.subjectIRI(Model m)
Retrieves a subject
IRI from the statements in the given model. |
Copyright © 2015-2016 Eclipse Foundation. All Rights Reserved.