org.openrdf.query.algebra
Class EmptySet
java.lang.Object
org.openrdf.query.algebra.QueryModelNodeBase
org.openrdf.query.algebra.EmptySet
- All Implemented Interfaces:
- Cloneable, QueryModelNode, TupleExpr
public class EmptySet
- extends QueryModelNodeBase
- implements TupleExpr
A tuple expression that contains zero solutions.
EmptySet
public EmptySet()
getBindingNames
public Set<String> getBindingNames()
- Description copied from interface:
TupleExpr
- Gets the names of the bindings that are 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 EmptySet 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-2007 Aduna. All Rights Reserved.