Expand description
I define generic traits and default implementations for matchers, objects that can be used to match zero, one or several terms.
For a list of matcher implementations,
check TermMarcher
’s and
GraphNameMatcher
’s implementors lists.
For methods using matchers (with examples), see for example
Triple::matched_by
,
Graph::triples_matching
,
MutableGraph::remove_matching
,
MutableGraph::retain_matching
,
Dataset::quads_matching
,
MutableDataset::remove_matching
,
MutableDataset::retain_matching
.
Structs§
- A
TermMatcher
that matches all literals with a given datatype - A
TermMatcher
that matches all literals with a given language tag. - Result type of
TermMatcher::matcher_ref
andGraphNameMatcher::matcher_ref
. - Wrapper type returned by
TermMatcher::gn