com.hp.hpl.jena.graph.query
Class QueryTriple
java.lang.Object
com.hp.hpl.jena.graph.query.QueryTriple
public class QueryTriple
- extends Object
A QueryTriple is a composite of three QueryNodes derived from a
single source triple. QueryTriple knows how to classify a triple
into a QueryTriple based on the classification of that triple's elements.
A QueryTriple can create a specific Matcher
which
will do the minimal amount of work to match triples that have been
generated by find
on the finder of that QueryTriple.
- Author:
- hedgehog
S
public final QueryNode S
P
public final QueryNode P
O
public final QueryNode O
QueryTriple
public QueryTriple(QueryNode S,
QueryNode P,
QueryNode O)
toString
public String toString()
- Overrides:
toString
in class Object
classify
public static QueryTriple[] classify(QueryNodeFactory f,
Mapping m,
Triple[] t)
classify
public static QueryTriple classify(QueryNodeFactory f,
Mapping m,
Triple t)
createApplyer
public Applyer createApplyer(Graph g)
createMatcher
public Matcher createMatcher()
Licenced under the Apache License, Version 2.0