com.bigdata.rdf.sail
Class BigdataTripleSource

java.lang.Object
  extended by com.bigdata.rdf.sail.BigdataTripleSource
All Implemented Interfaces:
org.openrdf.query.algebra.evaluation.TripleSource

public class BigdataTripleSource
extends Object
implements org.openrdf.query.algebra.evaluation.TripleSource

TripleSource API - used by high-level query.

Note: We need to use a class for this since the behavior is parameterized based on whether or not inferred statements are to be included in the query results.


Field Summary
protected  BigdataSail.BigdataSailConnection conn
           
 boolean includeInferred
           
 
Method Summary
protected  AbstractTripleStore getDatabase()
           
 info.aduna.iteration.CloseableIteration<? extends Statement,org.openrdf.query.QueryEvaluationException> getStatements(Resource s, URI p, Value o, Resource... contexts)
          This wraps BigdataSail.BigdataSailConnection.getStatements(Resource, URI, Value, boolean, Resource[]).
 ValueFactory getValueFactory()
          The BigdataValueFactoryImpl.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

conn

protected final BigdataSail.BigdataSailConnection conn

includeInferred

public final boolean includeInferred
Method Detail

getDatabase

protected AbstractTripleStore getDatabase()

getStatements

public info.aduna.iteration.CloseableIteration<? extends Statement,org.openrdf.query.QueryEvaluationException> getStatements(Resource s,
                                                                                                                             URI p,
                                                                                                                             Value o,
                                                                                                                             Resource... contexts)
                                                                                                                      throws org.openrdf.query.QueryEvaluationException
This wraps BigdataSail.BigdataSailConnection.getStatements(Resource, URI, Value, boolean, Resource[]).

Specified by:
getStatements in interface org.openrdf.query.algebra.evaluation.TripleSource
Throws:
org.openrdf.query.QueryEvaluationException

getValueFactory

public ValueFactory getValueFactory()
The BigdataValueFactoryImpl.

Specified by:
getValueFactory in interface org.openrdf.query.algebra.evaluation.TripleSource


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.