java.lang.Object
org.apache.jena.sparql.core.Match
Match triples, quads, with wildcard rules (null or
Node.ANY are wildcards).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn a filter stream of matches for triples in the collection.Return a filter stream of matches for quads in the collection.static booleanMatch a node (non-null) with a pattern node.static booleanMatch a triple.static booleanMatch a quad.static booleanmatchValue(Node node, Node pattern) Match a node (non-null) with a pattern node.
-
Constructor Details
-
Match
public Match()
-
-
Method Details
-
match
Match a quad. A quad matches g/s/p/o if each component matches the corresponding node. -
match
Match a triple. A triple matches s/p/o if each component matches the corresponding node. -
match
Match a node (non-null) with a pattern node. Returns true if:- pattern is null
- pattern is
Node.ANY - pattern is concrete and .equals the node.
-
matchValue
Match a node (non-null) with a pattern node. Returns true if:- pattern is null
- pattern is
Node.ANY - pattern is concrete and sameValueAs the node.
-
match
Return a filter stream of matches for triples in the collection. -
match
Return a filter stream of matches for quads in the collection.
-