com.hp.hpl.jena.graph.query
Class QueryNode.Fixed
java.lang.Object
com.hp.hpl.jena.graph.query.QueryNode
com.hp.hpl.jena.graph.query.QueryNode.Fixed
- Enclosing class:
- QueryNode
public static class QueryNode.Fixed
- 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. |
String |
toString()
Return a handy string representation for debugging purposes. |
QueryNode.Fixed
public QueryNode.Fixed(Node n)
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 String toString()
- Description copied from class:
QueryNode
- Return a handy string representation for debugging purposes. Not for
machine consumption.
- Overrides:
toString
in class QueryNode
Licenced under the Apache License, Version 2.0