org.openrdf.sail.federation.algebra
Class OwnedTupleExpr

java.lang.Object
  extended by org.openrdf.query.algebra.QueryModelNodeBase
      extended by org.openrdf.query.algebra.UnaryTupleOperator
          extended by org.openrdf.sail.federation.algebra.OwnedTupleExpr
All Implemented Interfaces:
Cloneable, QueryModelNode, TupleExpr

public class OwnedTupleExpr
extends UnaryTupleOperator

Indicates that the argument should be evaluated in a particular member.

Author:
James Leigh

Field Summary
 
Fields inherited from class org.openrdf.query.algebra.UnaryTupleOperator
arg
 
Constructor Summary
OwnedTupleExpr(RepositoryConnection owner, TupleExpr arg)
           
 
Method Summary
 CloseableIteration<BindingSet,QueryEvaluationException> evaluate(Dataset dataset, BindingSet bindings)
           
 RepositoryConnection getOwner()
           
 String getSignature()
           
 void prepare(QueryLanguage ql, String qry, Map<String,String> bindings)
           
<X extends Exception>
void
visit(QueryModelVisitor<X> visitor)
           
 
Methods inherited from class org.openrdf.query.algebra.UnaryTupleOperator
clone, equals, getArg, getAssuredBindingNames, getBindingNames, hashCode, replaceChildNode, setArg, visitChildren
 
Methods inherited from class org.openrdf.query.algebra.QueryModelNodeBase
getParentNode, nullEquals, replaceNodeInList, replaceWith, setParentNode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openrdf.query.algebra.QueryModelNode
getParentNode, replaceWith, setParentNode, toString
 

Constructor Detail

OwnedTupleExpr

public OwnedTupleExpr(RepositoryConnection owner,
                      TupleExpr arg)
Method Detail

getOwner

public RepositoryConnection getOwner()

prepare

public void prepare(QueryLanguage ql,
                    String qry,
                    Map<String,String> bindings)
             throws RepositoryException,
                    MalformedQueryException
Throws:
RepositoryException
MalformedQueryException

evaluate

public CloseableIteration<BindingSet,QueryEvaluationException> evaluate(Dataset dataset,
                                                                        BindingSet bindings)
                                                                 throws QueryEvaluationException
Throws:
QueryEvaluationException

visit

public <X extends Exception> void visit(QueryModelVisitor<X> visitor)
           throws X extends Exception
Throws:
X extends Exception

getSignature

public String getSignature()
Specified by:
getSignature in interface QueryModelNode
Overrides:
getSignature in class QueryModelNodeBase


Copyright © 2004-2010 James Leigh Services Inc.. All Rights Reserved.