public class SparqlTestBase extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
QUERY_TTL |
protected SparqlStreamProcessor |
queryEngine |
protected org.openrdf.sail.Sail |
sail |
protected java.util.function.BiConsumer<org.openrdf.query.BindingSet,Long> |
simpleConsumer |
protected int |
TUPLE_TTL |
protected org.openrdf.model.ValueFactory |
valueFactory |
| Constructor and Description |
|---|
SparqlTestBase() |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<org.openrdf.query.BindingSet> |
continuousQueryAnswers(List<org.openrdf.model.Statement> data,
org.openrdf.query.algebra.TupleExpr query,
boolean debug) |
protected Set<org.openrdf.query.BindingSet>[] |
distinctContinuousQueryAnswers(List<org.openrdf.model.Statement> data,
org.openrdf.query.algebra.TupleExpr... queries) |
protected Set<org.openrdf.query.BindingSet>[] |
distinctStaticQueryAnswers(List<org.openrdf.model.Statement> data,
org.openrdf.query.algebra.TupleExpr... queries) |
protected List<org.openrdf.model.Statement> |
loadData(String fileName) |
protected org.openrdf.query.algebra.TupleExpr |
loadQuery(String fileName) |
protected org.openrdf.sail.Sail sail
protected SparqlStreamProcessor queryEngine
protected final org.openrdf.model.ValueFactory valueFactory
protected final int TUPLE_TTL
protected final int QUERY_TTL
protected final java.util.function.BiConsumer<org.openrdf.query.BindingSet,Long> simpleConsumer
protected org.openrdf.query.algebra.TupleExpr loadQuery(String fileName) throws Exception
Exceptionprotected List<org.openrdf.model.Statement> loadData(String fileName) throws Exception
Exceptionprotected Set<org.openrdf.query.BindingSet>[] distinctStaticQueryAnswers(List<org.openrdf.model.Statement> data, org.openrdf.query.algebra.TupleExpr... queries)
protected Set<org.openrdf.query.BindingSet>[] distinctContinuousQueryAnswers(List<org.openrdf.model.Statement> data, org.openrdf.query.algebra.TupleExpr... queries) throws Exception
Exceptionprotected Collection<org.openrdf.query.BindingSet> continuousQueryAnswers(List<org.openrdf.model.Statement> data, org.openrdf.query.algebra.TupleExpr query, boolean debug) throws Exception
ExceptionCopyright © 2016. All Rights Reserved.