com.hp.hpl.jena.graph.query
Class QueryNode.Bound
java.lang.Object
com.hp.hpl.jena.graph.query.QueryNode
com.hp.hpl.jena.graph.query.QueryNode.Bound
- Enclosing class:
- QueryNode
public static class QueryNode.Bound
- extends QueryNode
Method Summary |
Node |
finder(Domain d)
Answer a Node value to use when this QueryValue is used to select
objects in a Graph::find() operation; for concrete nodes, that very
node, for variables their current value (ANY if not bound). |
boolean |
matchOrBind(Domain d,
Node x)
Optimisation: the action to be performed when matching a just-bound
variable or binding a newly-bound variable, or nothing for any other
kind of QueryNode. |
java.lang.String |
toString()
Return a handy string representation for debugging purposes. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
QueryNode.Bound
public QueryNode.Bound(Node n,
int index)
finder
public Node finder(Domain d)
- Description copied from class:
QueryNode
- Answer a Node value to use when this QueryValue is used to select
objects in a Graph::find() operation; for concrete nodes, that very
node, for variables their current value (ANY if not bound).
- Overrides:
finder
in class QueryNode
matchOrBind
public boolean matchOrBind(Domain d,
Node x)
- Description copied from class:
QueryNode
- Optimisation: the action to be performed when matching a just-bound
variable or binding a newly-bound variable, or nothing for any other
kind of QueryNode.
- Specified by:
matchOrBind
in class QueryNode
toString
public java.lang.String toString()
- Description copied from class:
QueryNode
- Return a handy string representation for debugging purposes. Not for
machine consumption.
- Overrides:
toString
in class QueryNode
Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP