public class AGTupleQuery extends AGQuery implements TupleQuery
RDFS_PLUS_PLUS, RESTRICTION, SPARQL_COVERAGE_PLANNER, SPARQL_IDENTITY_PLANNER
Constructor and Description |
---|
AGTupleQuery(AGRepositoryConnection con,
QueryLanguage ql,
String queryString,
String baseURI) |
Modifier and Type | Method and Description |
---|---|
long |
count()
Evaluates the query and returns only the number of results
to the client (counting is done on the server, the results
are not returned).
|
TupleQueryResult |
evaluate() |
void |
evaluate(TupleQueryResultHandler handler) |
analyze, getBaseURI, getBindingsArray, getEngine, getEntailmentRegime, getFranzOptionPrefixString, getLanguage, getLimit, getName, getOffset, getPlanner, getQueryString, isCheckVariables, isLoggingEnabled, isPrepared, setCheckVariables, setEngine, setEntailmentRegime, setIncludeInferred, setLimit, setLoggingEnabled, setOffset, setPlanner, setPrepared, setSaveName, toString
getMaxQueryTime, setMaxQueryTime
clearBindings, getBindings, getDataset, getIncludeInferred, removeBinding, setBinding, setDataset
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMaxQueryTime, setMaxQueryTime
clearBindings, getBindings, getDataset, getIncludeInferred, removeBinding, setBinding, setDataset, setIncludeInferred
public AGTupleQuery(AGRepositoryConnection con, QueryLanguage ql, String queryString, String baseURI)
public TupleQueryResult evaluate() throws QueryEvaluationException
evaluate
in interface TupleQuery
QueryEvaluationException
public void evaluate(TupleQueryResultHandler handler) throws QueryEvaluationException, TupleQueryResultHandlerException
evaluate
in interface TupleQuery
QueryEvaluationException
TupleQueryResultHandlerException
public long count() throws QueryEvaluationException
QueryEvaluationException
Copyright © 2017 Franz Inc.. All rights reserved.