Package com.franz.agraph.jena
Class AGQuery
java.lang.Object
com.franz.agraph.jena.AGQuery
The class of queries that can be posed to AllegroGraph via Jena.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintgetLimit()Gets the limit on the number of solutions for this query.intGets the offset, the number of solutions to skip for this query.booleanGets the flag for checkVariables.voidsetCheckVariables(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.voidsetLimit(int limit) Sets the limit on the number of solutions for this query.voidsetOffset(int offset) Sets the offset, the number of solutions to skip for this query.
- 
Constructor Details- 
AGQuery
 
- 
- 
Method Details- 
getLanguage
- 
getQueryString
- 
isCheckVariablespublic boolean isCheckVariables()Gets the flag for checkVariables.- Returns:
- the checkVariables flag
 
- 
setCheckVariablespublic 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
 
- 
getLimitpublic int getLimit()Gets the limit on the number of solutions for this query.- Returns:
- limit
 
- 
setLimitpublic void setLimit(int limit) Sets the limit on the number of solutions for this query.By default, the value is -1, meaning no constraint is imposed. - Parameters:
- limit- the new value of the limit
 
- 
getOffsetpublic int getOffset()Gets the offset, the number of solutions to skip for this query.- Returns:
- offset
 
- 
setOffsetpublic void setOffset(int offset) Sets the offset, the number of solutions to skip for this query.By default, the value is -1, meaning no constraint is imposed. - Parameters:
- offset- the new value of the offset
 
 
-