OptionalcountOptionalcountReturns the number of nodes in the given graph. Nodes are all terms that are either a subject or object within the graph.
This will only be used if features.indexNodes is true.
OptionalcountReturn an estimated count of the number of quads matching the given pattern.
The better the estimate, the better the query engine will be able to optimize the query.
Optionalsubject: TermAn optional subject.
Optionalpredicate: TermAn optional predicate.
Optionalobject: TermAn optional object.
Optionalgraph: TermAn optional graph.
OptionalfeaturesA record indicating supported features of this source.
OptionalindexDistinctTerms?: booleanIf this is true, matchDistinctTerms and countDistinctTerms must be available.
OptionalindexNodes?: booleanIf this is true, matchNodes and countNodes must be available.
OptionalquotedTripleFiltering?: booleanIf true, this source supports passing quad patterns with quoted quad patterns in the match method.
If false (or if features is undefined), such quoted quad patterns can not be passed,
and must be replaced by undefined and filtered by the caller afterwards.
OptionalmatchReturns a stream that produces all bindings matching the pattern.
The factory that will be used to create bindings.
The subject, which can be a variable.
The predicate, which can be a variable.
The object, which can be a variable.
The graph, which can be a variable.
OptionalmatchReturns a stream that produces all distinct combinations of the specified terms. The stream produces arrays where each element corresponds to a term in the termNames array.
This will only be used if features.indexDistinctTerms is true.
OptionalmatchReturns a stream that produces all nodes as terms in the given graph. Nodes are all terms that are either a subject or object within the graph.
This will only be used if features.indexNodes is true.
Returns a stream that processes all quads matching the pattern.
Optionalsubject: Term | nullThe optional subject.
Optionalpredicate: Term | nullThe optional predicate.
Optionalobject: Term | nullThe optional object.
Optionalgraph: Term | nullThe optional graph.
The resulting quad stream.
Returns the number of distinct combinations of the specified terms.
This will only be used if
features.indexDistinctTermsis true.