org.openrdf.query.algebra
Class SingletonSet
java.lang.Object
org.openrdf.query.algebra.QueryModelNodeBase
org.openrdf.query.algebra.SingletonSet
- All Implemented Interfaces:
- Cloneable, QueryModelNode, TupleExpr
public class SingletonSet
- extends QueryModelNodeBase
- implements TupleExpr
A tuple expression that contains exactly one solution with zero bindings.
SingletonSet
public SingletonSet()
getBindingNames
public Set<String> getBindingNames()
- Description copied from interface:
TupleExpr
- Gets the names of the bindings that are, or can be, returned by this tuple
expression when it is evaluated.
- Specified by:
getBindingNames in interface TupleExpr
- Returns:
- A set of binding names.
visit
public <X extends Exception> void visit(QueryModelVisitor<X> visitor)
throws X extends Exception
- Description copied from interface:
QueryModelNode
- Visits this node. The node reports itself to the visitor with the proper
runtime type.
- Specified by:
visit in interface QueryModelNode
- Throws:
X extends Exception
clone
public SingletonSet clone()
- Description copied from interface:
QueryModelNode
- Returns a (deep) clone of this query model node. This method recursively
clones the entire node tree, starting from this nodes.
- Specified by:
clone in interface QueryModelNode- Specified by:
clone in interface TupleExpr- Overrides:
clone in class QueryModelNodeBase
- Returns:
- A deep clone of this query model node.
Copyright © 2001-2008 Aduna. All Rights Reserved.