com.franz.agraph.repository
Class AGBooleanQuery
java.lang.Object
org.openrdf.query.impl.AbstractOperation
org.openrdf.query.impl.AbstractQuery
com.franz.agraph.repository.AGQuery
com.franz.agraph.repository.AGBooleanQuery
- All Implemented Interfaces:
- org.openrdf.query.BooleanQuery, org.openrdf.query.Operation, org.openrdf.query.Query
public class AGBooleanQuery
- extends AGQuery
- implements org.openrdf.query.BooleanQuery
Implements the Sesame BooleanQuery interface for AllegroGraph.
Method Summary |
boolean |
evaluate()
Evaluates the query and returns a boolean result. |
Methods inherited from class com.franz.agraph.repository.AGQuery |
analyze, getBaseURI, getBindingsArray, getEngine, getEntailmentRegime, getLanguage, getLimit, getName, getOffset, getPlanner, getQueryString, isCheckVariables, isLoggingEnabled, isPrepared, setCheckVariables, setEngine, setEntailmentRegime, setIncludeInferred, setLimit, setLoggingEnabled, setOffset, setPlanner, setPrepared, setSaveName, toString |
Methods inherited from class org.openrdf.query.impl.AbstractQuery |
getMaxQueryTime, setMaxQueryTime |
Methods inherited from class org.openrdf.query.impl.AbstractOperation |
clearBindings, getBindings, getDataset, getIncludeInferred, removeBinding, setBinding, setDataset |
Methods inherited from interface org.openrdf.query.Query |
getMaxQueryTime, setMaxQueryTime |
Methods inherited from interface org.openrdf.query.Operation |
clearBindings, getBindings, getDataset, getIncludeInferred, removeBinding, setBinding, setDataset, setIncludeInferred |
AGBooleanQuery
public AGBooleanQuery(AGRepositoryConnection con,
org.openrdf.query.QueryLanguage ql,
String queryString,
String baseURI)
- Creates an AGBooleanQuery instance for a given connection.
- Parameters:
con
- the connectionql
- the query languagequeryString
- the querybaseURI
- the base URI for the query
evaluate
public boolean evaluate()
throws org.openrdf.query.QueryEvaluationException
- Evaluates the query and returns a boolean result.
- Specified by:
evaluate
in interface org.openrdf.query.BooleanQuery
- Throws:
org.openrdf.query.QueryEvaluationException