com.hp.hpl.jena.util
Class QueryMapper
java.lang.Object
com.hp.hpl.jena.util.QueryMapper
public class QueryMapper
- extends java.lang.Object
Utility class for ModelQueryUtil
which converts a query represented
by a model with jqv: variables into a .graph.query.Query
object.
- Author:
- kers
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryMapper
public QueryMapper(Model m,
Resource[] variables)
getVariables
public Node[] getVariables()
getQuery
public Query getQuery()
getGraph
public Graph getGraph()
toQueryGraph
public Graph toQueryGraph(Model m)
toQueryTriple
public Triple toQueryTriple(Statement s)
toQueryVariables
public Node[] toQueryVariables(Resource[] vars)
toQueryNode
public Node toQueryNode(RDFNode rn)
Copyright � 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP