Franz Inc, AllegroGraph

com.franz.agraph.jena
Class AGQuery

java.lang.Object
  extended by com.franz.agraph.jena.AGQuery

public class AGQuery
extends Object

The class of queries that can be posed to AllegroGraph via Jena.


Constructor Summary
AGQuery(QueryLanguage language, String queryString)
           
 
Method Summary
 QueryLanguage getLanguage()
           
 String getQueryString()
           
 boolean isCheckVariables()
          Gets the flag for checkVariables.
 void setCheckVariables(boolean checkVariables)
          A boolean that defaults to false, indicating whether an error should be raised when a SPARQL query selects variables that are not mentioned in the query body.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AGQuery

public AGQuery(QueryLanguage language,
               String queryString)
Method Detail

getLanguage

public QueryLanguage getLanguage()

getQueryString

public String getQueryString()

isCheckVariables

public boolean isCheckVariables()
Gets the flag for checkVariables.

Returns:
the checkVariables flag.

setCheckVariables

public void setCheckVariables(boolean checkVariables)
A boolean that defaults to false, indicating whether an error should be raised when a SPARQL query selects variables that are not mentioned in the query body.

Parameters:
checkVariables - the checkVariables flag.

Copyright © 2008-2010 Franz Inc.