[
https://issues.apache.org/jira/browse/JENA-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14181430#comment-14181430
]
Andy Seaborne commented on JENA-778:
------------------------------------
There are two things to consider: calls to
{{getMatchSubject}},{{getMatchPredicate}},{{getMatchObject}} and the use of
{{TripleMatch}} in {{Graph.find(TripleMatch)}}.
There are very few calls to {{getMatch*}} and some of those are just unbundling
the {{TripleMatch}} into
the {{find(S,P,O)}} form.
Proposal:
# Deprecate {{TripleMatch}} and {{getMatch*}}.
# Add {{getSubjectOrNull}}, {{getSubjectOrAny}} etc to {{Triple}} (and
similarly for {{Quad}}).
# Add {{Graph.find(Triple)}}, deprecate {{Graph.find(TripleMatch)}}.
# Add {{GraphBase.graphBaseFind(Triple)}}, deprecate
{{GraphBase.graphBaseFind(TripleMatch)}}.
# Fix the code base to not make deprecated calls.
> Remove TripleMatch interface
> ----------------------------
>
> Key: JENA-778
> URL: https://issues.apache.org/jira/browse/JENA-778
> Project: Apache Jena
> Issue Type: Task
> Reporter: Claude Warren
> Labels: Jena3
>
> This is an interface with no defined purpose. All functionality is found in
> the Triple interface.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)