org.openrdf.sail.federation.evaluation
Class RepositoryTripleSource

java.lang.Object
  extended by org.openrdf.sail.federation.evaluation.RepositoryTripleSource
All Implemented Interfaces:
TripleSource

public class RepositoryTripleSource
extends Object
implements TripleSource

Allow a single repository member to control a EvaulationStrategy.

Author:
James Leigh

Constructor Summary
RepositoryTripleSource(RepositoryConnection repo)
           
 
Method Summary
 CloseableIteration<? extends Statement,QueryEvaluationException> getStatements(Resource subj, URI pred, Value obj, Resource... contexts)
           
 ValueFactory getValueFactory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryTripleSource

public RepositoryTripleSource(RepositoryConnection repo)
Method Detail

getStatements

public CloseableIteration<? extends Statement,QueryEvaluationException> getStatements(Resource subj,
                                                                                      URI pred,
                                                                                      Value obj,
                                                                                      Resource... contexts)
                                                                               throws QueryEvaluationException
Specified by:
getStatements in interface TripleSource
Throws:
QueryEvaluationException

getValueFactory

public ValueFactory getValueFactory()
Specified by:
getValueFactory in interface TripleSource


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