com.hp.hpl.jena.graph.query
Class Query
java.lang.Object
com.hp.hpl.jena.graph.query.Query
- public class Query
- extends java.lang.Object
The class of graph queries.
- Author:
- hedgehog
Nested Class Summary |
static class |
Query.ArgMap
a mapping from from names to Graphs |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
anon
public static final java.lang.String anon
- See Also:
- Constant Field Values
ANY
public static final Node ANY
S
public static final Node S
P
public static final Node P
O
public static final Node O
X
public static final Node X
Y
public static final Node Y
Z
public static final Node Z
NE
public static final Node NE
Query
public Query()
Query
public Query(Graph pattern)
addMatch
public Query addMatch(Node S,
Node P,
Node O)
addMatch
public Query addMatch(Triple t)
addMatch
public Query addMatch(java.lang.String name,
Node S,
Node P,
Node O)
addConstraint
public Query addConstraint(Node S,
Node P,
Node O)
addConstraint
public Query addConstraint(Graph g)
executeBindings
public ExtendedIterator executeBindings(Graph g,
Node[] results)
executeBindings
public ExtendedIterator executeBindings(Query.ArgMap args,
Node[] nodes)
- the standard "default" implementation of executeBindings.
args
public Query.ArgMap args()
getVariableCount
public int getVariableCount()
Copyright © 2001-2003 Hewlett-Packard. All Rights Reserved.