Franz Inc, AllegroGraph

com.franz.agraph.repository
Class AGBooleanQuery

java.lang.Object
  extended by org.openrdf.query.impl.AbstractOperation
      extended by org.openrdf.query.impl.AbstractQuery
          extended by com.franz.agraph.repository.AGQuery
              extended by com.franz.agraph.repository.AGBooleanQuery
All Implemented Interfaces:
BooleanQuery, Operation, Query

public class AGBooleanQuery
extends AGQuery
implements BooleanQuery

Implements the Sesame BooleanQuery interface for AllegroGraph.


Field Summary
 
Fields inherited from class com.franz.agraph.repository.AGQuery
RDFS_PLUS_PLUS, RESTRICTION, SPARQL_COVERAGE_PLANNER, SPARQL_IDENTITY_PLANNER
 
Constructor Summary
AGBooleanQuery(AGRepositoryConnection con, QueryLanguage ql, String queryString, String baseURI)
          Creates an AGBooleanQuery instance for a given connection.
 
Method Summary
 boolean evaluate()
          Evaluates the query and returns a boolean result.
 
Methods inherited from class com.franz.agraph.repository.AGQuery
analyze, getBindingsArray, getEngine, getEntailmentRegime, getLanguage, getLimit, getName, getOffset, getPlanner, getQueryString, isCheckVariables, isPrepared, setCheckVariables, setEngine, setEntailmentRegime, setIncludeInferred, setLimit, 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 class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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
 

Constructor Detail

AGBooleanQuery

public AGBooleanQuery(AGRepositoryConnection con,
                      QueryLanguage ql,
                      String queryString,
                      String baseURI)
Creates an AGBooleanQuery instance for a given connection.

Parameters:
con - the connection
ql - the query language
queryString - the query
baseURI - the base URI for the query
Method Detail

evaluate

public boolean evaluate()
                 throws QueryEvaluationException
Evaluates the query and returns a boolean result.

Specified by:
evaluate in interface BooleanQuery
Throws:
QueryEvaluationException

Copyright © 2008-2012 Franz Inc.