[
https://issues.apache.org/jira/browse/JENA-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14181481#comment-14181481
]
Andy Seaborne commented on JENA-778:
------------------------------------
There would still be {{getSubject}}.
{{TripleMatch}} currently provides {{getMatchSubject}} which is "getSubject or
null if Node.ANY" so {{getSubjectOrNull}} is a clearer version of that (see
java8 Optional naming style). I just suggested {{getSubjectOrAny}} for
clarity/symmetry; I'm not strongly arguing for it.
We could just have {{getSubject}} and remove {{getSubjectOrX}}-like things all
together.
{{Quad}}s can have nulls in the graph slot. Node.ANY is a wildcard and really
only has meaning when used for finding; as a data value it is wrong, but that
does not matter in Triples. It does matter in quads -- the graph slot can be
"not applicable" which may be a triple without saying or knowing which graph it
is associated with.
> 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)