| Constructor and Description |
|---|
Statements()
No instances
|
| Modifier and Type | Method and Description |
|---|---|
static Function<Statement,Statement> |
applyContext(Resource theContext) |
static Predicate<Statement> |
matches(Resource theSubject,
IRI thePredicate,
Value theObject,
Resource... theContexts)
Provide a
Predicate that can filter a graph based on which statements match the given SPOC pattern. |
@Nonnull public static Predicate<Statement> matches(@Nullable Resource theSubject, @Nullable IRI thePredicate, @Nullable Value theObject, @Nullable Resource... theContexts)
Predicate that can filter a graph based on which statements match the given SPOC pattern.
All arguments accept `null` as a wildcard argument to indicate that the results _should not_ be filtered
on that attribute.theSubject - the subject to matchthePredicate - the predicate to matchtheObject - the object to matchtheContexts - the contexts to matchCopyright © 2010-2016 Stardog Union. All Rights Reserved.