QueryNode.Any, QueryNode.Bind, QueryNode.Bound, QueryNode.Fixed, QueryNode.JustBound, QueryNode.MustNotMatchException
Constructor and Description |
---|
QueryNode.Bound(Node n,
int index) |
Modifier and Type | Method and Description |
---|---|
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.
|
String |
toString()
Return a handy string representation for debugging purposes.
|
public QueryNode.Bound(Node n, int index)
public Node finder(Domain d)
QueryNode
public boolean matchOrBind(Domain d, Node x)
QueryNode
matchOrBind
in class QueryNode
Copyright ? 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP